Author Topic: Sysex commands for changing styles from a computer SOLVED!!  (Read 914 times)

0 Members and 1 Guest are viewing this topic.

Offline madoues

Sysex commands for changing styles from a computer SOLVED!!
« on: February 15, 2022, 10:24:57 PM »
Hi,

I own a PSR-S910 but I suppose this question could apply to all models of PRSs.
When playing live, it takes too long to find the style needed for a song and then entering it on the keyboard.

I use Mobilesheets for my charts and it is able to send midi commands that are pre-programmed by the user.
It is then sent to the keyboard via midi when the song is loaded.
So the goal is to find which commands to send for each style that will be used.
I have tried two that I found in this forum, and they both work fine.
However, trying other commands by incrementing the two hex numbers used for style does not work.

So my question is: does anyone have a table that lists the styles (for PSR-S910 in my case)
that includes the corresponding sysex commands to send for each style I wish to choose to play?

Sincerely,
Dan
« Last Edit: February 20, 2022, 09:55:00 PM by madoues »
 

Offline ckobu

Re: Sysex commands for changing styles from a computer
« Reply #1 on: February 15, 2022, 10:30:32 PM »
Hi Dan
use MixMaster to check the sysex data sent by your keyboard.

https://youtu.be/EmR7WAjjKVI

Offline madoues

Re: Sysex commands for changing styles from a computer
« Reply #2 on: February 15, 2022, 11:50:57 PM »
Thanks for your reply, ckobu.

Hi Dan
use MixMaster to check the sysex data sent by your keyboard.

https://youtu.be/EmR7WAjjKVI

That is not working for me. Yes, I see all the commands that are sent internally to different parts of the PSR.
But NONE of them refers to the style, it is the opposite that is happening. Pressing a style command generates codes for the different parts of the PSR to be set to play this particular style, voices, effects, tempo, etc. There is no need for the PSR to generate a sysex for a style, because this is accomplished by the player pressing a style button, not by the PSR itself.

I know that sysex commands to switch to a particular style does exist because I have tried two of them and they work.

F0 43 73 01 51 05 00 03 04 00 00 dd dd F7   = this is the format, where "dd dd" corresponds to the style

F0 43 73 01 51 05 00 03 04 00 00 10 11 F7   = Ballroom - Viennese Waltz, found on this forum

F0 43 73 01 51 05 00 03 04 00 00 00 00 F7  = Party Polka, also found on this forum

I was just lucky to find those two commands on this forum, but entering other data where the style number sits has not worked for me.


So I am wondering if anyone has either generated a table with style names and corresponding sysex style numbers, or
found a table already made.

Sincerely,
Dan

 

Offline ckobu

Re: Sysex commands for changing styles from a computer
« Reply #3 on: February 16, 2022, 09:50:43 AM »
Try reading sysex strings using the Mobilesheets app as shown in this part of the video
https://youtu.be/83KSbB5H-_8?t=114
Watch my video channel
 

Offline daleSP

Re: Sysex commands for changing styles from a computer
« Reply #4 on: February 16, 2022, 11:43:34 PM »
@madoues (Dan):

Unfortunately there is no documentation provided by Yamaha which lists the "style number" associated with each style on the keyboard.

However, here are two posts which provide the "roadmap" to creating such a list for your keyboard.
https://www.psrtutorial.com/forum/index.php/topic,54307.msg424051.html#msg424051
https://www.psrtutorial.com/forum/index.php/topic,48497.msg380267.html#msg380267

Basically, you need a list of the styles and their associated style numbers (in decimal). Usually, someone has already done the hard work of identifying these style numbers so that they can be used in the various utilities (e.g., Mixmaster) which need them. See the PSR Tutorial website https://psrtutorial.com/util/index.html for the various utilities provided by their developers.

Then you need a way to convert the decimal values into the corresponding hex values required by the Sysex command. See the second post above. A big "Thank You" to @tyrosaurus for this spreadsheet.

So with a bit of text editing and spreadsheet work, you will be able to create the table you need for your keyboard.

Have fun !
Dale
 
The following users thanked this post: overover

Offline murrayb

Re: Sysex commands for changing styles from a computer
« Reply #5 on: February 17, 2022, 07:46:23 PM »
Dan:

Here's a list of style codes for the S910 I used in YRM.

Murray

https://www.dropbox.com/s/ea47tjlkb5yfy4i/S910%20Styles.xlsx?dl=0
One can do without most things, but not without the pleasure of music.

Check out my Registration Manager at:  http://psrtutorial.com/util/best.html
 
The following users thanked this post: john-s

Offline madoues

Re: Sysex commands for changing styles from a computer
« Reply #6 on: February 19, 2022, 02:38:10 AM »
Much thanks for your reply murrayb!

I'll download the program and give that a try!

Can those numbers be used outside of YRM as sysex,
or only via YRM?

Dan

 

Offline murrayb

Re: Sysex commands for changing styles from a computer
« Reply #7 on: February 19, 2022, 01:43:21 PM »
Dan

Those are the numbers  you have  to change  to hex to be placed in the system command

Murray
One can do without most things, but not without the pleasure of music.

Check out my Registration Manager at:  http://psrtutorial.com/util/best.html
 

Offline overover

Re: Sysex commands for changing styles from a computer
« Reply #8 on: February 19, 2022, 03:40:40 PM »
Dan

Those are the numbers  you have  to change  to hex to be placed in the system command

Murray

Hi Murray,

Can you recommend an "easy" method to change the decimal style numbers into the required two byte (MSB/LSB) hexadecimal numbers?


Best regards,
Chris
They always said: "This is not possible!"  Then someone came and - just did it!

Never put the manual too far away.  There's more in it than you think!
 

Offline murrayb

Re: Sysex commands for changing styles from a computer
« Reply #9 on: February 19, 2022, 09:51:22 PM »
Chris:

There is no easy way to do the conversion, so I wrote a little bit of code in YRM to update the linked listing to contain the hex codes that the keyboard will recognize.

I couldn't find an equal routine in Excel to produce the correct coding.

If anyone needs these codes for any of the other keyboards that are part of YRM, let me know.

Cheers,

Murray
One can do without most things, but not without the pleasure of music.

Check out my Registration Manager at:  http://psrtutorial.com/util/best.html
 

Offline daleSP

Re: Sysex commands for changing styles from a computer
« Reply #10 on: February 20, 2022, 05:06:49 PM »
Hi Chris, Murray:

In the following thread, @tryosaurus posted an Excel spreadsheet which does the conversion from decimal to the two hex values (MSB/LSB) needed for the Style sysex command. Examining the spreadsheet will reveal the formula used.
https://www.psrtutorial.com/forum/index.php/topic,48497.msg380267.html#msg380267

Offline madoues

Re: Sysex commands for changing styles from a computer
« Reply #11 on: February 20, 2022, 09:54:09 PM »
IT WORKS!!!!!

Thank you, thank you, ckobu,Dale, Chris  and Murray!!!

I've included the excel sheet as an attachment for anyone else using the PSR-S910
and wanting to change styles remotely via midi sysex.

Dan

BTW:  I used Bome SendSX to test it. Works like a charm: https://www.bome.com/products/sendsx
 
The following users thanked this post: john-s