The Official DSI/Sequential Forum

Sysex Librarian-Choose one patch, where does it go?

Sysex Librarian-Choose one patch, where does it go?
« on: September 19, 2017, 07:59:50 AM »
Hello guys! I am a new member so excuse my lack of knowledge here! I have 2 banks in my prophet (full). I want to add one more sound with the sysex librarian. How do I know, which patch it will replace?
Thanks!!

chysn

  • ***
  • 950
Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #1 on: September 20, 2017, 11:42:37 AM »
If there's no location selection, then it'll send data to the "edit buffer," which you can then save wherever you want from the Prophet's panel.
DSI: DSM03; previously: Mopho Keyboard, Desktop Mopho, Evolver, DSM01
Hardware: Eurorack, Arturia MicroBrute
Software: macOS, Ableton, MuseScore2
Modular Grid: https://www.modulargrid.net/e/racks/view/354385
GitHub: https://github.com/chysn

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #2 on: September 22, 2017, 03:16:36 PM »
Thanks!

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #3 on: September 24, 2017, 12:51:32 PM »
If there's no location selection, then it'll send data to the "edit buffer," which you can then save wherever you want from the Prophet's panel.

How do I disable location selection?  If I back up A01 with Sysex Librarian (dumped from P08) and reload it it always goes to A01. How do I get it to the spot I really want without overwriting what is in A01 in the process?

chysn

  • ***
  • 950
Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #4 on: September 25, 2017, 10:24:59 AM »
There are two kinds of single-voice data dump messages, the program data dump (which includes a bank and program number) and the buffer data dump (which does not include those things). To convert a program data dump to a buffer data dump, you need to do a couple things:

(Thing 1) Change the fourth byte, which is the command, from 02 to 03
(Thing 2) Remove the fifth and sixth bytes, which are bank and program, respectively

The rest of the message, including the data, remains the same. The message length will change from 446 bytes to 444 bytes (because of the two removed bytes).

Hope this helps.

Edit: Also, instead of using an edit buffer message, you can just change the destination of the program message. To do this, just change the fifth and sixth bytes to the bank and program that you want your sound to wind up in.
« Last Edit: September 25, 2017, 10:29:57 AM by chysn »
DSI: DSM03; previously: Mopho Keyboard, Desktop Mopho, Evolver, DSM01
Hardware: Eurorack, Arturia MicroBrute
Software: macOS, Ableton, MuseScore2
Modular Grid: https://www.modulargrid.net/e/racks/view/354385
GitHub: https://github.com/chysn

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #5 on: September 26, 2017, 02:46:56 AM »
Moinmoin,

only one thing to add/clarify regarding chysn's method:
Bank and Program number will have to be given as "value minus one", but if You can handle a hex-editor in order to change sysex-files, You will probably know that...

Martin

PS.: Description of MIDI-implementation including sysex-files in the P'08 user manual is exemplary good, valuable and complete.
« Last Edit: September 26, 2017, 02:52:03 AM by MartinM »

chysn

  • ***
  • 950
Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #6 on: September 26, 2017, 06:58:47 AM »
Good point, thank you.
DSI: DSM03; previously: Mopho Keyboard, Desktop Mopho, Evolver, DSM01
Hardware: Eurorack, Arturia MicroBrute
Software: macOS, Ableton, MuseScore2
Modular Grid: https://www.modulargrid.net/e/racks/view/354385
GitHub: https://github.com/chysn

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #7 on: September 28, 2017, 07:12:16 PM »
Ah...gotcha. I assumed there was a way to do it through the global menu (secret shortcut).

So let me make sure I understand. Each time I do a program dump via global menu, I need to open hex-edit and change the fourth byte from 0000 0010 to 0000 0011, delete bytes five and six, and save the Sysex file. Then when I transmit it with Sysex Librarian it will be in the buffer BUT in the location currently tuned to. Then I can save the preset.

Sysex is not my strongest.

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #8 on: September 28, 2017, 08:03:56 PM »
Worked like a champ. I'm a little bummed that name didn't carry over in buffer dump, but I can probably rename or assign directly to the slot in the hex editor as mentioned. Thanks guys.

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #9 on: September 29, 2017, 02:56:05 AM »
Moinmoin,

