Synth Forum

Notifications
Clear all

Local control via Sysex

13 Posts
4 Users
2 Reactions
1,144 Views
Posts: 9
Active Member
Topic starter
 

Does anyone know how to switch local on off via sysex on yamaha cp4?
is there a way to do this operation programmatically?
Thanks

 
Posted : 12/10/2021 3:02 pm
Bad Mister
Posts: 12303
 

Does anyone know how to switch local on off via sysex on yamaha cp4?

F0 43 10 7F 1A 00 00 09 00 F7

F0 = Start of System Exclusive
43 = Yamaha Manufacturer ID
10 = Parameter Change, first device
7F 1A = CP4 Stage product ID

00 00 09 = Low, Mid, High Address for Local Control
00 = the Data Byte (Off)
F7 = End of System Exclusive

Change the Data Byte = 01 will turn Local Control back On

 
Posted : 12/10/2021 3:13 pm
Posts: 9
Active Member
Topic starter
 

It works!! Great thanks

 
Posted : 13/10/2021 11:45 am
Posts: 9
Active Member
Topic starter
 

Does it work even with cp 73? 

 
Posted : 22/08/2024 7:49 am
Jason
Posts: 8259
Illustrious Member
 

It's available but SysEx is very specific to each instrument and hardly ever similar between two instruments released by the same manufacturer.  Particularly in different generations.

 

CP4 (Source: CP4 Data List):

... this matches the discussion (leaves out the detail of the product ID portion which will also be different between these two instruments)

 

CP73 (Source: CP73 Owner's Manual):

 

... so you see the CP73 has an address of 20 00 09, not 00 00 09 like the CP4.

 

 

Here's the info to fill in the blanks of the CP73 bytes before the 20 00 09 address part (source: CP73 owner's manual):

 

So it should begin with F0 43 10 7F 1C 08

... followed by the address tuple: 20 00 09

 

and then ending with the same data/terminating F7 as the CP4 since the register itself (Local Switch) is defined the same although at a different address.

 

Current Yamaha Synthesizers: Montage Classic 7, Motif XF6, S90XS, MO6, EX5R

 
Posted : 22/08/2024 9:08 pm
daniele reacted
Jason
Posts: 8259
Illustrious Member
 

In case it wasn't clear.

 

CP4 Local Control Sysex

OFF: F0 43 10 7F 1A 00 00 09 00 F7

ON: F0 43 10 7F 1A 00 00 09 01 F7

 

CP88/73 Local Control Sysex

OFF: F0 43 10 7F 1C 08 20 00 09 00 F7

ON: F0 43 10 7F 1C 08 20 00 09 01 F7

 

... and yes, the stuff that comes before the address is one byte longer on the CP88/73 than the CP4 since now they take 3 bytes to identify a keyboard rather than 2.  None of this has any set standard.  "System Exclusive" means it's exclusive to that one system (device) that's being documented and could be totally different for any other device.

Current Yamaha Synthesizers: Montage Classic 7, Motif XF6, S90XS, MO6, EX5R

 
Posted : 22/08/2024 9:18 pm
daniele reacted
Posts: 9
Active Member
Topic starter
 

Thanks a lot !!!!!!!!!!!

 

 
Posted : 24/08/2024 7:36 pm
 Toby
Posts: 394
Honorable Member
 

Thanks a lot !!!!!!!!!!!

You might find it helpful to download the documentation for the instruments you are interested in. Enter CP4 in the search box and you get 

https://usa.yamaha.com/support/manuals/index.html?l=en&c=music_production&k=cp4

The Owner manuals are generally limited to a brief discussion of the instrument, the various front panel controls and each of the main features.

The Reference manuals would be the source for how to use the core functionality but it usually won't have the details of special things like MIDI or SysEx.

The Data List docs contain the tables of performances, arpeggios, effects and things. And it has the tables with the details of the Bulk Dump structures. Those tables have all of the address BYTE info you need to provide to either GET or SET specific types of data.

This is the prefix for the SysEx bytes the other responder provided

CP4 Local Control Sysex

OFF: F0 43 10 7F 1A

Refer to p.36 of the data list doc for the CP4 and at the to right you will see this:

