how do I sync audio w. qt with ms.pinky control?


    Apr 24 2007 | 1:35 am

    • Apr 24 2007 | 2:59 am
      a few ways to do this.
      if the audio files are small enough, you can load them all into buffers~'s and play them back with groove~'s.
      you will send your rate output from mspinky to the rate message to groove.
      if the audio files are too large to store in memory, you can use the sfplay~ object instead, and send mspinky rate to sfplay~ speed message.
      for syncing with either method, i would sync the movie to the audio files. with groove~, the right out put goes from 0 to 1 as it plays through, sfplay~ will output the current millisec position.
      either of these values can be used to sync to qt.movie by doing some math and getting the correct frame.
      although, perhaps syncing is not a problem, in which case leave your qt movie control as is, and just send the mspinky rate to your audio playback.
      hth.
      -rob
    • Apr 26 2007 | 12:09 pm
      Thank you for your help. I think this could work, but I have problems properly adressing the buffer~. I load the wav files per random from an ubumenu, but then the "prepend read" or "prepend replace" message doesn't work. I also added a "append 0 -1 2" for resizing and channels, but it didn't help.
      How do I have to adress the buffer~ to load the files from an ubumenu?
      Or do I have to choose different buffers by random and if so how do I organize the loading and unloading with gates or something? I tried to send a "prepend set" message to the buffer and the groove~ from the ubumenu to make them adjust to the actual file, but again no luck.
      Actually the mptcfs~ object from the ms.pinky patch should play back files and handle the vinyl control, but in this configuration it doesn't work.
      Either way I desparately need help. Tomorrow the exhibition starts and I'd like to have the sound working by then :.(
      "Doctor pleeeeease heeeeeeelp!!!"
      julian
    • Apr 27 2007 | 12:45 am
      sounds like you need to spend some face time with the tutorials.
      however, because i have something similar on hand, this could get you started. it uses poly to handle the buffer/grooves and randomly selects from the ubumenu.
      i think it needs urnNR which may or may not be in your path. if not just replace urnNR with regula ole urn.
      this was made a long time ago, so there might be some dumbness lurking.
      good luck.
      save as "polySample.mxb"
      ____________________________________
      save as whatever
    • Apr 27 2007 | 11:42 pm
      Thank you very much again!
      But I think dumbness is lurking somewhere else. I saved your text as polySave.mxb and whatever.mxb, but max sais: can't open: bad header ! I added max v2 and #p pop, but same thing.
      Has it to do with some missing external or the max version?
      If you would have the patience once again to tell me this I'd be very happy, cos I think your patch might really help me. I haven't got the time right now to go through almost 3000 pages of max tutorials, but I'm looking forward to it. sort of : )
    • Apr 27 2007 | 11:55 pm
      :oops: Well just figured out how to do it, so the whatever.pat I can open but the polySave.pat gives a long list of error:#p no such object.
      Don't know why...
    • Apr 28 2007 | 2:04 am
      Hi everyone,
      Anyone have a patch for serial control of a Knox Matrix Router
      sitting around?
      deKam