polybuffer~ questions


    Jul 24 2015 | 5:32 pm
    Hello,
    I'm using the polybuffer~ object to handle several buffers at once. It works fine so far, but I've noticed, when using the "getsize" message to get the size in bytes, that it shows twice as much as the size on my hard disk. Is this normal?
    I'm using max 7.0.4 on mountain lion (tried both, 32-bit and 64-bit version), loading stereo 16 bit files.
    The next question is related to my first one. Is there a possibility to access the individual buffers to e.g. restrict the buffers definitively to 16bit or to only one channel (if the audio-files are in stereo) or change the sample-rate and more?
    Thanks

    • Jul 26 2015 | 4:13 pm
      When you load a sound file into a buffer~/polybuffer~ its content is uncompressed and stored into RAM as 32 bits floating point numbers, so the increase you're seeing is expected. You can access any of the buffer~ of polybuffer~ by using the send message.