[CM] spear <-> grace
Johannes Quint
johannes.quint at web.de
Tue Jul 6 11:48:15 PDT 2010
> sorry i dont understand what your problem actuall is -- are you
> saying you cant import data using 'import-spear-frames' ??
exactly. i convert in spear a wav-file to a text-file. i.e. your
clarinet-sample:
then, in sal:
variable clar = import-spear-frames("clarinet.txt")
loop for i from 0 to length(drum) - 1
loop for k from 1000 to 5000 by 500
for a = between(0.0001,0.0005)
spectrum-add!(drum[i],k,a)
end
end
now, i get in the console:
>>> Error: >= argument 1, 66,912064, is symbol but should be a real
the commas clarinet.txt...
when i convert them into dots, import-spear-frames works correctly.
the same vice versa: export-spear-frames creates dots and i have to
convert them into commas not to get an error in spear.
> if that is the case send me the spear data file you are trying to
> import and also the scheme or sal statement you are trying to use to
> load the data.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20100706/7b83e024/attachment-0002.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clarinet.txt
Url: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20100706/7b83e024/attachment-0001.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20100706/7b83e024/attachment-0003.html
More information about the Cmdist
mailing list