News:

PsrStyles.com
- Download Styles and Expansion Packs

Main Menu

Transitioning Genos1 MIDI Setups To Genos2

Started by Michael Trigoboff, January 09, 2024, 04:09:17 AM

Previous topic - Next topic

Michael Trigoboff

This Jupyter notebook that I created will allow you to view or print out the contents of a Genos1 .msu file. It might be helpful for transitioning to Genos2.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

Bill

Hi Michael

I am virtually finished creating a new MIDI template from scratch, however for interest I did try your program, however when I tried running it, it asks me to login with my Google account. Why is this please.

Bill
England

Current KB:  YAMAHA GENOS 2

Michael Trigoboff

You are being asked to log in because the Jupyter notebook is running on Gogle's servers, and that's what Google wants. It's Google that's asking you to log in, not me.

Given that Google is doing the hosting free of charge, this seems reasonable to me.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

Bill

Hi Michael

many thanks for a quick response. 

Bill
England

Current KB:  YAMAHA GENOS 2

Bill

Hi Michael

Ran your program a couple of times and it appeared to work, however when the complete zip file was unzipped there was only a folder with nothing in it.

Genos File: MIDIG1old.msu

Traceback (most recent call last):
  File "/content/genos_midi_settings/print_gms.py", line 264, in <module>
    ret_str = print_genos_midi_settings(sys.argv[1], sys.argv[2])
  File "/content/genos_midi_settings/print_gms.py", line 238, in print_genos_midi_settings
    settings = MIDISettings(genos_file_name, settings_bytes)
  File "/content/genos_midi_settings/print_gms.py", line 92, in __init__
    self.name = settings_name_bytes.decode('ascii').rstrip('\x00')

UnicodeDecodeError: 'ascii' codec can't decode byte 0xfe in position 24: ordinal not in range(128)
  adding: MIDIG1old.msu.settings/ (stored 0%)


Regards
Bill
England

Current KB:  YAMAHA GENOS 2

Michael Trigoboff

Did you go through each step in order? It only works if you do that.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

Bill

Hi Michael

Many thanks for replying. Yes I completed all steps. I will try again in the morning.

Bill
England

Current KB:  YAMAHA GENOS 2

Michael Trigoboff

Bill,

Can you provide a download link for the MSU file?
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

Michael Trigoboff

I just checked the Jupyter notebook against some of my test cases and it worked just fine.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

Bill

Hi Michael

I tried the program again this morning with 2 recent files and it did not work, however I searched my archives and found another MSU and ran with that one.  It worked perfectly and I could see all the Data in the text file.

I can only assume that the two that I tried did not actually have any USER setups inside possible just the standard one.

Many thanks for your help and more importantly Patience.

Bill
England

Current KB:  YAMAHA GENOS 2

Michael Trigoboff

I would still be happy to test my software against the files it failed with, if you would like to make them available for download.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22