[Bug?] Buffersize not independent from filesize
I want to load the first ten ms of a 1000 ms audio file in a buffer. As far as i know there are three methods to do that:
1. The third argument of the buffer~ object
2. The second and third argument of the read message
3. The sizeinsamps message
Method one and two didnt work at all. The buffer still had the size of the audio file.
Method three changed the size of the buffer, but also erased the data from it. When i used the reload message to load the audio data back into the buffer, the size was again changed to 1000 ms.
Here is what i did:
----------begin_max5_patcher---------- 413.3ocuTtraCBCDEcMQJ+CVdMEYCTdzc86nJpx.lDGAFD1jl1n1u85GgDTd ojVkrAiuy3wiObwalNwAl0rlJffW.uAbb1nTbLZZEmAAGXMYcdEQXRDVSEBx bJzcaPIcszDPv9hx3BRcq.fQ6h2zKqnR4msT69.gfYCwJa3RNo1DA9ZGiTsa YrBiXS1xm7GUMdeMiqpmoW7GWG81qEw9dnQYa2dS53A4VhLeAiO+8NZtz1U9 A5kABSS8hhBSCSbAoAZEbhGBLyrvumNQOpFbuZZwoenNBGCqr9xRZ2O.6nlA fRVE07BF4cd5UV0PjPWUEH742NJQ9mFk3aCk9W.kIFR9bThgj3XMCwZIez+B km030QIE6oGx6x.7OvL7c29kbj6Ciien1u6kiKF8nLbAgdgwnf.sgyTnSa3r G.XEiezMelZqCb.REM8c4C3X2MR.zdVTPERFmHYM7QoEePVKXEETSB6NkELA IqhZ3E57elu9NSaVu6c1VFRZaWQ6DaKssoT9ukMc54Qt14Ltctsxp+VWwFVR nRwTU0ieAn5I6EG -----------end_max5_patcher-----------
Am i doing something wrong or is it a bug?
>>Method one and two didnt work at all. The buffer still had the size of the audio file.
thats the exspected behaviour. if no size is spezified, the size of the file is taken.
>>Method three changed the size of the buffer, but also erased the data from it.
thats the exspected behaviour. when the size is changed, the data is gone.
method 2. should work – isnt one working method enough?
Of course one method is enough, but as i said, none of them worked.
But anyway, after restarting Max the second method worked. Dont know what the problem had been ten minutes ago…
Thanks for your help!