I did not reach today's goal.
✔️ MIDI CC
✔️ MIDI pitchbend
❌ MIDI beat clock
❌ MIDI start/stop
✔️ Spend 8 hours trying to figure out wtf is going on with sunvox MIDI input timing on Linux
❌ Figure out wtf is going on with it
@neauoire can you give me more detailed information about your sunvox setup? i have no idea why the JS/web version of orca has accurate timing for you with sunvox. nothing i did was able to make it have stable/accurate timing.
wire MIDI CC value directly to audio output device (normalized to -1..1)
controlling the frequency by BPM. set the BPM above 10000 to get it into audio range.
(bad quality due to having to run OBS and JACK at the same time to record it, and none of this stuff was designed to do this, haha)
Good news, though: it worked!
@neauoire are you around? how can I set up a sunvox thing like you had set up in your demos to me with the timing problems?
@neauoire orca-c doesn't attempt to elevate its scheduling priority, so if you're running a bunch of web browsers that are playing animations and multiple audio programs at the same time, the linux kernel is going to give very low priority to orca. it will basically treat it like a background process and possibly only run it a few times per second, vs thousands of times for the web browsers.
@neauoire i suspect what's happening is that you have too many processes running on your linux machine that want elevated/audio priority, and the cpu load is too high, and so the linux kernel is hardly ever scheduling the orca process, so it can't ever fire off its events with accurate timing.
@neauoire if you use 'nice' to boost the priority of the orca process, does the time jitter get less bad?
In the current (existing, old) orca-c code, it sends a MIDI note with velocity 1.
But I'm updating it to match the current orca JS behavior.
But the current orca JS behavior looks like it sends a MIDI note with velocity 0... which is actually a note off, which would be wrong, and generate incorrect MIDI output if there's no matching note on (which there probably isn't.)
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them. Check out our Patreon to see our donations.