I want a cross platform solution for playing audio files for my project ChronosManager. By cross platform I mean MacOS, Ubuntu and Windoom. I assume that playback of MP3 is out of the question ? |
You have this:
http://catalog.pharo.org/catalog/project/PharoSound cheers, Esteban > On 18 Nov 2015, at 11:49, Dimitris Chloupis <[hidden email]> wrote: > > I want a cross platform solution for playing audio files for my project ChronosManager. By cross platform I mean MacOS, Ubuntu and Windoom. > > I assume that playback of MP3 is out of the question ? > > Any ideas /suggestions ? |
In reply to this post by kilon.alios
This summer I made a wav parser, there is an example to play wav files
with OpenAL. https://pharoweekly.wordpress.com/2015/08/23/wav-parser-available/ Cheers, Merwan On 18/11/2015 15:49, Dimitris Chloupis wrote: > I want a cross platform solution for playing audio files for my > project ChronosManager. By cross platform I mean MacOS, Ubuntu and > Windoom. > > I assume that playback of MP3 is out of the question ? > > Any ideas /suggestions ? |
In reply to this post by kilon.alios
Hello If you read https://pharoweekly.wordpress.com/2015/07/04/google-speech-engine/, there is a reference to playing back the .mp3 output of the Google speech engine. I can’t find the package referred to with the class StreamingMP3Sound; maybe Sean deNigris can help? Hope this helps Peter Kenny From: Pharo-users [mailto:[hidden email]] On Behalf Of Dimitris Chloupis I want a cross platform solution for playing audio files for my project ChronosManager. By cross platform I mean MacOS, Ubuntu and Windoom. I assume that playback of MP3 is out of the question ? Any ideas /suggestions ? |
In reply to this post by MerwanOuddane
PharoSound was not working on Mac on my machine a few month ago. It was reported to be working on the Raspberry Pie and windows. 2015-11-18 12:23 GMT-03:00 Merwan Ouddane <[hidden email]>: This summer I made a wav parser, there is an example to play wav files with OpenAL. |
In reply to this post by EstebanLM
thank you I just tried PharoSound and works great on MacOS tomorrow will try Ubuntu :) Thanks also to the rest of you for your suggestionsOn Wed, Nov 18, 2015 at 5:02 PM Esteban Lorenzano <[hidden email]> wrote: You have this: |
In reply to this post by Clément Béra
It works on mine, I made a couple of fixes to make it possible :)
|
thank you Esteban, it works on my IMac too :) but on Ubuntu I am getting this errorsound_Start(default) soundStart: snd_add_pcm_handler: Function not implemented sound_Start(default) soundStart: snd_add_pcm_handler: Function not implemented On Thu, Nov 19, 2015 at 1:04 PM Esteban Lorenzano <[hidden email]> wrote:
|
2015-11-19 15:07 GMT+01:00 Dimitris Chloupis <[hidden email]>:
you can try to use squeaks sound plugin on linux for pharo (vm-sound-pulse or vm-sound-OSS)
|
and how i do that exactly ? On Thu, Nov 19, 2015 at 4:18 PM Nicolai Hess <[hidden email]> wrote:
|
for the record I also tried wavParser on Ubuntu that fails too Gofer new smalltalkhubUser: 'MerwanOuddane' project: 'WAVParser'; package: 'ConfigurationOfWAVParser'; load. (Smalltalk at: #ConfigurationOfWAVParser) loadBleedingEdge. --> (Smalltalk at: #ALExamplesWAV) exampleBirdChirping Generic failure NBFFICallout class>>signalError: NBFFICallout class(NBNativeCodeGen class)>>handleFailureIn:nativeCode: NBFFICalloutAPI>>function:emit: NativeBoostLinux32(NativeBoost)>>loadModule: NBFFICallout class(NBNativeCodeGen class)>>retrySend: OpenAL class>>loadLibrary OpenAL class>>isAvailable ALExamplesWAV>>readWAVFromStream: ALExamplesWAV class>>exampleBirdChirping UndefinedObject>>DoIt OpalCompiler>>evaluate RubSmalltalkEditor>>evaluate:andDo: RubSmalltalkEditor>>highlightEvaluateAndDo: [ textMorph textArea editor highlightEvaluateAndDo: ann action. textMorph shoutStyler style: textMorph text ] in [ textMorph textArea handleEdit: [ textMorph textArea editor highlightEvaluateAndDo: ann action. textMorph shoutStyler style: textMorph text ] ] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>>actOnHighlightAndEvaluate: in Block: [ textMorph textArea editor highlightEvaluateAndDo...etc... RubEditingArea(RubAbstractTextArea)>>handleEdit: [ textMorph textArea handleEdit: [ textMorph textArea editor highlightEvaluateAndDo: ann action. textMorph shoutStyler style: textMorph text ] ] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>>actOnHighlightAndEvaluate: in Block: [ textMorph textArea... WorldState>>runStepMethodsIn: WorldMorph>>runStepMethods WorldState>>doOneCycleNowFor: WorldState>>doOneCycleFor: WorldState>>doOneSubCycleFor: WorldMorph>>doOneSubCycle MenuMorph>>invokeModalAt:in:allowKeyboard: MenuMorph>>invokeModal: MenuMorph>>invokeModal [ :menu | menu setInvokingView: self editor. menu invokeModal. self changed. ^ true ] in RubEditingArea(RubAbstractTextArea)>>yellowButtonActivity: in Block: [ :menu | ... MenuMorph(Object)>>ifNotNilDo: RubEditingArea(RubAbstractTextArea)>>yellowButtonActivity: RubEditingArea(RubAbstractTextArea)>>mouseDown: RubEditingArea(Morph)>>handleMouseDown: On Thu, Nov 19, 2015 at 4:23 PM Dimitris Chloupis <[hidden email]> wrote:
|
Administrator
|
In reply to this post by Peter Kenny
Does anything from this thread help? http://forum.world.st/Music-in-Pharo-td4835737.html#a4835742
Cheers,
Sean |
Free forum by Nabble | Edit this page |