Thanks for your help. We've received your bug report.

Color to Sound IV

irvn
16 May 2012
Colorado Springs

Added MIDI, and support for use in MAX Runtime and the Apogee Duet and the Tascam US-2000 usb=> analog audio converters, and for shutting off the RGB or CYM or Grey generators.
“Code” is available upon request,  and any suggestions, however (im)politely worded, are welcome.

How was MAX used?

Thoroughly ...

Color to Sound IV

Jun 8, 2012 at 7:57am

I don’t understand what you have done from your descrition. Could you please put more

#262198
Jun 9, 2012 at 4:33pm

Do you want me to add instructions on the patch itself, or email you?
I would prefer both, as I need to get user feedback for a demo this summer ..

#262199
Jun 9, 2012 at 6:59pm

try this .. this is a simplified, luminance (brightness) only generator, which requires you to set the MIDI instrument number.
NO channel needed if using the internal synth.
It starts on note 24, up to 96, with inverse velocity as a quasi-loudness contour.

___________________________________________

– Pasted Max Patch, click to expand. –

It has extra message displays for troubleshooting .. they’re fun to see .
If this helps, i’ll revise the color patch as well..

#262200
Feb 19, 2013 at 2:06pm

Hey, could you explain more what you did here? I’m in progress of trying to link timbre and brightness, would appreciate if you could point out some suggestions/help

Thanks

#262201
Feb 20, 2013 at 6:32am

basically is uses the “suckah” object:
suckah takes the mouse position and returns the R G B values in the range of zero to one each.
For brightness just add them together and scale it to either generate a frequency & volume or as I did, a MIDI note number and velocity …
I don’t know about timbre: if your synth patch can use the mod wheel to increase the filter cutoff, or a FM8/;DX7 kind of sound which let you us the mod whee/breath controller to affect the operators..
If you notice thee is a object which has a conditional expression similar to “if ( $1 && $2 …” which you could use to generate the MIDI controller data

Note also I have used both internal synths like the Native Instruments FM-8 and Massive,
and external ones, including a DX-7 even~!
I don’t know if this helps ..
Ask more if you want .. i am developing this as a performance tool, and need the help

#262202
Mar 1, 2013 at 3:17pm

Hey thanks for your reply, I’ve looked at your patch you posted here, I played around with, I’m trying to understand what you did here:

– Pasted Max Patch, click to expand. –

I’m not sure I understand why you multiply 24 there?

Also, I’m trying to develop a sonification where I could translate colours into sounds for visually impaired. I’ve only managed to do a simple one but that’s just taking average of rgb value of each pixel (I put it in 8X8 matrix and go through the image left to right and top to bottom) which gives me the brightness and I mapped it pitch. But that’s just brightness, I was wondering what’s the best way to map colour hues? I’ve tried to do it where I read an image and and then do jit.rgb2hsl and then I get the hue value and somehow connect it a carrier frequency of a fm synth but I dont think that’s a right way or something is wrong with how I get the hue value because sometimes it doesnt make any sound or even sounds unpleasant. I read in one of the tutorials where modulation index controls the timbre, but I’m not sure.

#262203
Mar 5, 2013 at 10:05am

Your motivation is similar to mine
My patch divided the pixel into RGB, CYM and luminance.. that’s nine different possible tones, plus pitch and volume & timbre.
I have yet to find one that is intelligible
i thought to do a controlled study with blind & sighted people .. not tool much ethical concerns.
My tool requires an operator moving the mouse over the already displayed image — reading an image and then scanning it, creating literally a musical composition would be nice
Multiplying by 24.. or whatever .. is used to scale the pitch. I didn’t want to use anything lower than a contra C (~32Hz) or higher than 2 kHz
MIDI Notes 24 – 96

Let me find a machine with MAX on it ..

#262204
Mar 5, 2013 at 10:47am

What I meant by “tones” is different “programs” on a synth, like flute, organ, sitar, all on different MIDI channels:
for each there is pitch & volume (velocity) plus velocity controlled parameters like filter cutoff & vibrato
I didn’t try to add mod wheel/pitch bend/aftertouch

#262205
Mar 5, 2013 at 1:09pm

Oh yes, I know how to implement different midi channels.. for example this is just different types of drums:

– Pasted Max Patch, click to expand. –

For one of the patches I played around, I could change the midi instrument to piano or guitar or flute. I calculated the average rgb and linked the result into makenote pitch and constant velocity – loadmess 100 for example. But do you mean that I should have a different instrument for each r g b ?

I’m still unsure of timbre and how to implement it. I tried making 12 oscillators..so I mix 12 harmonically-related sine tones and that is to try different timbres. I then link each R , G, B values to a set of that oscillators. so each colour has 12 oscillators linked to it.

#262206
Mar 5, 2013 at 1:21pm

Not really sure about this – “velocity controlled parameters like filter cutoff & vibrato”
Using line~ or lores~?

#262207
Mar 6, 2013 at 4:43pm

Also,
I’ve been trying to figure how to have different midi instrument for each colour I have – RGB
so I have something like this:

– Pasted Max Patch, click to expand. –

and this is linked to each one of – r, g, b
but I can only use one instrument at a time. If I firstly set r to piano , then g to flute and lastly b to harp. only the last one that I set will sound (in this case harp)and the others will not make any sound. I can’t figure out why this is happening? I want all three types of instruments to make sound.
I can’t figure out to have three sounds altogether. Any idea?

#262208
Mar 6, 2013 at 4:45pm

Apologies, that was pasted in wrong format.

– Pasted Max Patch, click to expand. –
#262209

You must be logged in to reply to this topic.