color mapping to pitch

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
bryanofclay
Posts: 7
Joined: Sun Jan 23, 2011 11:40 pm
Location: NorthernWisconsin

color mapping to pitch

Post by bryanofclay »

I'd like to be able to map color to pitch. I see a few threads that asked if this is possible, but they are several years old. Is there any mapping to pitch in G-Force, ( or Aeon or Whiteclouds)?

User avatar
BTT
Administrator
Posts: 2261
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Re: color mapping to pitch

Post by BTT »

Hello bryanofclay
bryanofclay wrote:I'd like to be able to map color to pitch. I see a few threads that asked if this is possible, but they are several years old. Is there any mapping to pitch in G-Force, ( or Aeon or Whiteclouds)?
Over the years I have created over 600 ColorMaps for G-Force, many are included in both G-Force and Aeon. but to be honest with you I do not understand what you mean by "map color to pitch". Perhaps you could enlighten me.


Regards BTT

bryanofclay
Posts: 7
Joined: Sun Jan 23, 2011 11:40 pm
Location: NorthernWisconsin

Post by bryanofclay »

I'd like a specific color to map to a note.
Over the last few centuries there have been different schemes proposed
h t t p ://accad.osu.edu/assets/files/InterfaceLab/MBain_ThesisPaper.pdf
on page 21 there is a chart of different schemes.

It might be lousy approach, but I am curious.

User avatar
BTT
Administrator
Posts: 2261
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello bryanofclay

Thanks for the link, have only had a very quick look, but at least now I know what you were talking about. Some very interesting info to read at a later date. The only person who would be in a position to discuss this would be Andy, the creator of G-Force. I suggest you send him an email.

andrew.omeara@soundspectrum.com


Regards BTT

jerohm
Senior Member
Posts: 421
Joined: Fri Jan 09, 2009 5:19 pm

Post by jerohm »

the active colormap is controlled by Pen[0:1] and mapped into 256 linear divisions, or colors in this case. 'fft()' [now] returns a normalized frequency distribution and is mapped to FNUM divisions (caution, each implementation [-read:plugin] of GF may map to a slightly different frequency range however). Each task can have its own control of Pen, but it will effect ALL X_,Y_ pairs... THAT MEANS if X0,Y0 is some object drawn by task0, every other X_,Y_ pair drawn by task0 will follow the same color scheme... make sense? Each task of an individual config CAN however control its own set of X_Y_ pairs. If you want pitch and color to map, the Config has to be coded with that in mind... BUT expect various degree of success. You would almost for sure need to mate a specific colormap with your config (via 'scripting')... if you want any level of consistency.

Code: Select all

// This is NOT clever or interesting, but only exists to support my
// written description/limitations

/ Colormap: "The Haight" (ANYTHING else, and you are on your OWN)
// Flowfield: "(Empty)" - until you understand what is going on.

// See script docs for info
//   Standalone (maybe others): SetFFTParams( 120, 8000, 8, .02, .07, false );
//   WinAmp JUST passes the data to GF which it just uses

Aspc=1
ConB=0
Stps=FNUM
Num=2			// 1 or 2; (for Id 0 or 1)


X0="sin(-2*Pi*s)/2 - 1.2*(.5 - Id)"
Y0="cos(-2*Pi*s)/2"

X1="2*s-1"
Y1="(-1^Id) * (fft(s) - .9)"

Pen="1- Id*fft(s)"		// Each STEP (Dot), 1 - White
Lwdt=4


Meta="reactive=3 detail=3 density=3 morphable=5"
Vers=400

Having 'Pen' and 'Lwdt' be multidimensioned, i.e., a row to map to each X_,Y_ pair within a given task, would make the task slightly less complicated (See GF5 wishlist).

DireWolf
Posts: 102
Joined: Sun May 06, 2012 9:58 pm

Post by DireWolf »

While interesting I do not know how good that would look seeing as music is composed of many noted that are played at once like in chords and harmonics.

Might end up looking to sporadic or like Walt Disney throwing up.

Just my $0.02

equaleyez
Posts: 1
Joined: Tue Mar 26, 2013 6:04 pm
Location: Belgium

Post by equaleyez »

Sorry for bumping the thread..

brianofclay I'm interested in the same concept. Only, I would be satisfied with just the recognition of a couple of frequency bands instead of different notes, which would be more feasible I guess..

Do you have any updates on this?

DireWolf
While interesting I do not know how good that would look seeing as music is composed of many noted that are played at once like in chords and harmonics.

Might end up looking to sporadic or like Walt Disney throwing up.
His purpose might be to hook an instrument up to and audio interface, wich can be used as audio input in the standalone version.

----

I would be very interested to hear news about this!

bryanofclay
Posts: 7
Joined: Sun Jan 23, 2011 11:40 pm
Location: NorthernWisconsin

Mapping color to pitch

Post by bryanofclay »

Sorry about dropping out of this thread.

I was thinking about two different things when I asked about mapping color to pitch.

There is a theory that relates different pitches to different shakras. Sounded like it might be interesting to try playing music that would relate to the shakras and have colors that relate.

Secondly , I'd like more control or influence of what is happening while I am playing (synth). While I'd like to stay away from Disney puke, it seems that most cords use 2-4 notes and often progress a note or two at a time.

I've also wondered about having changes occur with cord changes, or after a certain number of beats. Both of which seem like they'd be harder
to implement, but I admit to having a hard time grasping the options.

Thanks for your responses.

Bryanofclay

Post Reply