mike
Converser
Posts: 6
|
Post by mike on Feb 8, 2024 9:23:36 GMT
Hello everybody, First post , first question As a total noob. I’m trying to do a simple script to convert note on message to send a sysex. according to Roland ( I’ve test the sysex and they are working ) the TR-8S and TR-6S actually can change variations via MIDI Sysex A: F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7 B: F0 41 10 00 00 00 45 12 20 10 00 41 00 02 0D F7 C: F0 41 10 00 00 00 45 12 20 10 00 41 00 04 0B F7 D: F0 41 10 00 00 00 45 12 20 10 00 41 00 08 07 F7 E: F0 41 10 00 00 00 45 12 20 10 00 41 01 00 0E F7 F: F0 41 10 00 00 00 45 12 20 10 00 41 02 00 0D F7 G: F0 41 10 00 00 00 45 12 20 10 00 41 04 00 0B F7 H: F0 41 10 00 00 00 45 12 20 10 00 41 08 00 07 F7 So how can I convert let’s say : note on C1 to send F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7 #this doesn’t work 🥲 If M0 == 1C SND F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7 END Thanks in advance Peace 🖖🏼
|
|
|
Post by redheronmusic on Feb 9, 2024 14:41:05 GMT
Note on message begins with 9x
If M0 == 90 1C SND F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7 END
And I have been looking for these codes for the TR-6S. Will test them myself.
|
|
|
Post by redheronmusic on Feb 9, 2024 16:45:37 GMT
I am guessing you are on a TR 8s.
For the 6s, looks like the 45 is replaced with 6D (to identify the different model). I am also seeing a 00 in later position vice 10
My Tr 6s is responding to
41 10 00 00 00 6D 12 20 00 00 41 xx yy cs
vice
41 10 00 00 00 45 12 20 10 00 41 xx yy cs
and they are encoding the selected variations in xx yy in the standard Roland four bit encoding as follows
xx = 0 0 0 V8 V7 V6 V5 yy = 0 0 0 V4 V3 V2 V1
00 01 selects variation 1 0F 0F selects all variations
Will have my rev 0 MIDI Designer layout posted in a few days.
|
|
mike
Converser
Posts: 6
|
Post by mike on Feb 9, 2024 20:33:01 GMT
Hello Oracle, thank you so much for your help. This is gonna be a game changer for my worflow. Finally my TR8s has a song mode 🥳✌️I can make a whole song with one pattern. I’m going to test it with a sequencer and give you some feedback. Thanks again for your time and your precise explanations , makes me wanna learn a bit more about coding 🤓👍
Kind regards
Michaël
|
|
mike
Converser
Posts: 6
|
Post by mike on Feb 10, 2024 9:32:50 GMT
Hello, I did try to send the sysex with C0 but it doesn’t work. To be sure of the midi note I use mfxConvert ( why no sysex destination 😭), So assuming my note on is 97 18 XX , I did this to call variation A with note C0 on the tr8s…, no luck 😓 #ERR If M0 == 97 18 XX SND F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7
END or If M0 == 97 18 01 SND F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7 END Maybe the byte is too long and I have to split it… Also my Midi device ID 17, don’t know if that count. I think coding is not for me after all 😂😂😂
|
|
|
Post by redheronmusic on Feb 10, 2024 14:46:56 GMT
Should be:
If M0 == 97 18 SND F0 41 10 00 00 00 45 12 20 10 00 41 00 01 0E F7 END You cannot test against the xx wildcard, it sort of happens automagically.
and you don't want to test against 97 18 01. 01 is the softest note you can theoretically play, and you want to catch ANY on note.
97 18 will catch any on value.
The ouput message is 16 bytes, which is the maximum length that can be sent in one line.
That should fix the SB issues.
If your DEV code is 17 instead of 10 (default), then change the 41 10 to 41 17
If it still does not work, try changing the 12 20 10 to 12 20 00 as I highlighted below.
I plan to have a MIDI Designer layout posted shortly to manage the variations for the TR 6s.
|
|
mike
Converser
Posts: 6
|
Post by mike on Feb 10, 2024 15:28:06 GMT
I don’t think that the script is the problem, when I send the Sysex from sysex librarian on my Mac it works but I can see it take some time for the bytes to be sent, when I send it from SB, Mozaic, looper Pro or touchosc, the TR8s receive a signal ( it wakes up ) but the variation is not changing, I think maybe it’s going to fast or something, I think the Tr IS the problem. I’ll try your script and will wait for your final midi designer layout and then adapt the sysex for my tr8s. Goodluck oracle
thank again for all your advices
|
|
|
Post by redheronmusic on Feb 12, 2024 15:52:42 GMT
Making progress on the MIDI Designer layout. Everything working, mostly just getting it cleaned up, UI more useful, and a few bugs smashed.
I believe the commands you listed at the beginning are ONLY for pattern 01-02. Your commands should work from any source, as long as pattern 01-02 is selected on the TR.
Appears you have to target the memory location for the selected pattern. Which means SB has to know which pattern is selected.
Second, the TR-6s actually enforces valid checksum - first time I have encountered this in a synth. Most Rolands seem to behave if the byte is present, doesn't have to be correct.
Good news is that all of this is doable in SB.
Got an idea to implement it in stand alone SB code for control from a keyboard - but that is going to take a few weeks.
|
|
|
Post by redheronmusic on Feb 28, 2024 13:11:38 GMT
The first release of the TR 6s / 8s remote control is now posted on the MIDI Designer QA site - mididesigner.com/qa/9975This layout relies on a quantity of SB code to do the heavy lifting of synchronizing the displays and remote control with the TRs.
|
|
mike
Converser
Posts: 6
|
Post by mike on Mar 30, 2024 7:11:04 GMT
WOW!!!! 🤩
|
|