Re: midiMessageRecieved values for modulators

Home Forums General Programming midiMessageRecieved values for modulators Re: midiMessageRecieved values for modulators

#4420
Cramp
Participant
  • Topics: 11
  • Replies: 66
  • Total: 77
"atom":1bb7xnkh wrote:
You are mixing two things, program data and controller data. Program data is what you get from the device if you request a program dump, a big blob of memory that describes the device state, it’s usualy a big SysEx message, this is what’s happening on the Virus TI panel.

You need to read the manual for the device, and find the section for Program Dumps or Bulk Dumps or something similar, and see how the data is structured there.[/quote:1bb7xnkh]

thanks Atom
I read the manual and founf the following – Patch (Program) Dump Request. And it is devided into 2 sections:

[quote:1bb7xnkh][b:1bb7xnkh]1. Patch Dump Request from Slot (Message Type $30)[/b:1bb7xnkh]
And it says that when the patch request message below is recieved by Nord Lead 3, it will reply by sending a Patch Dump of Message Type $20 (from Slot). Nord Lead 3 Slots are assigned to MIDI Channel. So Nord Lead 3 has four MIDI channels on output. Total number of slot is 4

Byte (Hex) – Description
$F0 – System Exclusive
$33 – Manufacture ID (Clavia)
<Device ID> $00-$7F – selected Device ID for the specific instrument, 1 -127, All (what is that mean??)
$09 – Model ID for Nord Lead 3
$30 – Message Type specifies dump request source. $30 – from Slot
$00-$04 – Message Specification specifies the requested Slot: $00-$03 = Slot A-D. $04 – Active Slot.
$00 – Spare. Always set to $00
$F7 – End of System Exclusive
[b:1bb7xnkh]
PROGRAM DUMP TO/FROM SLOT (MESSAGE TYPE $20)[/b:1bb7xnkh]
Byte (Hex) – Description
$F0 – System Exclusive
$33 -Manufacturer ID (Clavia)
<Device ID> $00-$7F – selected Device ID for the specific instrument, 1-127, All
$09 -Model ID for Nord Lead 3
$20 -Message Type specifies dump source. $20 = from Slot
$00 to $04 -Specifies the source Slot: $00-$03 = Slot A-D. $04 = Active Slot.
$00 -Spare. Always set to $00
<Program Name> – Program Name. Max 16 characters long. Zero terminated if less than 16 char- acters.
$00 (x 16) – 16 spare Bytes for future expansion. Always set to $00.
<Version MSB> – Most significant 7 bits of version number.
<Version LSB> – Least significant 7 bits of version number.
<Patch Data 1> – See page 156. (There is a big table which shows controls like OSC, Lfo and etc – Link to PDF [url:1bb7xnkh]https://dl.dropbox.com/u/4202790/docs/Clavia_NordLead3_Manual_v1.2.pdf[/url:1bb7xnkh])
<Patch Data 2>
<Patch Data 3>
:
<Patch Data 210>
$F7 – End Of System Exclusive

[b:1bb7xnkh]2. Patch Dump Request from Memory Location (Message Type $31)[/b:1bb7xnkh]
And it says that when the patch request message below is recieved by Nord Lead 3, it will reply by sending a Patch Dump of Message Type $21 (from Memory Location)

Byte (Hex) – Description
$F0 – System Exclusive
$33 – Manufacturer ID (Clavia)
<Device ID> – $00-$7F selected Device ID for the specific instrument, 1-127, All
$09 – Model ID for Nord Lead 3
$31 – Message Type specifies dump request source. $31= from memory location
$00-$07 – Message Specification specifies the requested Bank (1-8)
$00-$7F – Message Specification specifies the requested memory location (1-128)
$F7 – End Of System Exclusive

[b:1bb7xnkh]PROGRAM DUMP TO/FROM MEMORY LOCATION (MESSAGE TYPE $21)[/b:1bb7xnkh]
Byte (Hex) – Description
$F0 – System Exclusive
$33 – Manufacturer ID (Clavia)
<Device ID> – $00-$7F -selected Device ID for the specific instrument, 1-127, All
$09 – Model ID for Nord Lead 3
$21 – Message Type specifies dump source. $21= from memory location
$00-$07 – Specifies the source Bank 0-8
$00 to $7F – Message Specification specifies the source memory location 1-128
<Program Name> – Program Name. Max 16 characters long. Zero terminated if less than 16 char- acters.
$00 (x 16) – 16 spare Bytes for future expansion. Always set to $00.
<Version MSB> – Most significant 7 bits of version number.
<Version LSB> – Least significant 7 bits of version number.
<Patch Data 1> – See page 156. (There is a big table which shows controls like OSC, Lfo and etc – Link to PDF [url:1bb7xnkh]https://dl.dropbox.com/u/4202790/docs/Clavia_NordLead3_Manual_v1.2.pdf[/url:1bb7xnkh])
<Patch Data 2>
<Patch Data 3>
:
<Patch Data 210>
$F7 – End Of System Exclusive

and in the end

[b:1bb7xnkh]ALL CONTROLLERS REQUEST (MESSAGE TYPE $40)[/b:1bb7xnkh]

This message instructs Nord Lead 3 to send all current MIDI Controller values for a specified Slot.
This message can also be transmitted from the Nord Lead 3 by using the ‘Send MIDI Controllers’ function described on page 121.
Byte (Hex) – Description
$F0 – System Exclusive
$33 – Manufacturer ID (Clavia)
<Device ID> – $00-$7F selected Device ID for the specific instrument, 1-127, All
$09 – Model ID for Nord Lead 3
$40 – Message Type specifies All Controllers Request.
$00-$04 – Specifies the requested Slot: $00-$03 = Slot A-D. $04 = Active Slot.
$F7 – End Of System Exclusive
[b:1bb7xnkh]
PROGRAM FORMAT[/b:1bb7xnkh]
In the Program Dump Messages, the Data Bytes contain the actual Program settings.
• The patch data is viewed as a bit stream where the different parameters only use as many bits as necessary for their actual format. All parameters are oriented with the most significant bit first. An 8-bit checksum is calculated over the entire data block and stored as the last 8 bits of the file. The checksum is calculated by adding all data Bytes together. Since a MIDI SysEx data Byte can only contain 7 bits, the bit stream is 8 to 7 bit converted to fit the MIDI format.
• A complete Patch (Program) Dump, including SysEx header and data, is transmitted in 261 Bytes. See page 156. (There is a big table which shows controls like OSC, Lfo and etc – Link to PDF [url:1bb7xnkh]https://dl.dropbox.com/u/4202790/docs/Clavia_NordLead3_Manual_v1.2.pdf[/url:1bb7xnkh])
[/quote:1bb7xnkh]
Please could you help define what actual values need to be used in midiMessageRecieved LUA script?

Many thanks in advance
Ilnaz

Ctrlr