244 |
|
some browsers like to add or delete filename extensions. this is good |
245 |
|
to check if you get "file not found" errors later. |
246 |
|
|
247 |
+ |
UPDATE: the "msplit" file is no longer required by default. |
248 |
+ |
|
249 |
|
you need not view these files, but keep in mind that in general the |
250 |
|
fitting does not succeed for every value of n. put another way, every |
251 |
|
file will have l values ranging exactly from 0 to 300, the upper limit |
797 |
|
our implementation the numbers at the beginning of these lines are |
798 |
|
unused, so we simply use "0". |
799 |
|
|
800 |
+ |
we also now make use of the capability of modefilter.pd to use an |
801 |
+ |
absolute number of frequency bins for downshifting, rather than |
802 |
+ |
downshifting by a multiplicative factor. this will no longer preserve |
803 |
+ |
the musical intervals between modes, but it will preserve the absolute |
804 |
+ |
frequency difference between them, making certain small differences |
805 |
+ |
audible. |
806 |
+ |
|
807 |
|
we have connected new receive objects to specify the sample rate, |
808 |
< |
downshift factor, and length of the output array. hence, the first |
808 |
> |
downshift, and length of the output array. hence, the first |
809 |
|
three lines of the qlist file could be |
810 |
|
|
811 |
|
samprate 8000; |
814 |
|
|
815 |
|
but one may still set these manually instead. the remaining global |
816 |
|
parameters, such as the instrument, whether or not to use averaged mode |
817 |
< |
parameters, and the length of the ramp used to generate the window, |
818 |
< |
still must be set manually if values other than the default are |
810 |
< |
desired. |
817 |
> |
parameters, and the length of the ramp used to generate the window, can |
818 |
> |
also be set in this way if values other than the default are desired. |
819 |
|
|
820 |
|
the remaining lines of the qlist file will take one of two forms. |
821 |
|
first, one provides a line for every mode they wish to add together. |
822 |
< |
these lines define a combination of day number, l, n, and m. the whole |
823 |
< |
list is sent as daylnm, which is then parsed by the new object |
824 |
< |
[parsedaylnm]. for example, one such line could be |
825 |
< |
|
826 |
< |
0 daylnm day 1216 l 1 n 18 m 1; |
827 |
< |
|
828 |
< |
which means to send the entire message "day 1216 l 1 n 18 m 1" to |
829 |
< |
daylnm. the elements of this message will be picked out two at a time |
830 |
< |
and used to send the 4 inputs needed. the first such line must specify |
831 |
< |
all 4 numbers, but subsequent lines need only specify changing values, |
832 |
< |
just as if you were using [modefilter] directly. the order is |
833 |
< |
unimportant. of course you may also manually enter any values that you |
834 |
< |
wish to remain constant before starting the sequence. when |
835 |
< |
[parsedaylnm] gets to the end of the message it received, it sends a |
836 |
< |
bang to startbang. |
822 |
> |
these lines define a combination of day number, l, n, m and width |
823 |
> |
multiplication factor. the whole list is sent as daylnm, which is then |
824 |
> |
parsed by the new object [parsedaylnm]. for example, one such line |
825 |
> |
could be |
826 |
> |
|
827 |
> |
0 daylnm day 1216 l 1 n 18 m 1 width 10; |
828 |
> |
|
829 |
> |
which means to send the entire message "day 1216 l 1 n 18 m 1 width 10" |
830 |
> |
to daylnm. the elements of this message will be picked out two at a |
831 |
> |
time and used to send the 5 inputs needed. the first such line must |
832 |
> |
specify at least the 4 required numbers, but subsequent lines need only |
833 |
> |
specify changing values, just as if you were using [modefilter] |
834 |
> |
directly. the order is unimportant. of course you may also manually |
835 |
> |
enter any values that you wish to remain constant before starting the |
836 |
> |
sequence. when [parsedaylnm] gets to the end of the message it |
837 |
> |
received, it sends a bang to startbang. |
838 |
|
|
839 |
|
next comes a single line telling where to put this combination of modes |
840 |
|
in the output array. for instance, the first such line would typically |