streaming waveform display


    Jan 25 2007 | 6:44 pm
    Hi all,
    is there a way to get a waveform display from a file without loading the
    file into a buffer~?
    I'm building a perform.patch that uses a crossfading file looper for samples
    in the 30-300 second range, and it would helpful to have a display so taht
    you can 'trim silence', since a lot of the files have a long reverb tail
    that i don't want to remove from the original. however, since i want to
    have many of these files playing at once it's best to use HD streaming
    rather than buffers.
    Regards,
    George

    • Jan 25 2007 | 8:06 pm
      i would guess that if you want to visualise a whole file with sample accuracy, you are essentially holding that file in RAM anyway, so it would be buffered somewhere . it may as well be in a buffer~ object. not sure how programs like logic or ableton do it from disk. maybe they load up only the part you can see to RAM or its at reduced resolution...
    • Jan 27 2007 | 3:38 pm
      bin ray wrote:
      > not sure how programs like logic or ableton do it from disk. maybe
      > they load up only the part you can see or its at reduced
      > resolution...
      All disk based sample editors I know create a seperate overview file
      which has a reduced resolution. In the moment you zoom in, they would
      get the real data from disk, you can't display more than the number of
      pixels of your screen in sample accuracy and thats not much...
      There was an example of how to create an overview and load it into a
      buffer quite a while ago, the archives might still contain it...
      As I remeber it was just playing the file with a 50-times speed with
      sfplay, and record it into a buffer~, which was displayed with waveform~...
      Stefan
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • Jan 27 2007 | 4:27 pm
      >
      > There was an example of how to create an overview and load it into
      > a buffer quite a while ago, the archives might still contain it...
      I have 2 patches from the list which might be relevant - I'll post
      one in this mail, and follow up with the other. I'm afraid I can't
      attribute the creators of these patches as I didn't keep a note of them
      David
      max v2;
    • Jan 27 2007 | 4:27 pm
      and here's the second one.
      max v2;
    • Jan 29 2007 | 8:01 pm
      David Stevens wrote:
      > and here's the second one.
      I was reffering to that one, and the author is in it...
      Thanks Mathieu....
      Stefan
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com