im having some trouble with midi
I get this a lot:
aseqdump -l; aseqdump -p 16:0 Port Client name Port name 0:0 System Timer 0:1 System Announce 14:0 Midi Through Midi Through Port-0 16:0 MPK mini 3 MPK mini 3 MIDI 1 Cannot connect from port 16:0 - Resource temporarily unavailable
and then jack midi wont work as a consequence
so far i havent found a reliable way of getting out of the situation
except reboot which is a hassle
also it seems i can crash the child scsynt proces reliably by using the "buzz" synth
which is weird, the buzz synth doesnt look special
Lol. WRT buzz, I’ve experienced this too and looked back in some files and I see an annotation:
(synth/buzz) ;; segfault
Looking at the code, this looks like a very wrongly formed call to env-gen:
env (env-gen 1 1 0 1 2 (perc 0.01 (/ dur 1000)))
maybe the intention was
env (env-gen (perc 0.01 (/ dur 1000)) 1 1 0 1 2)
or, better,
env (env-gen (perc 0.01 (/ dur 1000)) :action FREE)oh, so im not the only one 🙂
@frankleonrose i tried your idea, and at least it doesnt crash, i can prepare a merge request for this
Sorry, I should have noted here that’s I’d https://github.com/overtone/overtone/pull/578 already.
ah, no worries, ill just delete min
i closed mine, and commented on yours instead
Im trying to make an interactive midi instrument, see https://gitlab.com/jave/sylt-core/-/blob/main/src/sylt/core.clj?ref_type=heads#L3035
while its not very good atm, what is the general opinion how to do this?
as you can see i just have 2 midi buttons switching up and down between defsynths from the overtone synth.clj instruments
so in the best of worlds this would make it easy to interactively play with the canned synths in overtone
one thing that makes this not super straightforward is that each synth has its own interface, like either :freq or :note
currently no attemtp is made at managing :note-off either
now a note off attempt is managed