Forums > MaxMSP

aac/mp3 import in buffer~ and loop

April 10, 2007 | 11:54 am

Hi -

I just can´t find a solution to get rid of those "extra" samples
that appear at the end of the buffer~ content when I import
an aac or mp3

maybe someone can help ?

sincerely,

Matthias Schneider-Hollek

digital masters
c/o Musik der Jahrhunderte
Siemensstr. 13
7o469 Stuttgart

studio: xx-49-711-6o7o78o
mobil: 0178-4088162

http://www.digitalmasters.de
http://www.hollek.de
http://www.durbanpoison.info
http://www.elektrominibarklingelton.de


April 14, 2007 | 5:07 am

Matthias Schneider-Hollek schrieb:
> I just can´t find a solution to get rid of those "extra" samples
> that appear at the end of the buffer~ content when I import
> an aac or mp3

I think its a problem of the format, they just fill their last frame
with zeros. The only way is to look into the buffer~, and count from the
end to the first non zero sample. Then you know at least where it
ends… (And crop it with waveform~ if necessary)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


April 16, 2007 | 7:16 pm

just found out that the problem start when I convert aif > aac -

so it must be a quicktime/apple problem, not msp ….

(when I have some time left, I´ll find something to get rid of all
the 0´s)

(gibt sowieso zuviele)

greetings,

MSH

Am 14.04.2007 um 07:07 schrieb Stefan Tiedje:

> Matthias Schneider-Hollek schrieb:
>> I just can´t find a solution to get rid of those "extra" samples
>> that appear at the end of the buffer~ content when I import an aac
>> or mp3
>
> I think its a problem of the format, they just fill their last
> frame with zeros. The only way is to look into the buffer~, and
> count from the end to the first non zero sample. Then you know at
> least where it ends… (And crop it with waveform~ if necessary)
>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>


Viewing 3 posts - 1 through 3 (of 3 total)