"assigning directly to the slot in the hex editor" may be a little bit tricky, as sysex-files do not feature the correct 8-bit data (384 bytes without header, as stated in the P'08 manual).
MIDI transmission always (including sysex) reserves the MSB for special purpose, so all 8-bit values have to be changed into 7-bit values with MSB reset, leaving only special commands (like "Start Sysex" = F0 and "End Sysex" = F7). How this is done is explained on page 54 ("packed data format") of the P'08 user manual.

Sorry, if the attached example is too techical, You may always hit the down arrow key...

First block is the 8-bit data (without header, bank and program, footer), resulting in 384 bytes.

24 31 34 00 01 18 33 32-00 01 01 00 05 00 00 03   $14...32........
1D 00 7F 01 FE 00 00 00-78 00 00 00 00 4C 12 00   .......x....L..
00 00 00 7F 00 9F 03 23-09 01 9F 03 7F 19 01 18   ......#.......
00 1E 0D 00 1C 00 2C 06-00 00 7F 00 00 00 00 00   ......,.........
00 09 9F 01 09 9D 05 09-40 0B 09 7F 21 00 00 00   .......@...!...
00 7F 00 7F 00 7F 00 7F-00 7F 00 5A 02 04 00 03   ...........Z....
00 00 00 01 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 3C 01-00 00 00 00 00 00 00 00   ......<.........
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-46 72 65 65 64 6F 6D 4A   ........FreedomJ
61 7A 7A 53 6F 75 6E 64-24 32 34 00 01 0C 32 32   azzSound$24...22
00 01 01 00 03 00 00 49-00 10 00 01 7F 00 00 00   .......I........
7A 7F 03 00 0A 23 2A 76-00 00 4C 7F 00 1C 00 2C   z....#*v..L....,
06 00 17 00 00 01 00 18-00 1E 0D 00 54 00 00 03   ............T...
00 01 93 00 00 00 67 21-0D 0D 83 09 0C 8E 16 0D   .....g!......
7F 00 00 7F 00 08 04 0A-00 93 01 7F 15 7F 00 7F   ...............
00 00 00 5A 06 02 04 03-04 02 00 01 00 00 00 00   ...Z............
00 00 00 00 00 00 00 00-00 00 00 00 00 07 48 00   ..............H.
00 13 1C 2A 7E 00 00 00-00 00 00 00 00 00 00 00   ...*~...........
00 2B 5D 00 4F 7E 00 00-00 00 00 00 00 00 00 00   .+].O~..........
0F 22 27 14 0D 00 00 7E-00 00 00 00 00 00 00 00   ."'....~........
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................


Second block is exactly the same patch as it will be transmitted via MIDI including header F0 (=start sysex) 01 (=DSI) 23 (=P'08) 02 (=patch in memory), bank/program (01 6C = 2/109), and footer F7 (=end of sysex), resulting in 446 bytes

F0 01 23 02 01 6C 00 24-31 34 00 01 18 33 00 32   .#..l.$14...3.2
00 01 01 00 05 00 40 00-03 1D 00 7F 01 7E 00 00   ......@......~..
00 00 78 00 00 00 00 00-4C 12 00 00 00 00 04 7F   ..x.....L.......
00 1F 03 23 09 01 01 1F-03 7F 19 01 18 00 00 1E   ...#............
0D 00 1C 00 2C 06 00 00-00 7F 00 00 00 00 48 00   ....,.........H.
00 09 1F 01 09 1D 00 05-09 40 0B 09 7F 21 00 00   .........@...!..
00 00 00 7F 00 7F 00 00-7F 00 7F 00 7F 00 00 5A   ...............Z
02 04 00 03 00 00 00 00-01 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 3C 00 01   .............<..
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 46 72 65 65 64 00 6F   .........Freed.o
6D 4A 61 7A 7A 53 00 6F-75 6E 64 24 32 34 00 00   mJazzS.ound$24..
01 0C 32 32 00 01 00 01-00 03 00 00 49 00 00 10   ..22........I...
00 01 7F 00 00 00 00 7A-7F 03 00 0A 23 2A 00 76   .......z....#*.v
00 00 4C 7F 00 1C 00 00-2C 06 00 17 00 00 00 01   ..L.....,.......
00 18 00 1E 0D 00 40 54-00 00 03 00 01 13 00 00   ......@T........
00 00 67 21 0D 0D 09 03-09 0C 0E 16 0D 7F 00 00   ..g!............
00 7F 00 08 04 0A 02 00-13 01 7F 15 7F 00 00 7F   ................
00 00 00 5A 06 02 00 04-03 04 02 00 01 00 00 00   ...Z............
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 07 48 00 00 13 00 1C-2A 7E 00 00 00 00 00 00   ..H.....*~......
00 00 00 00 00 00 00 00-2B 5D 00 4F 7E 00 00 00   ........+].O~...
00 00 00 00 00 00 00 00-00 0F 22 27 14 0D 00 00   .........."'....
00 7E 00 00 00 00 00 00-00 00 00 00 00 00 00 00   .~..............
00 00 00 00 00 00 00 00-00 00 00 00 00 F7         ............. 


