Author |
Message |
seanwayland
Joined: Jan 29, 2007 Posts: 21 Location: new york
G2 patch files: 1
|
Posted: Tue Apr 01, 2008 8:58 pm Post subject:
keyboard mapping Subject description: remap midi notes of keyboard |
 |
|
Hi there all ,
I want to remap the notes of my G2 . Ideally I could save different "scales" as patches and change between them. I can do it with " midi patchbay" , but it is crude and requires me to bring my computer to the gig . It would be great to do it on the nord . I installed the "scala" and was impressed. Excellent work . I dont really want to detune each note microtonally . I want to want notes " all over the place " to my specification .
"
I was just informed by Manuel Op De Coul, the author of Scala, that there is another type of Scala file, ".kbm", which specifies the keyboard mapping. This helps explain why the .scl files do not specify a mapping at all. My G2X keyboard doesn't even go below MIDI Note Number 12 (C which is 4 octaves below middle C), unless I am mistaken. Perhaps modifying scalaG2.py to take a .kbm file as an argument might address the usability vs. resource issue? Then we can avoid the problem of resources being unnecessarily wasted on the tuning block. As always, thank you for your efforts! "
This is posted below . Ideally I would like to be able to convert a midi file ( with my scale ) to be played over the entire keyboard . Please reply thanks .
www.seanwayland.com |
|
Back to top
|
|
 |
ian-s

Joined: Apr 01, 2004 Posts: 2672 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
|
Back to top
|
|
 |
sean wayland
Joined: Mar 30, 2008 Posts: 8 Location: new york
G2 patch files: 3
|
Posted: Wed Apr 02, 2008 3:58 pm Post subject:
g2 note reassign |
 |
|
thanks ian ,
I will look into it . I am Australian. What's with the wonbat ? Where's the kiwi ?
sean |
|
Back to top
|
|
 |
sean wayland
Joined: Mar 30, 2008 Posts: 8 Location: new york
G2 patch files: 3
|
Posted: Wed Apr 02, 2008 4:55 pm Post subject:
thanks Subject description: G2 |
 |
|
its working ,
thanks a bunch Ian ....
www.seanwayland.com |
|
Back to top
|
|
 |
ian-s

Joined: Apr 01, 2004 Posts: 2672 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
Posted: Wed Apr 02, 2008 5:12 pm Post subject:
Re: g2 note reassign |
 |
|
sean wayland wrote: | thanks ian ,
I will look into it . I am Australian. What's with the wonbat ? Where's the kiwi ?
sean |
I like wombats, such noble beasts.  |
|
Back to top
|
|
 |
TEMAS
Joined: Mar 20, 2007 Posts: 69 Location: London
G2 patch files: 6
|
Posted: Wed Dec 03, 2008 8:56 am Post subject:
|
 |
|
Hi.
I've been trying to create a G2 patch file that will play a scala tuning file in the hope that I can play scales on the G2 with unusual tuning, but I am having no luck in trying to make it work. Here's what I have tried:
The G2SCL.pch2, scalaG2.py and nm2g2.py files are inside the G2ools-1.5 folder, which is located in the Applications folder of my Macintosh HD.
If the scala file I'm trying to convert is called "Test.scl" and I open a Terminal window and type:
./scalaG2.py Test.scl
I get the response:
No such file or directory
I've never used Python files or Scala files or even the Terminal window for that matter, so this is all quite complex to me.
Can anyone help with this? |
|
Back to top
|
|
 |
TEMAS
Joined: Mar 20, 2007 Posts: 69 Location: London
G2 patch files: 6
|
Posted: Wed Dec 03, 2008 10:18 am Post subject:
|
 |
|
Ok, not to worry (for now). I think I've worked it out and appear to have converted my first file. Haven't tried it on the Nord yet.
The problem was that I hadn't located the g2ools-1.5 folder from the Terminal window. Once I was in the folder I typed the same command prompt and a new .pch2 file was made created. |
|
Back to top
|
|
 |
Electromagnetic Wave

Joined: Apr 28, 2013 Posts: 305 Location: Kebek
G2 patch files: 38
|
Posted: Mon Sep 02, 2013 11:59 pm Post subject:
|
 |
