Welcome to the Piano World Piano Forums
Over 2.5 million posts about pianos, digital pianos, and all types of keyboard instruments
Join the World's Largest Community of Piano Lovers (it's free)
It's Fun to Play the Piano ... Please Pass It On!

SEARCH
Piano Forums & Piano World
What's Hot!!
Posting Pictures on the Forums
-------------------
Forums RULES & HELP
-------------------
ADVERTISE on Piano World
(ad)
Piano Tuning
How to Tune Pianos
(125ad)
Piano Life Saver - Dampp Chaser
Dampp Chaser Piano Life Saver
(ad)
Piano Buyer Guide
Piano Buyer Spring 2017
(ad)
4th Finger Enigma Resolved!
Schumann's 4th Finger Enigma Resolved!
Who's Online Now
57 registered members (AWilley, AZNpiano, ando, AprilE, 18 invisible), 1,754 guests, and 1 spider.
Key: Admin, Global Mod, Mod
(ad)
Estonia Pianos
Estonia Pianos
Quick Links to Useful Piano & Music Resources
Our Classified Ads
Find Piano Professionals-

*Piano Dealers - Piano Stores
*Piano Tuners
*Piano Teachers
*Piano Movers
*Piano Restorations
*Piano Manufacturers

Quick Links:
*Advertise On Piano World
*Free Piano Newsletter
*Online Piano Recitals
*Piano Recitals Index
*Piano & Music Accessories
*Live Piano Venues
*Music School Listings
* Buying a Piano
*Buying A Acoustic Piano
*Buying a Digital Piano
*Pianos for Sale
*Sell Your Piano
*How Old is My Piano?
*Directory/Site Map
*Virtual Piano
*Music Word Search
*Piano Videos
*Virtual Piano Chords & Scales
Previous Thread
Next Thread
Print Thread
#1670582 - 05/03/11 11:32 AM Weird RD-700NX/RD-300NX MIDI implementation  
Joined: Mar 2011
Posts: 28
Epeios Offline
Full Member
Epeios  Offline
Full Member

Joined: Mar 2011
Posts: 28
France
I'm currently writing some C++ libraries and programs which handle parameters of Roland instruments using MIDI SysEx messages. It works for the V-Piano and the VK-77. I am now working on the RD-700NX, so I downloaded on Roland's website the file named 'RD-700NX_MI2.pdf' for the MIDI implementation of this device.
According to this document, the first 'System Favorite Live Set' parameter is at address '00 00 03 00' , and the last one at address '00 00 04 25'. But the first 'System V-Link' parameter is at address '00 00 04 00', so it will be at the same address that one of the 'System Favorite Live Set' parameter ! And almost the same goes for the RD-300NX.
I own neither of this 2 devices, so I can't make further investigations.
Is there, in fact, an error (hopefully, in the documentation) or did I miss something ?


V-Piano
YouTube : http://www.youtube.com/user/Panopeus/
WEB site : http://zeusw.org/ (French), http://zeusw.org/intl/ (~English)
eRISM (http://zeusw.org/intl/erism), to manage settings of Roland instruments.
(ad) ROLAND

Click Here

#1670608 - 05/03/11 12:11 PM Re: Weird RD-700NX/RD-300NX MIDI implementation [Re: Epeios]  
Joined: Sep 2007
Posts: 13,250
Kawai James Offline
Yikes! 10000 Post Club Member
Kawai James  Offline
Yikes! 10000 Post Club Member

Joined: Sep 2007
Posts: 13,250
Hamamatsu, Japan
Surely one to ask dewster?

James
x


Employed by Kawai Japan, however the opinions I express are my own.
Nord Electro 3 fan & occasional rare groove player.
#1670679 - 05/03/11 01:59 PM Re: Weird RD-700NX/RD-300NX MIDI implementation [Re: Epeios]  
Joined: Dec 2009
Posts: 4,675
dewster Offline
4000 Post Club Member
dewster  Offline
4000 Post Club Member

Joined: Dec 2009
Posts: 4,675
Northern NJ
Originally Posted by Epeios
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.

#1681558 - 05/20/11 11:40 AM Re: Weird RD-700NX/RD-300NX MIDI implementation [Re: Epeios]  
Joined: Mar 2011
Posts: 28
Epeios Offline
Full Member
Epeios  Offline
Full Member

Joined: Mar 2011
Posts: 28
France
At p.9, there is :

Code
* 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):

