aac/mp3 import in buffer~ and loop

Matthias Schneider-Hollek's icon

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

www.digitalmasters.de
www.hollek.de
www.durbanpoison.info
www.elektrominibarklingelton.de

Stefan Tiedje's icon

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

Matthias Schneider-Hollek's icon

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
>