snu Posted December 21, 2022 Share Posted December 21, 2022 Hi Please, can anybody help me with my code? Why do I only get a c4 played and not the whole in score like in picture right? Or do I have to use setf lh and setf rh? Kind regards, snu Quote Link to comment Share on other sites More sharing options...
opmo Posted December 21, 2022 Share Posted December 21, 2022 Your expression is not correct. cmd-1 (setf lh '((c2c3 g3c4e4) (g3 d4))) Please use text (code) and not images for question like that. Quote Link to comment Share on other sites More sharing options...
snu Posted December 21, 2022 Author Share Posted December 21, 2022 Hi Thank you and sorry for the images. I didn't expressed clearly. Sorry for the confusion. In several examples I found the notes in the bass clef and the treble clef are alwas separated with for example "setf lh" and "setf rh". My question is, if this is the only way to get both clefs one above the other or is there an alternative expression? Kind regards, snu Quote Link to comment Share on other sites More sharing options...
opmo Posted December 21, 2022 Share Posted December 21, 2022 You need to assign voices to instruments. You do this with DEF-SCORE or PS. Quote Link to comment Share on other sites More sharing options...
Stephane Boussuge Posted December 24, 2022 Share Posted December 24, 2022 (setf rh '((h c4e4)(w d4f4a4))) (setf lh '((q c3 g3)(q g3 e3))) (ps 'gm :p (list rh lh) :tempo 64) Here's a short example. SB. Quote Link to comment Share on other sites More sharing options...
snu Posted December 25, 2022 Author Share Posted December 25, 2022 Thank you very much. Now I understand. PS is used for quick preview. Quote Link to comment Share on other sites More sharing options...
snu Posted December 27, 2022 Author Share Posted December 27, 2022 Hello I've tried the example in "Lesson 1. Creating and Processing a List" (Tutorials - Tutorial Guide) but I get an error message which I don't understand: Error: syntax error in (make-instrument . ): The call (make-instrument . ) does not match the definition (make-instrument name &body body &key span text ast omn omn-plist length pitch velocity channel port sound program volume pan tuning duration duration-add controllers). I get the same error message executing the example in "Lesson 2. Introducing OMN". There is no "make-instrument". What should I do? Kind regards, snu Quote Link to comment Share on other sites More sharing options...
Stephane Boussuge Posted December 27, 2022 Share Posted December 27, 2022 See attached video. S. TutoreplyForum.mov Quote Link to comment Share on other sites More sharing options...
snu Posted December 28, 2022 Author Share Posted December 28, 2022 Thank you very much. I've found the reason for the error when executing (after having copied) examples from the website. I deleted all the spaces inside def-score. It works. Kind regards, snu 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.