Jorgalad Posted April 8, 2018 Share Posted April 8, 2018 I'm guessing this is a simple one but it has me stuck for almost an hour now. I have two different velocity vectors: (setf dynamic-rh (vector-to-velocity 0.55 0.62 (gen-white-noise 10 :seed 122) :type :midi)) (setf dynamic-lh (vector-to-velocity 0.33 0.41 (gen-white-noise 10 :seed 67) :type :midi)) Which I want to combine/merge and plot, I've tried all sorts of stuff like this: (velocity-list-plot '(dynamic-lh dynamics-rh) :point-radius 2) (velocity-list-plot '((dynamic-lh) (dynamics-rh)) :point-radius 2) (velocity-list-plot (list(dynamic-lh dynamics-rh)) :point-radius 2) It's probably quite obvious, but I couldn't write Lisp to save my life.. Thank you in advance! Quote Link to comment Share on other sites More sharing options...
opmo Posted April 8, 2018 Share Posted April 8, 2018 There is an error in your code: the variable dynamics-rh should be dynamic-rh Example: (setf dynamic-rh (vector-to-velocity 0.55 0.62 (gen-white-noise 10 :seed 122) :type :midi)) (setf dynamic-lh (vector-to-velocity 0.33 0.41 (gen-white-noise 10 :seed 67) :type :midi)) (velocity-list-plot (list dynamic-lh dynamic-rh) :point-radius 2) Jorgalad 1 Quote Link to comment Share on other sites More sharing options...
Jorgalad Posted April 8, 2018 Author Share Posted April 8, 2018 Can't believe I didn't see that one, my syntax was also a bit off though. This works, Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.