(3-6-2-1) NATIVE PARAMETER CHANGE
11110000 F0 Exclusive Status
01000011 43 YAMAHA ID
0001nnnn 1n Device Number
01111111 7F Model ID
0******* ** Model ID CP4 STAGE: 1A, CP40 STAGE: 1B

See how the 'F0', '43', '7F' and '1A' match what the doc shows

Now for an important bit of info. Look at '10' in the example string that corresponds to the '1n Device Number' in the doc.

That 3-6-2-1 section is for 'PARAMETER CHANGE' - that is the structure you use when you want to SEND data to the instrument to change a parameter.

Now look at how the 'Device Number' is listed for the next three sections on the doc page:

Bulk Dump uses '0n'

Dump Request uses '2n'

Parameter Request uses '3n'

The example string uses '1n' because the string is to change a parameter.

You would use '3n' to receive the existing parameter value

And if you want a bulk dump you would use '0n' instead of '1n' and so on.

So you need to use '0n', '1n', '2n', or '3n' depending on which of the four actions you are taking.

Notice in the doc that the 'Parameter Change' section tells YOU how to provide the new value for the parameter.

But the 'Parameter Request' section just has the address and no 'Data' since it will return the data to you.

You might want to practice getting and setting a few parameters while things are fresh in your mind. The process works the same way for other instruments but the particular bytes will be different.

This post was modified 4 months ago by Toby
 
Posted : 24/08/2024 8:42 pm
Jason
Posts: 8259
Illustrious Member
 

Daniele would be more interested in the CP73 owner's manual.

 

Current Yamaha Synthesizers: Montage Classic 7, Motif XF6, S90XS, MO6, EX5R

 
Posted : 25/08/2024 9:45 pm
Jason
Posts: 8259
Illustrious Member
 

Daniele would be more interested in the CP73 owner's manual.

Current Yamaha Synthesizers: Montage Classic 7, Motif XF6, S90XS, MO6, EX5R

 
Posted : 25/08/2024 9:47 pm
 Toby
Posts: 394
Honorable Member
 

Daniele would be more interested in the CP73 owner's manual.

The link I provided gives access to ALL of Yamaha's products in their entire Music line.

 
Posted : 25/08/2024 11:10 pm
Jason
Posts: 8259
Illustrious Member
 

Earlier the forum was giving me errors posting (cloudfire or some such thing).  Looks like it double posted and now it doesn't let me delete one of the duplicates.   

 

At any rate, was just addressing the suggestion to search for CP4 along with other content as the earlier message (apparently) had a CP4 bias.

 

No biggie - generically there's some good stuff there.

Current Yamaha Synthesizers: Montage Classic 7, Motif XF6, S90XS, MO6, EX5R

 
Posted : 26/08/2024 1:52 am
 Toby
Posts: 394
Honorable Member
 

Sometimes it seems I just can't win! If I don't provide ALL of the detail and reasoning I get called out for it. Yet when I do I get my chain yanked for being too verbose.

At any rate, was just addressing the suggestion to search for CP4 along with other content as the earlier message (apparently) had a CP4 bias.

1. Maybe you didn't notice but the user that ask about the CP73 is the SAME USER that created the thread 3 years ago and ask about the CP4. 

2. In their latest question they asked about the CP73 - I have no way of knowing why they switched to CP73 or if they still have their CP4 or what their personal needs might be. But it is the same using asking about both.

3. Your last two posts had data from BOTH CP4 and CP73 docs and a SysEx example for both but didn't include any link/source for anyone to actually find and review the info for themselves. Not a dig - just stating facts.

4. I provided a link where ANYONE could find ALL of the docs for either of those two models or any other music product. I assumed it would be rather obvious to anyone using the link I provided how to get info for CP73 or other products.

I also provided detail about how that one teeny-tiny bit had to be changed depending on which of the four things you were getting/setting.

Where is the 'CP4 bias' in any of that? The user ask about CP4 and later ask about CP73. Now they, and anyone else, have the info, and the docs, they need for both of those instruments.

I call that being thorough - I don't see it as 'bias'. 

 
Posted : 26/08/2024 2:28 am
Page 1 / 2
Share:

© 2024 Yamaha Corporation of America and Yamaha Corporation. All rights reserved.    Terms of Use | Privacy Policy | Contact Us