How to communicate with hacktribe via SysEx. #37
-
#30 @gradientledge asked:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
I use python and mido. In the hacktribe-editor repo there is e2sysex.py with functions for getting and setting patterns. As I add new SysEx features to hacktribe I will add functions to that script. I can't give helpful advice on Windows, I haven't used it in over a decade. |
Beta Was this translation helpful? Give feedback.
-
All SysEx messages defined in Electribe 2 Sampler MIDI Implementation. I've added SysEx functions for arbitrary read/write of CPU RAM and flash. The best way to use these is via e2sysex.py. This includes helper functions to get and set data such as groove templates and IFX presets. Writing these to the flash memory will be added in a later update. |
Beta Was this translation helpful? Give feedback.
-
on Linux i'm using sendmidi. |
Beta Was this translation helpful? Give feedback.
-
So I've started reading through that sampler midi implementation doc from Korg for a project Im working on and I've run into a few interesting things - I wonder if @bangcorrupt or @rafamj either of you may know about these? First off, the sampler doc is almost identical to the synth one, so pattern data for each part only has a field for "Oscillator Type": Also I can't see anywhere in the Global data dump fields where the oscillator/sample names for each slot number are - I guess Korg didnt bother to include that so @bangcorrupt I wonder if that something you may have access to and perhaps could add as a future sysex request-response, somewhat like you did for IFX? |
Beta Was this translation helpful? Give feedback.
-
If you get buffer overruns or error messages when trying to send pattern files, try installing https://github.com/bangcorrupt/mido and https://github.com/bangcorrupt/python-rtmidi. These will split long sysex messages into 512 byte chunks. Sending other MIDI messages while a split sysex message is transmitting can break transmission. |
Beta Was this translation helpful? Give feedback.
-
I have only put a delay every 512 bytes in my program. It seems that when the electribe is running it has no power to process de data. |
Beta Was this translation helpful? Give feedback.
I use python and mido. In the hacktribe-editor repo there is e2sysex.py with functions for getting and setting patterns. As I add new SysEx features to hacktribe I will add functions to that script.
I can't give helpful advice on Windows, I haven't used it in over a decade.