Re: while playing in sexpr.sal in Grace 1.0.2

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: while playing in sexpr.sal in Grace 1.0.2

by Heinrich Taube :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thank you for finding these, ill fix this in svn today and you can  
download the fixed tutorials from the download page

in the meantine:

define variable pi = 3.1415927, 2pi = 2 * pi

> print keynum( {{c4 e g} {d4 fs a} {e4 gs b}} )



the name is 'key':

print key( {{c4 e g} {d4 fs a} {e4 gs b}} )

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Parent Message unknown Re: scales.sal : scale doesn't work

by Heinrich Taube :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thank you for reporting this, it works here i bet i know what went  
wrong: there is an example in one of the tutorials that uses the name  
'scale', my bet is you did that tutorial and so it redefined the name  
scale. start a new version of grace and do this:

print scale(16, 60, 2, 1, 2, 2, 1, 2, 2)

{60 62 63 65 67 68 70 72 74 75 77 79 80 82 84 86}

there are a few other nits moving the tutorials and examples from  
common lisp to scheme that im fixing right now. since im teaching with  
the app this semseter ill be fixing things quickly: i shouild have  
another version of the app ready to download no later than next monday  
with the nits fixed, an also with a couple of big imporovements wrt  
running processes in non-realtime just like cm2.

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
LightInTheBox - Buy quality products at wholesale price!