Author Topic: Print Genos MIDI Settings  (Read 1236 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael Trigoboff

Print Genos MIDI Settings
« on: April 14, 2023, 10:41:10 PM »
The Problem

The Genos allows you to have up to 10 user-edited MIDI "templates", each of which specifies MIDI settings for the Genos. You can view and edit these settings on the Genos touchscreen.

Since you can have only 10 user templates at a time, it's important to make sure you don't have templates that are essentially duplicates of each other. The template viewer is split up into a lot of separate pages, and this can make it extremely difficult to compare two of these MIDI templates and tell how different they may or may not be.

A Solution

The Genos allows you to save a set of up to 10 MIDI templates in a .msu file. You can do it on the Utility page described on p. 159 of the Genos Reference Manual.

It occurred to me that I could write code to read in a .msu file, and print out each of its MIDI templates as a text file. This would allow someone to look at all of the settings at once for each of the templates, which would make it much easier to compare templates with each other.

You can also use a diff utility like WinMerge, which can show you two text files side-by-side and hilite the differences between them.

I did it as a Jupyter Notebook, which is a very user-friendly way to combine code with the instructions for its use. (This is an example of literate programming, an idea invented quite a few decades ago by Stanford computer science professor Donald Knuth.)

You can follow this link to the Jupyter notebook. I hope it is self-explanatory. Please post any problems or bug reports to this thread.

I hope you will find it useful and enjoy it. I have received an enormous amount of help from folks on this forum, and I am happy to have the opportunity to contribute something in return.
« Last Edit: April 15, 2023, 08:02:55 AM by Michael Trigoboff »
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
 
The following users thanked this post: pjd

Re: Print Genos MIDI Settings
« Reply #1 on: April 16, 2023, 01:31:53 PM »
Thanks for your great contribution, Michael! I know we've always enjoyed your input - especially as you leverage your computer science skills.

I've never explored the MIDI side of the Genos, beyond trying to integrate it with Cubase. You've given me new hope. I'm explore this function in between stage functions, which are becoming more prevalent now that winter is over in Canada :)! Thanks again...

- Lee
"Learn" your music correctly, then "practice" it. Don't practice mistakes because you'll learn them.
 

Offline Michael Trigoboff

Re: Print Genos MIDI Settings
« Reply #2 on: April 17, 2023, 01:36:27 AM »
I finally got around to using my Jupyter notebook for its intended purpose, and discovered that two of my MIDI Templates differ from each other by just a single setting. It will be a cinch to combine them, and that will free up one of my ten slots. It would have been a pain to compare those two templates any other way I can think of.
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
 

Re: Print Genos MIDI Settings
« Reply #3 on: April 17, 2023, 02:55:24 AM »
Well done, Michael. As you know, there are several apps available that do bit by bit file comparisons that detect duplicate files on our computers. It's amazing how much drive space you can free up. You've achieved this on the Genos.
"Learn" your music correctly, then "practice" it. Don't practice mistakes because you'll learn them.