Third block is exactly the same patch as it will be transmitted via MIDI including header F0 (=start sysex) 01 (=DSI) 23 (=P'08) 03 (=edit buffer), and footer F7 (=end of sysex), resulting in 444 bytes

F0 01 23 03 00 24 31 34-00 01 18 33 00 32 00 01   .#..$14...3.2..
01 00 05 00 40 00 03 1D-00 7F 01 7E 00 00 00 00   ....@......~....
78 00 00 00 00 00 4C 12-00 00 00 00 04 7F 00 1F   x.....L.........
03 23 09 01 01 1F 03 7F-19 01 18 00 00 1E 0D 00   .#..............
1C 00 2C 06 00 00 00 7F-00 00 00 00 48 00 00 09   ..,.........H...
1F 01 09 1D 00 05 09 40-0B 09 7F 21 00 00 00 00   .......@...!....
00 7F 00 7F 00 00 7F 00-7F 00 7F 00 00 5A 02 04   .............Z..
00 03 00 00 00 00 01 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 3C 00 01 00 00   ...........<....
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 46-72 65 65 64 00 6F 6D 4A   .......Freed.omJ
61 7A 7A 53 00 6F 75 6E-64 24 32 34 00 00 01 0C   azzS.ound$24....
32 32 00 01 00 01 00 03-00 00 49 00 00 10 00 01   22........I.....
7F 00 00 00 00 7A 7F 03-00 0A 23 2A 00 76 00 00   .....z....#*.v..
4C 7F 00 1C 00 00 2C 06-00 17 00 00 00 01 00 18   L.....,.........
00 1E 0D 00 40 54 00 00-03 00 01 13 00 00 00 00   ....@T..........
67 21 0D 0D 09 03 09 0C-0E 16 0D 7F 00 00 00 7F   g!..............
00 08 04 0A 02 00 13 01-7F 15 7F 00 00 7F 00 00   ................
00 5A 06 02 00 04 03 04-02 00 01 00 00 00 00 00   .Z..............
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 07   ................
48 00 00 13 00 1C 2A 7E-00 00 00 00 00 00 00 00   H.....*~........
00 00 00 00 00 00 2B 5D-00 4F 7E 00 00 00 00 00   ......+].O~.....
00 00 00 00 00 00 00 0F-22 27 14 0D 00 00 00 7E   ........"'.....~
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00-00 00 00 F7               ...........   


HTH

Martin

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #10 on: October 01, 2017, 01:58:27 AM »
I fully understand. Thanks for that!

chysn

  • ***
  • 950
Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #11 on: October 01, 2017, 06:59:31 AM »
Worked like a champ. I'm a little bummed that name didn't carry over in buffer dump, but I can probably rename or assign directly to the slot in the hex editor as mentioned. Thanks guys.

That's strange, I would have expected the name to be carried over from the dump. Live and learn!
DSI: DSM03; previously: Mopho Keyboard, Desktop Mopho, Evolver, DSM01
Hardware: Eurorack, Arturia MicroBrute
Software: macOS, Ableton, MuseScore2
Modular Grid: https://www.modulargrid.net/e/racks/view/354385
GitHub: https://github.com/chysn

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #12 on: October 01, 2017, 11:43:30 AM »
Yep. Me too.

I'll keep fooling with it, trying a few things, though I'm happy as a clam now putting single patches in the order that I want.

chysn

  • ***
  • 950
Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #13 on: October 01, 2017, 02:46:56 PM »
Yep. Me too.

I can't tell you whether it worked that way on my old Mopho or not. I hate naming patches, so they all wound up being called "Init".
DSI: DSM03; previously: Mopho Keyboard, Desktop Mopho, Evolver, DSM01
Hardware: Eurorack, Arturia MicroBrute
Software: macOS, Ableton, MuseScore2
Modular Grid: https://www.modulargrid.net/e/racks/view/354385
GitHub: https://github.com/chysn

Re: Sysex Librarian-Choose one patch, where does it go?
« Reply #14 on: October 02, 2017, 03:00:04 AM »
I have made a SysEx Librarian for the P08 and others which works in the Chrome browser.
It does all the 7Bit->8Bit tinkering MartinM explains automatically so you can rename your presets.
You can move them and delete them and also prelisten to the presets without overwriting your own banks (e.g. send them to the edit buffer). Maybe you like to check it out, it is free.