o_e Posted February 6, 2022 Share Posted February 6, 2022 Hi, When I run the following code I get a terrible latency between the voices. Do I miss something or is it a bug? Thanks! (setf pattern (gen-repeat 50 '(s e4 fs4 b4 cs5 d5 fs4 e4 cs5 b4 fs4 d5 cs5))) (setf tempo (mclist (gen-integer 10 70) (gen-repeat 100 1))) (def-score score1 ( :key-signature 'chromatic :time-signature '(1 4) :tempo tempo ) (inst1 :omn pattern :sound 'gm :channel 1 :program 0 :pan 127)) (def-score score2 ( :key-signature 'chromatic :time-signature '(1 4) :tempo tempo ) (inst1 :omn pattern :sound 'gm :channel 2 :program 12 :pan 1)) (progn (score-player 'score1) (score-player 'score2)) Quote Link to comment Share on other sites More sharing options...
opmo Posted February 6, 2022 Share Posted February 6, 2022 Possibly something to do with your midi setup. The SCORE-PLAYER is no an official OM function, it was written for Andre with all the limitations - pure hack Quote Link to comment Share on other sites More sharing options...
AM Posted February 6, 2022 Share Posted February 6, 2022 i am very thankful for the HACK. lisp is not a language for real-time things, but for me it suits the approximate simulation perfectly!! thanx janusz!! but: you can try out how it is not to evaluate everything at once, step by step, maybe then there will be less LATENCY? opmo 1 Quote Link to comment Share on other sites More sharing options...
o_e Posted February 6, 2022 Author Share Posted February 6, 2022 Thanks for the super quick answer! So you don't have latency? I've tried it both with Vienna Ensemble and GM-MIDI Player- same result @Andre: Can you explain what do you mean by evaluating step by step, please? Did you tried the example that I posted? Quote Link to comment Share on other sites More sharing options...
AM Posted February 6, 2022 Share Posted February 6, 2022 (edited) step by step => every code-line for itself cmd-E! i have also some LATENCY with conTimbre-player... but that's LISP in realtime the score player wasn't even intended to play things in parallel (i made a HACK from a HACK :-)). for precise POLYTEMPO things it is best to work via OSC and an external PLAYER (that's how I do it). I only need it in OPMO for sketching Edited February 6, 2022 by AM Quote Link to comment Share on other sites More sharing options...
o_e Posted February 6, 2022 Author Share Posted February 6, 2022 That evaluating one after the other def-score did the trick, thank you very much! I like these Conlon Nancarrow possibilities a lot Quote Link to comment Share on other sites More sharing options...
AM Posted February 6, 2022 Share Posted February 6, 2022 if you are interested, i could show you some SOFTWARE to calculate really special tempo curves, in a very handy way. just write me a PM.... 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.