Code
* 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 ?


V-Piano
YouTube : http://www.youtube.com/user/Panopeus/
WEB site : http://zeusw.org/ (French), http://zeusw.org/intl/ (~English)
eRISM (http://zeusw.org/intl/erism), to manage settings of Roland instruments.
(ad)
Piano & Music Accessories
piano accessories music gifts tuning and moving equipment
#1681760 - 05/20/11 07:49 PM Re: Weird RD-700NX/RD-300NX MIDI implementation [Re: Epeios]  
Joined: Dec 2009
Posts: 4,675
dewster Offline
4000 Post Club Member
dewster  Offline
4000 Post Club Member

Joined: Dec 2009
Posts: 4,675
Northern NJ
Code
|-------------+----------------------------------------------------------------|
|       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?

#1681950 - 05/21/11 05:44 AM Re: Weird RD-700NX/RD-300NX MIDI implementation [Re: Epeios]  
Joined: Mar 2011
Posts: 28
Epeios Offline
Full Member
Epeios  Offline
Full Member

Joined: Mar 2011
Posts: 28
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 ...




V-Piano
YouTube : http://www.youtube.com/user/Panopeus/
WEB site : http://zeusw.org/ (French), http://zeusw.org/intl/ (~English)
eRISM (http://zeusw.org/intl/erism), to manage settings of Roland instruments.

Moderated by  Piano World 

Piano Acc. & Gift Items in
Piano World's Online Store
In PianoSupplies.com ,(a division of Piano World)
our online store for piano and music gifts and accessories, Digital Piano Dolly, party goods, tuning equipment, piano moving equipment, benches, lamps Caster Cups and more.


Free Shipping* on Jansen Artist Piano Benches, Cocoweb Piano Lamps, Hidrau Hydraulic Piano Benches
(*free shipping within contiguous U.S. only)
(ad)
Pearl River & Ritmuller
Ritmuller Pianos
(ad)
Pianoteq
PianoTeq 6 Out now
(ad)
Lindeblad Piano
Lindeblad Piano Restorations and sales
ad
Pierce Piano Atlas


New Topics - Multiple Forums
Can I Run Roland RD700nx Through Stereo Speakers?
by ClsscLib. 10/20/17 09:19 PM
Improve your sight reading series
by Scottswald. 10/20/17 06:34 PM
Piano with a harpsichord lever?
by Upex. 10/20/17 06:26 PM
Forum Statistics
Forums44
Topics182,406
Posts2,666,087
Members89,007
Most Online15,252
Mar 21st, 2010
(ad)
Accu-Tuner
Sanderson Accu-Tuner
Check It Out!
There's a lot more to Piano World than just the forums.
Click Here to
Explore The Rest of Piano World!!
Visit our online store for gifts for music lovers


 
Help keep the forums up and running with a donation, any amount is appreciated!
Or by becoming a Subscribing member! Thank-you.
Donate   Subscribe
 
Our Piano Related Classified Ads
| Dealers | Tuners | Lessons | Movers | Restorations | Pianos For Sale | Sell Your Piano |

Advertise on Piano World
| Subscribe | Piano World | PianoSupplies.com | Advertise on Piano World |
| |Contact | Privacy | Legal | About Us | Site Map | Free Newsletter |


copyright 1997 - 2017 Piano World ® all rights reserved
No part of this site may be reproduced without prior written permission
Powered by UBB.threads™ PHP Forum Software 7.6.0