osx speech store as mp3 etc

Hello guys, I have an app that reads some text and creates aiff files, but i would like to create mp3 or wav files, so the user can use them on different devices.
I tried homebrew and installed ffmpeg, but its complicated for most of the users, i need an easier solution, so the user can’t mess it up.
I thought about lame, but its requires homebrew to install.
Any good idea to solve this problem?

You can use afconvert to convert from AIFF to WAV

you don’t need homebrew for lame

http://www.thalictrum.com/software/lame-3.99.5.pkg.zip

[quote=306005:@Axel Schneider]You can use afconvert to convert from AIFF to WAV

you don’t need homebrew for lame

http://www.thalictrum.com/software/lame-3.99.5.pkg.zip[/quote]
Is there a way to install lame with a xojo app? i tried to install it with homebrew and terminal.

If you use OSX speaking feature, the NSSpeechSynthesizerMBS class in our plugin has a StartSpeaking command taking a folderitem to write an audio file.

See
http://www.monkeybreadsoftware.net/class-nsspeechsynthesizermbs.shtml

Axel, i will take a look on afconvert.
Christian, is this plugin can save osx terminal say speach to mp3?

The plugin offers a class to use the speech synthesizer in macOS.
There we have option to speak to file instead of speaker.
Please try it.

[quote=306016:@Christian Schmitz]The plugin offers a class to use the speech synthesizer in macOS.
There we have option to speak to file instead of speaker.
Please try it.[/quote]
Christian, I found one of your mbs plugin can merge 2 audio (m4a) files into 1 file, but when I want to run it I get an error:
Can’t find a ype with this name: CALayerMBS
This datatype cannot be used as an array element: AVVideoCompositionCoreAnimationToolMBS

Please install Leopard plugin.

Dependencies are listed here:
http://www.monkeybreadsoftware.net/plugindeps.shtml