overtone

Joakim Verona 2024-11-12T08:19:07.611999Z

im having some trouble with midi

Joakim Verona 2024-11-12T08:19:21.677669Z

I get this a lot:

Joakim Verona 2024-11-12T08:19:22.489089Z

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

Joakim Verona 2024-11-12T08:19:35.775829Z

and then jack midi wont work as a consequence

Joakim Verona 2024-11-12T08:19:52.331869Z

so far i havent found a reliable way of getting out of the situation

Joakim Verona 2024-11-12T08:25:12.707289Z

except reboot which is a hassle

Joakim Verona 2024-11-12T10:09:52.806709Z

also it seems i can crash the child scsynt proces reliably by using the "buzz" synth

Joakim Verona 2024-11-12T10:10:08.364229Z

which is weird, the buzz synth doesnt look special

frankleonrose 2024-11-12T18:34:39.722669Z

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)

Joakim Verona 2024-11-12T19:19:50.879829Z

oh, so im not the only one 🙂

Joakim Verona 2024-11-13T12:10:37.921169Z

@frankleonrose i tried your idea, and at least it doesnt crash, i can prepare a merge request for this

Joakim Verona 2024-11-13T12:17:44.129249Z

https://github.com/overtone/overtone/pull/579

frankleonrose 2024-11-13T18:40:00.461559Z

Sorry, I should have noted here that’s I’d https://github.com/overtone/overtone/pull/578 already.

Joakim Verona 2024-11-13T18:41:32.457519Z

ah, no worries, ill just delete min

Joakim Verona 2024-11-13T18:43:13.447409Z

i closed mine, and commented on yours instead

Joakim Verona 2024-11-12T20:37:29.235559Z

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

Joakim Verona 2024-11-12T20:38:24.592459Z

while its not very good atm, what is the general opinion how to do this?

Joakim Verona 2024-11-12T20:39:28.007199Z

as you can see i just have 2 midi buttons switching up and down between defsynths from the overtone synth.clj instruments

Joakim Verona 2024-11-12T20:40:40.978789Z

so in the best of worlds this would make it easy to interactively play with the canned synths in overtone

Joakim Verona 2024-11-12T20:42:41.560489Z

one thing that makes this not super straightforward is that each synth has its own interface, like either :freq or :note

Joakim Verona 2024-11-12T20:43:25.405809Z

currently no attemtp is made at managing :note-off either

Joakim Verona 2024-11-14T07:48:04.799819Z

now a note off attempt is managed

plexus 2024-11-12T05:06:03.552859Z

https://ravenation.club/@etherdiver/113466652386476214

❤️ 1
🤘 3