Skip to content
View in the app

A better way to browse. Learn more.

Learn more

gen-filter-change function question

Featured Replies

I would like to understand why if i express this function that way it works fine 

(gen-filter-change (vector-to-pitch '(g4 g5) (gen-white-noise 64 :seed 246))
 (vector-to-length 's 1 5 (gen-white-noise 32 :seed 456))
 (vector-to-velocity 'mp 'ff (gen-white-noise 122 )))
and if i do that 
(gen-filter-change '(gs4 e4 e4 d4 e4 gs4 d4 c4 fs4 gs4 e4 e4 c4 e4 gs4 d4 gs4 fs4 fs4 d4)
                   '(1/16 1/2 1/4 1/4) '(s e s s e)
                   '(mf mf mp ff mf mf mp mf ff mf mf f f mf mf mp ff mf f mp ff ff f
                     mp ff f f mp mf mp f ff f mf mf mf ff mf mp f ff f mf mp f f mf
                     ff f f mf f mp mf f ff f mp mf mf f ff f mf mp f mf mf mf mf mf
                     mf f mf mf f f ff mf f mf f mp f mf f mp f mf mf f mp mp mf mf mf
                     mf f ff f mf mp mp mf mf mf f mp f f f f f f f mf f mf mp mp f mp))
It doesn't work , why can't we enter velocities manually?
 
Thanks

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.