If i load a sample into a buffer, how can i know it’s length? I see i can set a lot of stuff (lenght, samplerate) on the bufferobject, but not anything to get information from it.
You’d use the info~ object, as described in MSP tutorial 14.
----------begin_max5_patcher---------- 420.3ocuTlraCCBDF9r8SAhyoQfyRs5s9bTUEgsGmPjCXA3zzFk9rWyXmsVm Ek1lKFyvv+7yGKqCCnI5UfkRdh7BIHXcXP.FxGHnse.cgXUZgvhoQyKzppEz dMCU+qtxU.Nbvn1nMgbuWBMJ6mjvQ6QnIB0TJ4017x0JmU9AlEOpOqMbovkN SplNw.otFEFLzOLgGO.aXbeSDqOamVxLzd5j4Ovin6TxHV.NvLAThjBrPr8V Wp15b9ANRUOETqmMRQA0OvlvP+mdWIiV.VqXJr0ENXEtLnFnrPjBcCO9of2s vqHFxqGQbMh0vtSPKFsKhD8mRDE7Vcs9APRpxyAymjbslDcuOS0xHNeLhp3y cjJl9+ep4DLRpx0Hg5lOwWjOERK1tKv07yMAzw30R9v3FtNn+nybI8WPTTu5 0k56OcglxG+XLa0Ulzsbos3jw6bUFXcRkvI0pCyo9.IYu0mIyx.0gOfjIs92 TvkDqy86q1NriJU29I9tYGek3WhN2naZ15DkkKAisURzH02ElqM9ti6gckpl tnh0OctTtM+3PuZaB+BWbP4b -----------end_max5_patcher-----------
Have you seen my reply to your other recent topic? The included patch makes use of the info~ object in order to obtain the total length of the buffer…
Ah, thanks. max/msp has been a while for me, i have to look up quite a lot and totally forgot about info~.
And i I hadnd’t seen your message at the time, Pedro, i wasn’t at a computer running max. Oh but wait, wasn’t there a website that could draw max patches?
C74 RSS Feed | © Copyright Cycling '74