electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
ScalaG2
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 2 of 3 [66 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3 Next
Author Message
ian-s



Joined: Apr 01, 2004
Posts: 2578
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 611

PostPosted: Fri Apr 13, 2007 10:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
In the above patch there seems to be something odd with the zwolle scale


I think it is ok, the sign bit (gate signal) on the coarse tune seq is the opposite to what you might expect.

#1, The first pair of fine/coarse is always zero.
#2, is flat from the ET semitone of 100 cents, so the coarse offsets the frequency by -100 cents, then the fine tune is set to 97 int(128/100 * 76.049)

#4 is sharp from ET of 300 by only 3 cents so zero on coarse, and 3 on fine???

If I used Swiss rounding, that would be 4 which is closer to 3.84. An error of -0.16 is better than +0.84 of a cent.

Sorry about the less that ideal sign implementation, +-6400 cents wasn't enough for the extreme scales.

Beautiful prf by the way, sounds like Blue Hell from a parallel universe.
Back to top
View user's profile Send private message
ian-s



Joined: Apr 01, 2004
Posts: 2578
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 611

PostPosted: Sat Apr 14, 2007 12:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Updated the zip with the new rounding on fractional cents.
Back to top
View user's profile Send private message
and70it



Joined: Jan 28, 2005
Posts: 59
Location: italy
G2 patch files: 2

PostPosted: Mon Apr 16, 2007 12:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

GovernorSilver wrote:
Ok, I got scalaG2.py to generate .pch2 files on my Powermac G4. As a recap, here are the instructions I followed:

1. Go to http://www.python.org/download/ and download Python for Mac OSX. I got 2.5

2. Run the Python installer

3. Download and unzip g2ools.zip

4. Download and unzip the scalaG2.zip. Unfortunately, Stuffit Expander (the Mac equivalent of WinZip) does not let you choose unzip a .zip file on top of an existing folder like WinZip does. So....

5. Manually copy scalaG2.py and G2SCL.pch2 into the g2ools folder. BOTH are needed, otherwise you'll get errors. The first time I tried to run the .py, I got an error because it couldn't find the nord folder, so you MUST copy it to the root folder of g2ools.

6. Start the Terminal app to get Mac OSX's command line prompt, cd to the g2ools folder (I put it in Applications, so it took me a while to figure out where it was in the file system).

7. Here is Ian's instruction to use the tool after all of the above (I paste them here from the older thread):

At the command prompt, type:

scalaG2.py scalafile1.scl scalafile2.scl ...
A pch2 file for each scala file is produced.

My comment: On Mac OSX add the ./, so it should be:
./scalaG2.py scalafile1.scl

Otherwise, you'll get a command-not-found type error Evil or Very Mad

I tried some 12-out of XX tunings but couldn't tell if they worked because they sound so close to standard 12TET. Then I had the tool generate from the 79 out of 159TET patch - the .pch2 file that was created had a much more dramatic effect.

So far, so good. I'll do some more .pch2 file generation testing tonight. I continue to be excited... Cool


Help i dont understand the Instructions and this is what my Terminal say
HELP


Immagine 4.pdf
 Description:

Download
 Filename:  Immagine 4.pdf
 Filesize:  10.58 KB
 Downloaded:  264 Time(s)

Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20676
Location: The Netherlands, Enschede
Audio files: 156
G2 patch files: 318

PostPosted: Mon Apr 16, 2007 1:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

The name "scalafile1.scl" is a symbolic name to be replaced by the name of an actual and existing scala (.scl) file.

You can download scala files for a lot of different tunings from the the scala site, there is a link in the 2nd post on this thread. Or you can make your own scala files for your own tunings, this is explained on the scala site as well.

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
GovernorSilver



Joined: Apr 26, 2004
Posts: 1342
Location: Washington DC Metro
G2 patch files: 1

PostPosted: Tue Apr 17, 2007 2:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

and70it wrote:
GovernorSilver wrote:
Ok, I got scalaG2.py to generate .pch2 files on my Powermac G4. As a recap, here are the instructions I followed:

1. Go to http://www.python.org/download/ and download Python for Mac OSX. I got 2.5

2. Run the Python installer

3. Download and unzip g2ools.zip

4. Download and unzip the scalaG2.zip. Unfortunately, Stuffit Expander (the Mac equivalent of WinZip) does not let you choose unzip a .zip file on top of an existing folder like WinZip does. So....

5. Manually copy scalaG2.py and G2SCL.pch2 into the g2ools folder. BOTH are needed, otherwise you'll get errors. The first time I tried to run the .py, I got an error because it couldn't find the nord folder, so you MUST copy it to the root folder of g2ools.

6. Start the Terminal app to get Mac OSX's command line prompt, cd to the g2ools folder (I put it in Applications, so it took me a while to figure out where it was in the file system).

7. Here is Ian's instruction to use the tool after all of the above (I paste them here from the older thread):

At the command prompt, type:

scalaG2.py scalafile1.scl scalafile2.scl ...
A pch2 file for each scala file is produced.

My comment: On Mac OSX add the ./, so it should be:
./scalaG2.py scalafile1.scl

Otherwise, you'll get a command-not-found type error Evil or Very Mad

I tried some 12-out of XX tunings but couldn't tell if they worked because they sound so close to standard 12TET. Then I had the tool generate from the 79 out of 159TET patch - the .pch2 file that was created had a much more dramatic effect.

So far, so good. I'll do some more .pch2 file generation testing tonight. I continue to be excited... Cool


Help i dont understand the Instructions and this is what my Terminal say
HELP


and70it,

If you have a specific question, I'll try to help. How far did you get from Step 1 to Step 7 in the instructions I provided?
Back to top
View user's profile Send private message Visit poster's website
GovernorSilver



Joined: Apr 26, 2004
Posts: 1342
Location: Washington DC Metro
G2 patch files: 1

PostPosted: Tue Apr 17, 2007 2:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sorry guys, I've fallen behind in helping out in the testing effort.

Was the .kbm (Scala Keyboard Mapping file) support implemented, since it promises to simplify the job of mapping a tuning to the G2 keyboard (ie. you don't have to guess at what mapping the user will want - just use the mapping in the .kbm file)?

I did get clarification from Manuel Op De Coul on the difference between Middle Note and Reference Note in the .kbm format spec. As a recap, the sample template:

! Template for a keyboard mapping
!
! Size of map (greater than or equal to the number of notes in the scale
! to be mapped). The pattern repeats every so many keys:
12
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where scale degree 0 is mapped to:
60
! Reference note for which frequency is given:
69
! Frequency to tune the above note to (floating point e.g. 440.0):
440.0
! Scale degree to consider as formal octave (determines difference in pitch
! between adjacent mapping patterns):
12
! Mapping.
! The numbers represent scale degrees mapped to keys. The first degree is for
! the given middle note, the next for subsequent higher keys.
! For an unmapped key, put in an "x". At the end, unmapped keys may be left out.
0
1
2
3
4
5
6
7
8
9
10
11

Explanation:

- First and Last MIDI Note To Retune look self-explanatory

- Middle Note = MIDI Note Number which will be the 0th degree of the scale. In the above sample template, MIDI Note Number 60 is the 0th degree. So Note Number 61 = 1st degree, Note Number 62 = 2nd degree, etc.

- Reference Note = The MIDI Note Number to which the absolute frequency (in Hz, not cents) will be applied. In the above example, that would be MIDI Note Number 69 (typically mapped to A above middle C). All other MIDI Note Numbers are thus offset from Reference Note by the frequency ratios or cents specified in the .scl file.

- Reference Frequency = The absolute frequency of Reference Note above. In the above example, MIDI Note Number 69 is to be tuned to 440Hz.

Once again, my apologies for potentially causing extra/unnecessary work by my tardiness. I downloaded the full Scala application zip file so I can provide some sample .kbm files that are intended for specific .scl files.
Back to top
View user's profile Send private message Visit poster's website
and70it



Joined: Jan 28, 2005
Posts: 59
Location: italy
G2 patch files: 2

PostPosted: Wed Apr 18, 2007 7:53 am    Post subject: ok Reply with quote  Mark this post and the followings unread

I have forgotten to place the scales in the g2ools folder.
A question where can i find theoric info about the different scales?
I have no music background.
thanks
Andrea
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20676
Location: The Netherlands, Enschede
Audio files: 156
G2 patch files: 318

PostPosted: Wed Apr 18, 2007 8:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Carlo put up some links at http://electro-music.com/forum/links.php?id=31 .
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
GovernorSilver



Joined: Apr 26, 2004
Posts: 1342
Location: Washington DC Metro
G2 patch files: 1

PostPosted: Wed Apr 18, 2007 1:19 pm    Post subject: Sample .kbm (Scala KeyBoard Mapping file) Reply with quote  Mark this post and the followings unread

This sample .kbm file is meant to go with any of the blackjack*.scl tuning files. I had to add .txt to the end of the filename to bypass the "extension now allowed" error generated by the forum software.


blackjack.kbm.txt
 Description:
Keyboard mapping file for Blackjack tunings

Download
 Filename:  blackjack.kbm.txt
 Filesize:  760 Bytes
 Downloaded:  247 Time(s)

Back to top
View user's profile Send private message Visit poster's website
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12099
Location: Firenze, Italy
Audio files: 33
G2 patch files: 2

PostPosted: Wed Apr 18, 2007 2:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

head banging monitor
The Blackjack scale
head banging monitor

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
GovernorSilver



Joined: Apr 26, 2004
Posts: 1342
Location: Washington DC Metro
G2 patch files: 1

PostPosted: Thu Apr 19, 2007 2:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Laughing

I recorded myself playing a blues jam on the G2X keyboard... very, very badly... with, I think the Blackjack tuning a couple of weeks ago.

I figure the Blackjack tuning and keyboard mappings would be good test for the tool - more than 12 notes in an octave, but not an excessive amount like 96TET, and more easy to see if indeed the mapping was properly done.
Back to top
View user's profile Send private message Visit poster's website
ian-s



Joined: Apr 01, 2004
Posts: 2578
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 611

PostPosted: Thu Apr 19, 2007 4:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

GovernorSilver wrote:
Was the .kbm (Scala Keyboard Mapping file) support implemented, since it promises to simplify the job of mapping a tuning to the G2 keyboard (ie. you don't have to guess at what mapping the user will want - just use the mapping in the .kbm file)?


The kbm file is simple but quite comprehensive, many possibilities. It would add quite some complexity to the application I think.

The two controls in the building block (Transpose and the LevAdd2 next to it) allow for tuning the base frequency and offsetting the midi note number respectively.

I guess if I ignored the non-linear remapping possibilities, I could set those two controls automatically.
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20676
Location: The Netherlands, Enschede
Audio files: 156
G2 patch files: 318

PostPosted: Tue May 01, 2007 3:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

g2ian wrote:
Blue Hell wrote:
In the above patch there seems to be something odd with the zwolle scale


I think it is ok, the sign bit (gate signal) on the coarse tune seq is the opposite to what you might expect.


It took me quite a while before I realized that the tuning applies a correction to the normal note frequencies Embarassed The values in the sequencers make much more sense now Very Happy
Quote:

Beautiful prf by the way, sounds like Blue Hell from a parallel universe.


Thanks !

I attached a simple patch with a Hammond12 scaling - that one sort of came up in another thread - it's not a hammond organ but I thought maybe the scale would be useful for someone.


hammond12.pch2
 Description:
a hammond scale, not a hammond organ ...

Download
 Filename:  hammond12.pch2
 Filesize:  5.66 KB
 Downloaded:  954 Time(s)


_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
GovernorSilver



Joined: Apr 26, 2004
Posts: 1342
Location: Washington DC Metro
G2 patch files: 1

PostPosted: Fri May 11, 2007 2:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Progress on the microtonal front has been slowed for me, but I may be getting my hands on a guitar designed for Robin Perry's "Roz" tuning, with all 27 notes of the tuning. Robin was kind enough to send me the .scl and .kbm files for this tuning as well, so when I do get around to it, I'll see what I can do to set up the G2 with this tuning, so i can use the G2 in conjunction with the new guitar.
Back to top
View user's profile Send private message Visit poster's website
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12099
Location: Firenze, Italy
Audio files: 33
G2 patch files: 2

PostPosted: Fri May 11, 2007 3:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

GovernorSilver wrote:
..."Roz" tuning, with all 27 notes of the tuning...

what kind of tuning is that Question

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
GovernorSilver



Joined: Apr 26, 2004
Posts: 1342
Location: Washington DC Metro
G2 patch files: 1

PostPosted: Tue May 15, 2007 1:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

The Roz Tuning was invented by Robin Perry and is an approximation (very close to 200-EDO) of Just Intonation for guitar, such that straight frets may be utilized and spaced widely enough to be comfortable to play. He is having an experimental guitar built by Austrialian inventor Dave Keenan with this tuning. I think he can explain his tuning better than myself, but that's my understanding.

I believe this is the Just tuning that is being approximated:

! C:\Program Files\Scala22\JINTO1.scl
!
HARMONIC AND SUBHARMONIC SEVEN LIMIT
12
!
21/20
10/9
7/6
5/4
4/3
10/7
3/2
100/63
5/3
7/4
40/21
2/1

Here is the full 27-note Roz tuning:

! C:\Program Files\Scala22\FRETBOARD.scl
!
FRETBOARD
27
!
66.00000
90.00000
114.00000
180.00000
204.00000
270.00000
294.00000
318.00000
384.00000
408.00000
474.00000
498.00000
588.00000
612.00000
678.00000
702.00000
768.00000
792.00000
816.00000
882.00000
906.00000
972.00000
996.00000
1086.00000
1110.00000
1176.00000
1200.00000

He also provided this 7-note subset of the tuning:
! C:\Program Files\Scala22\roztuning.scl
!
FRETBOARD
7
!
498.00000
882.00000
1200.00000
1470.00000
1788.00000
2172.00000
2670.00000

And a .kbm file (very nice of him!):
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where scale degree 0 is mapped to:
49
! Reference note for which frequency is given:
49
! Frequency to tune the above note to (floating point e.g. 440.0):
261.625565
! Scale degree to consider as formal octave:
0
! Mapping.
Back to top
View user's profile Send private message Visit poster's website
holeps



Joined: Dec 17, 2007
Posts: 3
Location: Netherlands

PostPosted: Sat Dec 29, 2007 2:48 pm    Post subject: problem downloading the scalag2 file Reply with quote  Mark this post and the followings unread

Hello everybody,

I am trying to download the scalag2 zip archive and it doesn't work. Any suggestions? I am a begginer. I just got a Nord G2 and I would really like to experiment with some tunnings as this will be a project for my master thesis.

Thanx.
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20676
Location: The Netherlands, Enschede
Audio files: 156
G2 patch files: 318

PostPosted: Sat Dec 29, 2007 2:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

welcome holeps,

the zip is not present indeed, it got lost probably in the great server crash we had in august. I hope Ian will re-up it. Otherwise I might have a copy somewhere still, as I've used the tool a few times. So please complain when nothing happens Very Happy

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
holeps



Joined: Dec 17, 2007
Posts: 3
Location: Netherlands

PostPosted: Sat Dec 29, 2007 2:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you very much for your immediate response. I hope that someone will upload this tool. It will be really useful for me. I would also like to say thank you for keeping alive this incredible site.
Back to top
View user's profile Send private message
cappy2112



Joined: Dec 24, 2004
Posts: 2256
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Sat Dec 29, 2007 3:07 pm    Post subject: Re: ScalaG2
Subject description: read scala tuning files and set G2 tuning
Reply with quote  Mark this post and the followings unread

g2ian wrote:

Updated 6 April: 96 tone
14 April: Swiss rounding of fractional cents Rolling Eyes


Are these 'cents' based on the Euro or Dollar?
You know, the conversion rate is just going to wreak havoc
with the pitch Wink
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20676
Location: The Netherlands, Enschede
Audio files: 156
G2 patch files: 318

PostPosted: Sat Dec 29, 2007 3:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok, I found an old version, I'll attach that one here and remove it once someone posts a more recent one.

Tony your Humor is twisted at times Laughing

Edit: attachment deleted, the original was rebeamed by Ian.

_________________
Jan

Last edited by Blue Hell on Sat Dec 29, 2007 5:14 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
cappy2112



Joined: Dec 24, 2004
Posts: 2256
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Sat Dec 29, 2007 4:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Ok, I found an old version, I'll attach that one here and remove it once someone posts a more recent one.

Tony your Humor is twisted at times Laughing


If you knew me better Jan, you would know my humor is always twisted
(It's just that I have limited time to make that known) Smile


Thanks for upping the file. This scal tool is something I wasn't aware of.
Back to top
View user's profile Send private message
holeps



Joined: Dec 17, 2007
Posts: 3
Location: Netherlands

PostPosted: Sat Dec 29, 2007 4:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you very much about this.
Back to top
View user's profile Send private message
ian-s



Joined: Apr 01, 2004
Posts: 2578
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 611

PostPosted: Sat Dec 29, 2007 5:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Latest zip uploaded again so link in first post should work.

I think someone posted a G2 bug report regarding adjacent sliders on the value sequencer interacting.

I haven't checked to see what, if any, effect this has on the tool.
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20676
Location: The Netherlands, Enschede
Audio files: 156
G2 patch files: 318

PostPosted: Sat Dec 29, 2007 5:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Ian, I saved a copy this time ... wish I had a time stretcher to do more with interesting stuff like this ...

I think Tim posted the bug report ... let me see ... it's not in the bugs section .. there is a related item about the xfader being off by Tim : http://electro-music.com/forum/topic-6980.html ... all I could find Sad

I seem to remember there is an issue though.

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 2 of 3 [66 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3 Next
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use