Convert signal to data


    Aug 15 2007 | 9:24 pm
    How can I convert a signal stream to data? There's an object that may work called sig2MIDI but it is only for OSX and I'm running windows. I need to convert an output from the adc~ to raw data (numbers) so I can then manipulate that data to trigger samples etc.
    Any ideas?

    • Aug 15 2007 | 9:29 pm
    • Aug 15 2007 | 9:38 pm
      Right, so if I want a constant update of the converted signal, I should do this, right?
      I want to convert the frequency of the signal to MIDI notes, but something is not right. I'm getting strange numbers when the signal is converted. For example, shouldnt 278 Hz (middle C) convert to 60 (middle C)?
    • Aug 15 2007 | 9:47 pm
    • Aug 15 2007 | 10:14 pm
      Thanks! I had heard about fiddle~ before but I never knew exactly what it did. It's kind of strange to understand how to get it to work, but I'm getting there. Thanks again!
    • Aug 16 2007 | 7:05 pm
      before you are using snapshot~ 5 you might want to use a rampsmooth~ or slide~ before.
    • Aug 16 2007 | 8:34 pm
      All right, I got fiddle~ working with a cycle~. However, when I change the pitch (in midi notes) to 44, the output of fiddle for pitch gives me 0, instead of 44. If I set cycle~ at 45, I get the correct output of 45. but for some reason 44 brings it down to 0. Here's the test patch.
      Any ideas as to why it does that? I tried amplifying the signal of cycle~ before it goes into fiddle~ but that just brings the amplitude up.
    • Aug 16 2007 | 8:45 pm
      frequencies lower than 44 Hz are probably beyond what fiddle~ is able to analyze.
      its quite difficult to fin the loudest fundamental below that point. (as well as above nyquist)
      -110
    • Aug 16 2007 | 8:51 pm
      Ah, I see. But it's not 44Hz, its midi note 44, which is 110Hz.
      Oh well, I'll try to work with that then. Thanks very much for the help!
    • Aug 17 2007 | 9:03 am
      it's cos the window size is too small. it cant identify pitches which have a longer waveform period than the window for analysis.
      try this:
    • Aug 17 2007 | 9:44 am
      Gus schrieb: > Ah, I see. But it's not 44Hz, its midi note 44, which is 110Hz.
      That's why Roman always precedes his patches with 110, he never got below it...
      Stefan
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
    • Aug 17 2007 | 6:29 pm
      Thanks Justin. I imagine I can make the window size larger to get even lower frequencies analyzed. at 2048, it wont go lower than 34/33.
    • Aug 19 2007 | 11:50 am
      Gus schrieb: > Thanks Justin. I imagine I can make the window size larger to get > even lower frequencies analyzed. at 2048, it wont go lower than > 34/33.
      But it comes for a price: latency...
      Stefan
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
    • Feb 17 2008 | 5:43 am
      How could I get the objects fiddle~, pitch~, yin~ I'm trying to get data out of some signals to produce color. Please anyone tell me where to go (URL) and get them Regards elcromagnoncriollo
    • Feb 17 2008 | 7:06 am
      On Feb 16, 2008, at 9:43 PM, Marcos Salazar Delfino wrote: > Please anyone tell me where to go (URL) > and get them
      You can find most objects here: http://www.maxobjects.com
      -C
    • Feb 17 2008 | 3:12 pm
      Thanks for your fast answer Chris. The thing is, that when I go to Maxobjects, it takes me to ircam forum and I can't find the object, only some info but not the object
      Sorry for bother, I'm kind of a newby to the forum
      Thanks again Marcos