|
Hi!
I try this too with no luck. This is what I do:
-windows XP PRO x84
-python-3.3.2
-g2ools-1.5
1. put the "scalaG2.py", "G2SCL.pch2", and "pythagorean.scl" in the g2ools-1.5 folder
2. open a shell (cmd)
3. located the g2ools-1.5 folder from the Terminal windows (cd C:\.....)
4. in the shell I write : scalaG2.py pythagorean.scl
After, I got this message :
"File "F:\...\G2\g2ools-1.5\scalaG2.py", line 62
print head
^
SyntaxError: invalid syntax"
Is it because I use python-3.3.2 ?
Thanks you for your help |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24392 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Tue Sep 03, 2013 9:13 am Post subject:
|
 |
|
Electromagnetic Wave wrote: | Is it because I use python-3.3.2 ? |
Likely so - the tools started their life on some version 2 Python.
2.5 IIRC.
Anyway, seem similar issues using python 3 where 2 was expected. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Electromagnetic Wave

Joined: Apr 28, 2013 Posts: 305 Location: Kebek
G2 patch files: 38
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24392 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Wed Sep 04, 2013 1:58 am Post subject:
|
 |
|
Great :-) _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Electromagnetic Wave

Joined: Apr 28, 2013 Posts: 305 Location: Kebek
G2 patch files: 38
|
Posted: Sat Sep 07, 2013 7:33 pm Post subject:
|
 |
|
Can I use the Scala G2 tool patch (.phc2) for interbus slot patching ? Control the pitch on a synth to another slot ?
Not working with a "NoteSend" module linked to another slot. I tried this too :
Slot1
The output cable from the Mix1-1A1 in a new "2 outputs" module (Left In) and the gate from the "Keyboard1" module in the "2 outputs" module (Right In). I select BUS 3/4 on the "2 outputs" module.
Slot2
On the synth slot I create a new "2 Inputs" module. Select Bus 3/4. Left side go to "pitch oscilator in" and right side go to the envelope AMP gate.
The pitch move like a lfo or legato mode when I play keyboard. Can I have to convert the signal before to connect it in the OSC pitch input ?
EDIT : I cleaned the patch above to make it clear. I just need a tip to dig to understand the problem. Is it an issue about interslot (DSP) latency that I can fix with a delay? Or an issue about the amplitude from the signal ?
Description: |
|
Filesize: |
226.65 KB |
Viewed: |
2952 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |

|
Description: |
|
Filesize: |
92.88 KB |
Viewed: |
2972 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |

|
Description: |
Attempts to use a scala (microtuning) patch on another slot |
|
 Download (listen) |
Filename: |
ScalaInterslot12.prf2 |
Filesize: |
7.48 KB |
Downloaded: |
6211 Time(s) |
|
|
Back to top
|
|
 |
Electromagnetic Wave

Joined: Apr 28, 2013 Posts: 305 Location: Kebek
G2 patch files: 38
|
Posted: Wed Jan 08, 2014 5:22 pm Post subject:
|
 |
|
It seems that my problem is related to the polyphony. Because everything work fine in mono.
I want to understand something else. How to increase the resolution :
Quote: | The tuning resolution at this point is 0.7874 cents, or 1 semitone / 128. The program could adaptively increase the resolution depending on the requirements of the scale. For example, all the 12 tone scales seem to only require 1 bit for the coarse frequency so these could get 0.01220 cent accuracy if required. |
http://www.electro-music.com/forum/post-113571.html#113571
Quote: | In practice the internal frequency resolution of the G2 is 0.0057 Hz.. |
http://rhordijk.home.xs4all.nl/G2Pages/Signallevels.htm#Signallevels_5319_999210
I made several attempts without success.
-I hadded a "level amplifier" after the "Mixer 1-1A" to reduce the signal.
-I added a third row of "SeqCtr" modules and I replaced the "Mix 1-1A" for a "Mix 2-1A" to mix the signal.
-I tried to divide the output signal from the "Mix 1-1A".
Happy new year everyone!!! |
|
Back to top
|
|
 |
varice

Joined: Dec 29, 2004 Posts: 961 Location: Northeastern shore of Toledo Bend
Audio files: 29
G2 patch files: 54
|
Posted: Thu Jan 09, 2014 2:49 am Post subject:
|
 |
