Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2017-05

Help me find a mp3 -> pcm audio data pascal implementation

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

Does anyone know if there exists an mp3 to pcm audio data implementation written in pascal?

A few days ago the mp3 format became patent free. A such a few OSS people are writing native mp3 decoders, for example Red Hat. Now I am wondering if anyone has written an mp3 decoder (to pcm data) for free pascal.

For reference, here is a C# mp3 decoder that can convert mp3 data to pcm data in blocks, which is a preferred method.

https://github.com/ZaneDubya/MP3Sharp

fredvs
to Anthony Walter

Anthony Walter-3 wrote

Show quoted text 12 lines
Does anyone know if there exists an mp3 to pcm audio data implementation written in pascal? A few days ago the mp3 format became patent free. A such a few OSS people are writing native mp3 decoders, for example Red Hat. Now I am wondering if anyone has written an mp3 decoder (to pcm data) for free pascal. For reference, here is a C# mp3 decoder that can convert mp3 data to pcm data in blocks, which is a preferred method. https://github.com/ZaneDubya/MP3Sharp

Hello.

With uos ( https://github.com/fredvs/uos) you may save the mp3 into wav (integer 16/32 bit) or pcm (integer 16/32 + float32 bit).

Fre;D

-----
Many thanks ;-)

Sandro Cumerlato
to Anthony Walter: Does anyone know if there exists an mp3 to pcm audio data implementation written in…

Hello Anthony,
IIRC a Pascal mpeg decoder is implemented within IAP:

https://github.com/CWBudde/IAP

Best regards.

Sandro Cumerlato

"Anthony Walter" wrote 16 lines
Does anyone know if there exists an mp3 to pcm audio data implementation written in pascal? A few days ago the mp3 format became patent free. A such a few OSS people are writing native mp3 decoders, for example Red Hat. Now I am wondering if anyone has written an mp3 decoder (to pcm data) for free pascal. For reference, here is a C# mp3 decoder that can convert mp3 data to pcm data in blocks, which is a preferred method. https://github.com/ZaneDubya/MP3Sharp _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
fredvs
to Sandro Cumerlato

Hello Sandro.

Sandro Cumerlato wrote

IIRC a Pascal mpeg decoder is implemented within IAP: https://github.com/CWBudde/IAP

Wow.

I see the code is for Delphi.
Did you try it with fpc ?

There are no demo for mpeg decoder.
Do you know how to use it ?

Thanks.

Fre;D

-----
Many thanks ;-)

Sandro Cumerlato
to fredvs

Hello Fred,
I compiled it a few years ago, but I don't remember which compiler I used, sorry.

IAP is demo itself, but I remember that during my testing it was quite unstable.

Maybe you can contact the author (C.W. Budde) directly for more info, good luck.

Sandro Cumerlato

fredvs wrote 30 lines
Hello Sandro. Sandro Cumerlato wrote > IIRC a Pascal mpeg decoder is implemented within IAP: > > https://github.com/CWBudde/IAP Wow. I see the code is for Delphi. Did you try it with fpc ? There are no demo for mpeg decoder. Do you know how to use it ? Thanks. Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Help-me-find-a-mp3-pcm-audio-data-pascal-implementation-tp5728503p5728534.html Sent from the Free Pascal - General mailing list . _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
fredvs
to Sandro Cumerlato

Sandro Cumerlato wrote

Show quoted text 11 lines
Hello Fred, I compiled it a few years ago, but I don't remember which compiler I used, sorry. IAP is demo itself, but I remember that during my testing it was quite unstable. Maybe you can contact the author (C.W. Budde) directly for more info, good luck. Sandro Cumerlato

OK, thanks.

Fre;D

-----
Many thanks ;-)