bures / sff2-tools

Command line tools for editing Yamaha SFF2 style files (for Tyros and PSR workstations)
MIT License
12 stars 3 forks source link

Sample working sty files #1

Open rnditdev opened 5 years ago

rnditdev commented 5 years ago

Hello, I've tried playing and converting a number of style files, none of them seem to work, do you have example files, or a repository of files known to work? Thanks.

markusthegeek commented 5 years ago

YAML export works great for me with original factory style from Genos.

I am running this in the Windows Ubuntu shell. Below are my installation notes. I actually had to comment out all print commands in __init__.py for some reason, always got SyntaxError: invalid syntax with Python 3.4 otherwise.

git clone https://github.com/bures/sff2-tools

sudo apt-get update sudo apt-get install python3-pip sudo pip3 install pyyaml sudo pip3 install construct==2.8.21 sudo apt-get install libasound2-dev sudo apt-get install libjack-dev
sudo pip3 install python-rtmidi

python3 sty2yml.py CalifornianCountry.T554.prs Cali.yml

bures commented 5 years ago

Great. Thanks for the instructions. The prints don't work because they require Python 3.5. However they are not needed anyway. So commenting them out and using it on Python 3.4 is fine too.

markusthegeek commented 5 years ago

Thanks, Thomas, awesome tools :-D So far I have not found any other tools that write SFF2 CASM format.

Greetings from LA to Praha, Markus

markusthegeek commented 5 years ago

I was able to compile executable files with pyinstaller. This works on both Linux and Windows and possibly also MacOS.

sudo pip3 install pyinstaller python3 -m PyInstaller --onefile sty2yml.py python3 -m PyInstaller --onefile yml2sty.py

Attached sty2yml.exe and yml2sty.exe for 64bit Windows. sff2-tools-windows-64bit.zip

CIRCE-EYES commented 3 years ago

I was able to compile executable files with pyinstaller. This works on both Linux and Windows and possibly also MacOS.

sudo pip3 install pyinstaller python3 -m PyInstaller --onefile sty2yml.py python3 -m PyInstaller --onefile yml2sty.py

Attached sty2yml.exe and yml2sty.exe for 64bit Windows. sff2-tools-windows-64bit.zip

Please Please ! Could you make an .exe of styplay and ymlplay, I cant use pyinstaller because error Thanks a lot !!!

bures commented 3 years ago

@markusthegeek - Excellent. Thanks.

CIRCE-EYES commented 3 years ago

@markusthegeek - Excellent. Thanks.

Sorry Markus, I have not been able to order the files correctly. Can you compile styplay. py and ymlplay. py PLEASE !

CIRCE-EYES commented 3 years ago

@markusthegeek - Excellent. Thanks.

Your sff2 tools can play any chord of any style. Yamaha Sty ?

I mean not only the CMaj7 factory base, but any other such as Csus, Cdim, etc etc. Sorry for this intrude, but im very interested in your code to work with . Sty files. Thanks

bures commented 3 years ago

@CIRCE-EYES - the play.py tools only approximate what you are going to hear from the keyboard when you upload the style there. The play tools don't handle any transposition based on selected chord, thus they don't have to understand the chords. You can create styles in any base, but the transposition of the style based on the selected chord is up to the keyboard.

CIRCE-EYES commented 3 years ago

Thanks Tomas for the information,

I thought I could create an application, for example a form full of buttons, each associated with an event, for example button 1 play Csus button 2 Cdim, etc etc, I have misinterpreted your code, I thought I could transpose the base style made in CMaj7 to any other chord, my intention was not to modify the style to load it on a keyboard. my intention was to play the style through buttons associated with chords.

I have almost finished an app made in vbnet, which triggers the Mains.

I send a screenshot. Thank you very much for answering !!!

CIRCE-EYES commented 3 years ago

MP-screen

Im using drywetmidi dll Melanchall

CIRCE-EYES commented 3 years ago

Anyway if someone could compile styplay.py and ymlplay.py to .exe I would be very happy. And greatefulllly Id like to test the possibilities of Tomas's program Thanks

CIRCE-EYES commented 3 years ago

yml-sty-players.zip

At least I get compile the players, but no luck using them. Give me errors on init.py