MC707 / MC101

documenting roland file formats

Re: documenting roland file formats

6 Dec 2024, 13:38
I looked at the MC-101 file format before, and I took a quick look at the files that you published.

My understanding is: There is a close relationship between the MIDI sysex dumps and the file format. The file format uses 8 bits (octets). MIDI only supports 7 bits. Roland addresses this issue on most recent devices by encoding octets into two nibbles (4 bits).

I assume that you can accelerate the process by using the MIDI reference, and by merging two consecutive nibbles. In some cases, the might be "reserved" fields in both the file format, for example for alignment reasons.

Re: documenting roland file formats

7 Dec 2024, 13:00
xp30 wrote:

My understanding is: There is a close relationship between the MIDI sysex dumps and the file format. The


Do you know hoy can I make that sysex dump ? I wasn't aware the mc 101 can do that

Re: documenting roland file formats

7 Dec 2024, 14:36
enorrmann wrote:
Do you know hoy can I make that sysex dump ? I wasn't aware the mc 101 can do that
First: I forgot that Roland has not published the MIDI implementation for the MC-101 and MC-707. Fortunately, the format is identical to other Zen-Core products. You can for example use the MIDI implementation document for the Fantom-0. For example, in https://github.com/enorrmann/roland-file-formats/blob/main/drum_kit_svz_group_1.txt you apparently documented the Drum Kit Partial. If you look at the format of Drum Kit Partial in the Fantom-0 MIDI implementation document, then you can see "Chorus Send Level" between "Pan" and "Reverb Send Level". You can also see that Instrument Number, Instrument Bank, Instrument Group ID (sample) and Level are appearing before "Pan".

Second: Yes, the MC-101 supports sysex dumps. Roland has not published the documentation. Unfortunately, there is also a bug in the implementation, which makes it a bit more complicated to use. More specifically, the address part in the responses from the MC-101 are incorrectly encoded.

If you want to query specific parameters via MIDI sysex dumps, then I can give you the specific MIDI message, and make an example about the incorrectly encoded addresses in the responses.

Re: documenting roland file formats

7 Dec 2024, 17:33
xp30 wrote:
enorrmann wrote:
Do you know hoy can I make that sysex dump ? I wasn't aware the mc 101 can do that
If you want to query specific parameters via MIDI sysex dumps, then I can give you the specific MIDI message, and make an example about the incorrectly encoded addresses in the responses.
that would be awesome ! if I can test with some parameter, lets say, wave 1 bank or wave 1 number for the clip 1 on the track one (oir channel, I'm not sure if the requests are per channel or clip or what) and the response, then I can try to infer the rest
thank you !

Re: documenting roland file formats

8 Dec 2024, 04:04
enorrmann wrote:
that would be awesome ! if I can test with some parameter, lets say, wave 1 bank or wave 1 number for the clip 1 on the track one (oir channel, I'm not sure if the requests are per channel or clip or what) and the response, then I can try to infer the rest
Here is an example. I created a new project, change sound source for track 1 to clip, and loaded the first drum kit into the first clip.

The following data request (RQ1=0x11) requests the DRUM KIT COMMON fragment for the DRUM KIT of the first clip of the first track, which uses the address 32 10 00 00.
F0 41 10  00 00 00 5E  11  32 10 00 00  00 00 00 19  00 F7
The MC-101 responds with a data set (DT1=0x12) response, with the address 06 44 00 00.
F0 41 10  00 00 00 5E  12  06 44 00 00  54 52 2D 38 30 38 20 32 20 20 20 20 20 20 20 20 00 00 00 09 78 06 04 08 00  5E F7
The format of the response is documented in the Fantom-0 MIDI implementation (look for Drum Kit Common). You can see that it starts with a name, and if you decode the hex into ASCII, it is the name of the first drum kit (TR-808 2). The drum kit consists of multiple fragments. They are documented in the section [Drum Kit]. You only need to add the corresponding offsets to the address 32 10 00 00.

If it would be implemented correctly, then the address in the response should match the address in the request. It looks like there is an implementation error, and the response address is incorrectly encoded (some error in the conversion between 7-bit and 8-bit). By looking at the bit representation, you can see that the addresses are similar, and just shifted by some positions.

32 10 00 00 - 00110010 00010000 00000000 00000000
06 44 00 00 - 00000110 01000100 00000000 00000000

Re: documenting roland file formats

9 Dec 2024, 17:14
xp30 wrote:
You only need to add the corresponding offsets to the address 32 10 00 00.
awesome stuff
where did you find that 32 10 00 00 is the address of first clip of the first track ? can't find anything about clips on fantom's docs

Re: documenting roland file formats

10 Dec 2024, 02:58
enorrmann wrote:
where did you find that 32 10 00 00 is the address of first clip of the first track ? can't find anything about clips on fantom's docs
The MC-101 and Fantom-0 share a lot of technology, so that many object formats are identical. However, the addresses are not. By looking at the Fantom-0 documentation, you can get an idea about the organization of the address space, and many addresses are easy to guess.

It would be much simpler if Roland would just publish the MIDI implementation document for the MC-101.

← Back to MC707 / MC101