Recent

Author Topic: ACS + LAME (MP3)  (Read 8244 times)

carmarri

  • Newbie
  • Posts: 6
ACS + LAME (MP3)
« on: October 04, 2011, 12:47:04 pm »
Hi all,

I've a problem which is driving me crazy: I'm using the ACS component in lazarus to record audio from the microphone and save it to a file. I've saves it successfully to wav, but I'm not able to create a MP3 file, using the LAME library. Every single time that I execute this:

MP3Out1.Input := AudioIn1;
MP3Out1.FileName := SystemTempDir + IDC + '.mp3';
MP3Out1.Run;

I gen an exception here (file ACS_LAME):
lame_set_mode(_plgf, Integer(FMode));

Any suggestion?
I would sincerely appreciate any help you could give to me!

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: ACS + LAME (MP3)
« Reply #1 on: October 04, 2011, 01:40:43 pm »
I am not sure if ACS is still active project. I was able to make it work 2-3 years ago under 32-bit WinVista but I was not able to make it work under 64-bit Linux. Homepage of project is not clear, some links are invalid.
Try another audio library, for example: http://audorra.sourceforge.net/
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Fred vS

  • Hero Member
  • *****
  • Posts: 3802
    • StrumPract is the musicians best friend
Re: ACS + LAME (MP3)
« Reply #2 on: October 04, 2011, 02:20:54 pm »
@ Blaazen
Quote
Try another audio library, for example: http://audorra.sourceforge.net/

Have you try it, what do you think about it ?
I went to the site but do not find any doc  %)
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: ACS + LAME (MP3)
« Reply #3 on: October 04, 2011, 03:11:54 pm »
The doc may be provided with the Binaries.
(http://sourceforge.net/projects/audorra/files/bin/0_5_2_BETA/)

I tried it once, but i still prefer BASS library (but i don't know if this can export to mp3).
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Zoran

  • Hero Member
  • *****
  • Posts: 1983
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: ACS + LAME (MP3)
« Reply #4 on: October 04, 2011, 03:42:34 pm »
The doc may be provided with the Binaries.
(http://sourceforge.net/projects/audorra/files/bin/0_5_2_BETA/)

I can't find it.

I tried it once, but i still prefer BASS library (but i don't know if this can export to mp3).

BASS library is free for use with non-commercial software only.
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

Zoran

  • Hero Member
  • *****
  • Posts: 1983
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: ACS + LAME (MP3)
« Reply #5 on: October 04, 2011, 03:50:23 pm »
Any suggestion?
I would sincerely appreciate any help you could give to me!

You can try to contact Christian Ulrich, who created the FPC port of ACS (http://wiki.lazarus.freepascal.org/User:Christian).
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

Fred vS

  • Hero Member
  • *****
  • Posts: 3802
    • StrumPract is the musicians best friend
Re: ACS + LAME (MP3)
« Reply #6 on: October 04, 2011, 06:26:53 pm »
Quote
I tried it once, but i still prefer BASS library
I love Bass library too but it is not open-source  :-X
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

carmarri

  • Newbie
  • Posts: 6
Re: ACS + LAME (MP3)
« Reply #7 on: October 05, 2011, 11:01:18 am »
Thanks! I'll give it a try.
I don't usually use Lazarus, but I go for it when I need multiplatform and compilations without external dependencies. However sometimes it's hard to get some projects into work, since there is a big lack of docs / examples and some projects are discontinued. It's a pity...

I am not sure if ACS is still active project. I was able to make it work 2-3 years ago under 32-bit WinVista but I was not able to make it work under 64-bit Linux. Homepage of project is not clear, some links are invalid.
Try another audio library, for example: http://audorra.sourceforge.net/

Zoran

  • Hero Member
  • *****
  • Posts: 1983
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: ACS + LAME (MP3)
« Reply #8 on: October 05, 2011, 03:46:55 pm »
Thanks! I'll give it a try.

Please don't forget to tell us then if it was worth trying.
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

 

TinyPortal © 2005-2018