Picture - sound converter


    Feb 24 2006 | 1:12 pm
    I want to make a picture sound converter. The four corners of the picture will be represented by four surround speakers. Colour will be mapped on to sound frequency.
    My problem is :
    how do I read the rgb for all the pixels on an image simoultaneously.
    At the moment im using an lcd object but cant work out how to read the rgb/pixel position from it.....
    Any ideas ?

    • Feb 24 2006 | 6:31 pm
      basically :
      what object allows me to read in a jpg/pict and output the rgb and grey scale values for each pixel ?
    • Feb 24 2006 | 7:14 pm
      suckah does the job I think.
      Ed
    • Feb 24 2006 | 7:17 pm
      jit.qt.movie is the obvious choice for reading a jpeg. To get a
      cell's value as a max message, there is the matrix method getcell or
      the object jit.iter. Might I suggest a run though the tutorials? I
      think this would be covered there.
      best,
      wes
    • Feb 24 2006 | 7:26 pm
      gnee wrote:
      > basically :
      > what object allows me to read in a jpg/pict and output the rgb and grey scale values for each pixel ?
      Jitter.
      There's no real way to do it without Jitter in Max.
    • Feb 25 2006 | 11:31 am
      Hello Augustine,
      I'm amazed to see this post, i'm working exactly the same project at the moment! The project evolves from a project I produced last year involving colour frequency spectrum in relation to sound frequency and, you guessed it, four surround speakers. I called it the 'Surround Canvas' technique.
      Would be interesting to hear about your progression.
      NRB.
    • Feb 25 2006 | 3:44 pm
      NRB -
      LOL ! Great minds eh ?
      Its for my third year module on the sonic arts course at middlesex, I have to make a user friendly pluggin.
      It occurred to me other picture/sound converters I used were unsatisfactory. For one thing they are time based whereas a picture is perceived in an instant. Also using the y axis to define frequency seemed unsatisfactory to me as well, colour makes much more sense. Using surround sound should give a static "sound picture" (of course the logical progression for this idea is to have a speaker for each pixel heheh).
      What is more a picture is not represented in one dimension - aline -it is represented in two - a square - thus the four or more speakers.
      On the whole it just seems more logical to represent with sound a picture in this way. Film of course changes over time and may be more compatable with music for this reason.
      Anyway what did you use to read the pixels off ?
      ..
      .
      .
    • Feb 25 2006 | 3:51 pm
      Thanks for all the other replies - very useful !
    • Feb 26 2006 | 10:01 am
      Before Jitter I did something like that in Max reading data from a
      raw pict file with "filein" object .
      prehistoric but very economical cal
      k
    • Feb 26 2006 | 12:43 pm
      > gnee wrote:
      >> basically :
      >> what object allows me to read in a jpg/pict and output the rgb and
      >> grey scale values for each pixel ?
      >
      > Jitter.
      >
      > There's no real way to do it without Jitter in Max.
      There is a very real way to do this in max - LCD with the 'getpixel' message.
      john.
    • Feb 27 2006 | 5:30 pm
      Of course you are right I should indeed go through the tutorials, and I will ! However I have to do this quite quickly and it takes time to get through all those tutorials to find just one tiny bit of information !
      I tried as you suggested and it is perfect - it gives out the rgb for each pixel into ltocoll > coll. however how do I get the greyscale readings ?
      thanks again for your replies .
      Quote: wesley.hoke@gmail.com wrote on Fri, 24 February 2006 12:17
      ----------------------------------------------------
      > jit.qt.movie is the obvious choice for reading a jpeg. To get a
      > cell's value as a max message, there is the matrix method getcell or
      > the object jit.iter. Might I suggest a run though the tutorials? I
      > think this would be covered there.
      >
      > best,
      > wes
      >
      >
      >
      ----------------------------------------------------
    • Feb 27 2006 | 7:16 pm
      this may or may not be what you are looking for. if you improve it, it would be cool if you would pm it back to me.
      -oliver
      max v2;
    • May 01 2006 | 1:37 pm
      Hello Oliver,
      Are you still using the forums. E-mail me when possible.
      Thanks,
      NRB
    • May 01 2006 | 1:56 pm
      For any on interested the soution turned out to be using jit spill > and an rgb to hsl converter.
    • May 01 2006 | 11:01 pm
      if you want to do this without jitter and you
      know about picture formats you could open
      anything as binary data using [filein] ...
    • May 01 2006 | 11:53 pm
      That might be an option for a future project if it makes thing more efficient cant be bad. The idea is to make a real time musical instrument.