confused with "buffer size" and "total buffer time"


    Jul 07 2007 | 9:47 am
    As said in the help file, the 3rd arguement of buffer~ is "optional initial length" or "buffer size" in ms. But info~ object also has another similar output called "total buffer time", which seems to report the length of the sound file loaded in buffer~. I feel confused with these two things. Could anyone explain the difference between "buffer size" and "total buffer time" ?
    Does the "buffer size" arguement really limit the accessible temporal points in the loaded sound file ? I just read a patch with buffer size set to 1000, but when I load a 5 min audio file into it, the whole file still can be accessed with play~. Could anyone explain it a little bit ?
    Thank you so much.

    • Jul 07 2007 | 3:28 pm
      Problem solved. I just noitced that when the buffer is replaced with a new sound file, the original buffer length setting by the arguement is also replaced.
    • Jul 07 2007 | 5:46 pm
      This may be a bit off topic and perhaps well-known by all. I have add some disk access issues recording audio with sfrecord~ so a switched to recording into a buffer~ then writing to disk when finished. The down side is that I must estimate the recording time and size the buffer~ accordingly.
      On 7/7/07 11:28 AM, "Cheng Chien-Wen" wrote:
      > > Problem solved. I just noitced that when the buffer is replaced with a new > sound file, the original buffer length setting by the arguement is also > replaced.
      Cheers Gary Lee Nelson Oberlin College www.timara.oberlin.edu/GaryLeeNelson