|
Electromagnetic Wave wrote: | Happy new year everyone!!! |
Happy New Year!!!
Electromagnetic Wave wrote: | Can I use the Scala G2 tool patch (.phc2) for interbus slot patching ? Control the pitch on a synth to another slot ?...
Not working with a "NoteSend" module linked to another slot...
|
Electromagnetic Wave wrote: | It seems that my problem is related to the polyphony. Because everything work fine in mono... |
I resisted replying to your question back then. I was hoping that you would eventually realize that the G2 buss can only pass one signal value at a time, while the Scala modules in the polyphonic VA will produce a unique pitch offset value for each voice.
Electromagnetic Wave wrote: | ...I want to understand something else. How to increase the resolution... |
Yes, it appears that the pitch inputs of the oscillators quantize the signal to the nearest 1/128 of a semitone, even though the G2 system can produce control (pitch) signals much finer than that.
But, the G2 oscillators with an FM input can produce finer pitches in between this limit if you patch a pitch control signal into the FM input. I use this trick to get a very fine pitch detune that cannot otherwise be produced by just setting the Cent knob alone.
So with clever patching of pitch control signals into the FM inputs of capable oscillator modules, you should be able to get a much finer pitch offset than can be had by patching the Scala module signals into the oscillator pitch inputs.
Too bad that not all G2 oscillator modules have an FM input though  _________________ varice |
|
Back to top
|
|
 |
Electromagnetic Wave

Joined: Apr 28, 2013 Posts: 305 Location: Kebek
G2 patch files: 38
|
|
Back to top
|
|
 |
Electromagnetic Wave

Joined: Apr 28, 2013 Posts: 305 Location: Kebek
G2 patch files: 38
|
Posted: Fri Jan 10, 2014 8:58 am Post subject:
|
 |
|
I was wrong. The pitch is controlled from the Osc1, not from the Osc2. It works.
Now I want to talk about the filter. When using a non-conventional scale (or just by changing the Master Tune in the System setting) the filter is not in harmony with the oscillator pitch.
The Equal Tempered
Chromatic Scale
(where Concert A = 440 Hz)
C4 = 261.63 Hz
C#4 = 277.18
D4 = 293.66
D#4 = 311.13
E4 = 329.63
F4 = 349.23
F#4 = 369.99
G4 = 392.00
G#4 = 415.30
A4 = 440.00
A#4 = 466.16
B4 = 493.88
The filter values (Hz) from C4 to B4 :
261.6, 277.2, 293.7, 311.1, 329.6, 349.2, 370, 392, 415.3, 440, 466.2, 493.9
Now when I use another scale, the filter stay in the Tempered Chromatic Scale
But... With the G2SCL.pch2 I can build a a filter that is representative of the scale I use. I patch a pitch control signal into the FM input from a "Ftl Nord" module. Next, I insert a "Constant Value" module and I patch the 1st cable from the "LevAdd2" module into the "Constant Value" module. To fix each step to the right Hertz into the "Sequencer Controlled" module, I use a white noise module before the filter (with a BR filter type). Like this I can recreate a sine. It's easy to fix all steps to the good Hertz.
My filter is in harmony with the pitch of the scale!
Thank you varice! As you say : "Too bad that not all G2 oscillators modules have an FM input though." Same for the filters! |
|
Back to top
|
|
 |
cappy2112

Joined: Dec 24, 2004 Posts: 2490 Location: San Jose, California
Audio files: 2
G2 patch files: 1
|
Posted: Mon Oct 01, 2018 4:24 am Post subject:
|
 |
|
Electromagnetic Wave wrote: | Hi!
I try this too with no luck. This is what I do:
-windows XP PRO x84
-python-3.3.2
-g2ools-1.5
1. put the "scalaG2.py", "G2SCL.pch2", and "pythagorean.scl" in the g2ools-1.5 folder
2. open a shell (cmd)
3. located the g2ools-1.5 folder from the Terminal windows (cd C:\.....)
4. in the shell I write : scalaG2.py pythagorean.scl
After, I got this message :
"File "F:\...\G2\g2ools-1.5\scalaG2.py", line 62
print head
^
SyntaxError: invalid syntax"
Is it because I use python-3.3.2 ?
Thanks you for your help |
This makes sense, because print() is now a function in Python 3.x, whereas print is a statement in Python 2.
However, there are numerous other changes which will likely cause G2ools not to work in Python 3 as well. _________________ Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home. |
|
Back to top
|
|
 |
|