This custom search works much better than the built in one and allows searching older posts.
|
|
70229 Members
40 Forums
144283 Topics
2092915 Posts
Max Online: 15252 @ 03/21/10 11:39 PM
|
|
|
#1670679 - 05/03/11 01:59 PM
Re: Weird RD-700NX/RD-300NX MIDI implementation
[Re: Epeios]
|
3000 Post Club Member
Registered: 12/07/09
Posts: 3974
Loc: Northern NJ
|
Is there, in fact, an error (hopefully, in the documentation) or did I miss something ? SYSEX address space is defined in three sections, kind of a shorthand that programming references often use: 1. Base, or start addresses: 00 00 00 00 System Base Address 10 00 00 00 Live Set Base Address 2. Primary address offsets: 00 00 00 System Common 00 02 00 System Compressor 00 03 00 System Favorite Live Set 00 04 00 System V-Link 00 05 00 System Switch Assign 00 00 00 Live Set Common 00 02 00 Live Set Song/Rhythm 00 04 00 Live Set Chorus 00 06 00 Live Set Reverb etc. 3. Secondary address offsets: (a bunch, see the manual) If you get your hands on an RD-700NX make sure it has the latest firmware or you won't get any responses via SYSEX.
|
|
Top
|
|
|
|
#1681558 - 05/20/11 11:40 AM
Re: Weird RD-700NX/RD-300NX MIDI implementation
[Re: Epeios]
|
Full Member
Registered: 03/28/11
Posts: 28
Loc: France
|
At p.9, there is :
* System
+------------------------------------------------------------------------------+
| Offset | |
| Address | Description |
|-------------+----------------------------------------------------------------|
| 00 00 00 | System Common |
| 00 02 00 | System Compressor |
| 00 03 00 | System Favorite Live Set <-- |
| 00 04 00 | System V-Link <-- |
| 00 05 00 | System Switch Assign |
+------------------------------------------------------------------------------+
You can see that the first 'System Favorite Live Set' parameter is at address '00 03 00' and the first 'System V-Link' parameter at '00 04 00'. There is also (same page): * System Favorite Live Set
+------------------------------------------------------------------------------+
| Offset | |
| Address | Description |
|-------------+----------------------------------------------------------------|
| 00 00 | 0aaa aaaa | One Touch Piano1 Current Number (0 - 127) |
| 00 01 | 0aaa aaaa | One Touch Piano2 Current Number (0 - 127) |
| 00 02 | 0aaa aaaa | One Touch Piano3 Current Number (0 - 127) |
| 00 03 | 0aaa aaaa | One Touch E.Piano1 Current Number (0 - 127) |
| 00 04 | 0aaa aaaa | One Touch E.Piano2 Current Number (0 - 127) |
| 00 05 | 0aaa aaaa | One Touch E.Piano3 Current Number (0 - 127) |
|-------------+-----------+----------------------------------------------------|
| 00 06 | 0000 00aa | Favorite1 - 40 Live Set Category (0 - 3) |
| | | One Touch Piano, One Touch E.Piano, Preset, User |
| # 00 07 | 0000 aaaa | |
| | 0000 bbbb | |
| | 0000 cccc | Favorite1 - 40 Live Set Number (0 - 299) |
| : | | |
| # 01 23 | | |
|-------------+----------------------------------------------------------------|
| 00 00 01 26 | Total Size <-- |
+------------------------------------------------------------------------------+ This means that the last address used by the 'System Favorite Live Set' parameters is '00 03 00' + '01 26' ('Total Size' on the end of the table) - 1 = '00 04 25'. This implies that address '00 04 00' is used for one of the 'System Favorite Live Set' parameter. But, as I point out below the 'System' table above, at address '00 04 00' is also the first address used by the 'System Favorite Live Set' parameters ! So, how can two different parameters use the same address ?
|
|
Top
|
|
|
|
#1681760 - 05/20/11 07:49 PM
Re: Weird RD-700NX/RD-300NX MIDI implementation
[Re: Epeios]
|
3000 Post Club Member
Registered: 12/07/09
Posts: 3974
Loc: Northern NJ
|
|-------------+----------------------------------------------------------------|
| 00 06 | 0000 00aa | Favorite1 - 40 Live Set Category (0 - 3) |
| | | One Touch Piano, One Touch E.Piano, Preset, User |
| # 00 07 | 0000 aaaa | |
| | 0000 bbbb | |
| | 0000 cccc | Favorite1 - 40 Live Set Number (0 - 299) |
| : | | |
| # 01 23 | | |
|-------------+----------------------------------------------------------------|
| 00 00 01 26 | Total Size <-- |
+------------------------------------------------------------------------------+ I think there might be a screw-up regarding the size. There are 40 Favorite Live Sets, each seems to require a Category (1 byte) and a Number (3 bytes) for a total of 4 bytes. So: 4 * 40 = 160 Add the starting offset of 6: 160 + 6 = 166 = 0xA6 I'm not super familiar with the whole live set thing so maybe I've got this wrong?
|
|
Top
|
|
|
|
#1681950 - 05/21/11 05:44 AM
Re: Weird RD-700NX/RD-300NX MIDI implementation
[Re: Epeios]
|
Full Member
Registered: 03/28/11
Posts: 28
Loc: France
|
This was my first thought too, but it's unfortunately wrong, and it has nothing to do with the live set thing. Actually, addresses are sent as MIDI data, and the MIDI protocol specifies that, for data, the 8th bit have to be at 0, (if the 8th bit is at 1, it's considered as a command). So, you have to jump, for example, from address '00 7F' to address '01 00', to skip all the '00 8x', '00 9x', ..., '00 Fx' addresses (128 values in total). Hence, you have effectively, as you wrote, 160 + 6 = 166 = 0xA6, but you have to add 0x80 (= 128) for the skipped addresses, to obtain the given '01 26' size value ...
|
|
Top
|
|
|
|
|
|