This is the right place if your topic concerns different Nord Keyboards, you are not sure which one is the right one for you, etc.

Program Reference Card Script

Postby cEgws » 03 Nov 2016, 16:47

Hi there!

I have written a Python script that converts the mostly-useless HTML program list output of Nord Sound Manager into a two-dimensional program reference card. I find this useful for my (new to me) Electro 4D. I posted this script earlier this week in the Electro forum, but since I have now enhanced it to also support the Stage 2, I thought I would post again separately in the general forum. The script produces an HTML file that you need to load in a web browser and print.

Hoping that this will be generally useful and can be improved by community effort, I have created a GitHub project for it. You can get the script and more details about what it does and how to use it from the GitHub page here: http://github.com/10x10sw/NordUser/tree/master/RefCard

I'll attach sample output for the NE4D and NS2, since pictures probably describe this better than words:
Attachments
ns2_example_refcard.png
ns2_example_refcard.png (385.74 KiB) Viewed 5217 times
ne4d_example_refcard.png
ne4d_example_refcard.png (482.21 KiB) Viewed 5217 times
DW-8000, DX7, ESQ-1, JD-990, MKS-70, TG77

The author cEgws was thanked by 5 members, including:
JohannesBerretjepablomastodonArjan PMr_-G-
cEgws
 
Posts: 45
Joined: 31 Oct 2016, 12:47
Country: United States of America
Has thanked: 8 times
Been thanked: 30 times
Your Nord Gear #1: Nord Electro 4

Program Reference Card Script


Sponsor
 

Re: Program Reference Card Script

Postby pablomastodon » 04 Nov 2016, 05:23

that's really sweet! thanks alot!
bun fyah weh fyah fi bun
User avatar
pablomastodon
Patch Creator
 
Posts: 4389
Joined: 30 Apr 2010, 20:45
Country: Jamaica
Has thanked: 1895 times
Been thanked: 1963 times
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Nord Wave

Re: Program Reference Card Script

Postby koloman » 05 Nov 2016, 23:42

I tried it out. In my case it showed a syntax error in the make_etc..py file from Your link(it said: print statement on line 214 needs parenthesis). I fixed it and put print (html) instead print html and now I have this nice program cards for my Nord Stage 2 for each bank. Very practical. Thank You very much.

The author koloman was thanked by:
cEgws
koloman
Patch Creator
 
Posts: 160
Joined: 12 Nov 2010, 13:10
Location: Stockerau, Austria near Capital Vienna
Country: Austria
Has thanked: 153 times
Been thanked: 80 times
Your Nord Gear #1: Nord Stage 2
Your Nord Gear #2: Nord Wave 2

Re: Program Reference Card Script

Postby ferranrobuste » 06 Nov 2016, 21:31

Sorry for my ignorance, but how can I use the script? I have the HTML program list output of Nord Sound Manager, but I don't know how to convert it...
Thank you very much!
ferranrobuste
 
Posts: 3
Joined: 18 Sep 2015, 20:55
Country: Spain
Has thanked: 0 time
Been thanked: 0 time
Your Nord Gear #1: Nord Stage 2

Re: Program Reference Card Script

Postby cEgws » 07 Nov 2016, 02:40

You need a Python interpreter (I am using Python 2.7). This is that's installed by default on Mac OS X and (I expect) Linux. For Windows, you need to install it yourself, probably from here: https://www.python.org/downloads/windows/

Open a terminal or command window in the folder where you have saved the script, and type this to run the script (I renamed my Program List HTML to "ne4d_program.html"):

python make_nord_refcard ne4d_program.html -v -r -t "Electro 4D" -o refcard.html

There is more information on the GitHub page: https://github.com/10x10sw/NordUser/tree/master/RefCard . Also, koloman pointed out that a small change is needed for Python 3 — I'll update the code on GitHub after I confirm that this is the only thing required for Python 3.
DW-8000, DX7, ESQ-1, JD-990, MKS-70, TG77

The author cEgws was thanked by:
pablomastodon
cEgws
 
Posts: 45
Joined: 31 Oct 2016, 12:47
Country: United States of America
Has thanked: 8 times
Been thanked: 30 times
Your Nord Gear #1: Nord Electro 4

Re: Program Reference Card Script

Postby ferranrobuste » 08 Nov 2016, 09:02

Thank you very much! I will try it this week.
ferranrobuste
 
Posts: 3
Joined: 18 Sep 2015, 20:55
Country: Spain
Has thanked: 0 time
Been thanked: 0 time
Your Nord Gear #1: Nord Stage 2

Re: Program Reference Card Script

Postby danielwolk » 13 Nov 2016, 19:44

cEgws ,

First version of refcard working fine on my Mac, but a new version is not working - I see this:

"make_nord_refcard.py", line 5
<!DOCTYPE html>
^
SyntaxError: invalid syntax"


what's wrong?

BTW - Could You write 'refcard' for Nord Lead A1? :thumbup:
Last edited by danielwolk on 13 Nov 2016, 19:54, edited 2 times in total.
danielwolk
 
Posts: 23
Joined: 09 Dec 2012, 16:17
Country: Poland
Has thanked: 17 times
Been thanked: 12 times
Your Nord Gear #1: Nord Electro 6
Your Nord Gear #2: Nord Lead A1

Re: Program Reference Card Script

Postby cEgws » 14 Nov 2016, 03:22

It looks to me as if you might have saved the GitHub web page, not the "raw" script. Please double-check. Here's the link to the raw source for the script:
https://raw.githubusercontent.com/10x10sw/NordUser/master/RefCard/make_nord_refcard.py
Please send me the program HTML file saved from NSM for the Nord Lead A1 and i'll see what I can do.
Last edited by cEgws on 14 Nov 2016, 04:25, edited 1 time in total.
DW-8000, DX7, ESQ-1, JD-990, MKS-70, TG77

The author cEgws was thanked by:
pablomastodon
cEgws
 
Posts: 45
Joined: 31 Oct 2016, 12:47
Country: United States of America
Has thanked: 8 times
Been thanked: 30 times
Your Nord Gear #1: Nord Electro 4

Re: Program Reference Card Script

Postby danielwolk » 14 Nov 2016, 20:38

Now working - thanks!
I sent You my A1. HTML files on private msg :idea:

The author danielwolk was thanked by 2 members, including:
pablomastodoncEgws
danielwolk
 
Posts: 23
Joined: 09 Dec 2012, 16:17
Country: Poland
Has thanked: 17 times
Been thanked: 12 times
Your Nord Gear #1: Nord Electro 6
Your Nord Gear #2: Nord Lead A1

Re: Program Reference Card Script

Postby cEgws » 15 Nov 2016, 22:39

I have updated the script to support the program and performance exports from Nord Lead A1. The updated script is available here:
https://raw.githubusercontent.com/10x10 ... refcard.py
DW-8000, DX7, ESQ-1, JD-990, MKS-70, TG77

The author cEgws was thanked by 3 members, including:
florenceBerretjedanielwolk
cEgws
 
Posts: 45
Joined: 31 Oct 2016, 12:47
Country: United States of America
Has thanked: 8 times
Been thanked: 30 times
Your Nord Gear #1: Nord Electro 4

Next

Return to General Nord Forum



Who is online

Users browsing this forum: Nordine and 34 guests