Hi, Which library should I use for playing sounds in general and mp3 in particular? Thanks, Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
Hi Noury, You can use PharoSound. Here is the info for metacello: == spec project: 'Sound' with: [ spec className: 'ConfigurationOfPharoSound'; file: 'ConfigurationOfPharoSound' ; version: #stable; repository: 'http://smalltalkhub.com/mc/PharoExtras/Sound/main'. ]. == Jannik 2014-02-11 9:58 GMT+01:00 Noury Bouraqadi <bouraqadi@gmail.com>:
Hi,
Which library should I use for playing sounds in general and mp3 in particular?
Thanks, Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://car.mines-douai.fr/
Hi Jannik, I searched on Smalltalkhub before sending my email. I noticed the project, but it is written : "midi sound piano roll". So, I thought it does not support mp3. Noury On 11 févr. 2014, at 10:11, jannik laval wrote:
Hi Noury,
You can use PharoSound.
Here is the info for metacello:
== spec project: 'Sound' with: [ spec className: 'ConfigurationOfPharoSound'; file: 'ConfigurationOfPharoSound' ; version: #stable; repository: 'http://smalltalkhub.com/mc/PharoExtras/Sound/main'. ]. ==
Jannik
2014-02-11 9:58 GMT+01:00 Noury Bouraqadi <bouraqadi@gmail.com>: Hi,
Which library should I use for playing sounds in general and mp3 in particular?
Thanks, Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://car.mines-douai.fr/
Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
For mp3s, I started wrapping the FMOD library with NB. It's on sthub. I ported enough to play an mp3 and porting other features should be straightforward at this point... HTH ----- Cheers, Sean -- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4742774.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Thanks Sean. Sounds cool. Noury On 11 févr. 2014, at 14:44, Sean P. DeNigris wrote:
For mp3s, I started wrapping the FMOD library with NB. It's on sthub. I ported enough to play an mp3 and porting other features should be straightforward at this point... HTH
----- Cheers, Sean -- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4742774.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
Ok the description is not good. In phratch, I can load MP3. Jannik 2014-02-11 15:30 GMT+01:00 Noury Bouraqadi <bouraqadi@gmail.com>:
Thanks Sean. Sounds cool.
Noury On 11 févr. 2014, at 14:44, Sean P. DeNigris wrote:
For mp3s, I started wrapping the FMOD library with NB. It's on sthub. I ported enough to play an mp3 and porting other features should be straightforward at this point... HTH
----- Cheers, Sean -- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4742774.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://car.mines-douai.fr/
Thanks Jannik! @Sean why did you chose to use FMOD and not use the PharoExtras/Sound? What are features that you are missing? Noury On 11 févr. 2014, at 16:07, jannik laval wrote:
Ok the description is not good. In phratch, I can load MP3.
Jannik
2014-02-11 15:30 GMT+01:00 Noury Bouraqadi <bouraqadi@gmail.com>: Thanks Sean. Sounds cool.
Noury On 11 févr. 2014, at 14:44, Sean P. DeNigris wrote:
For mp3s, I started wrapping the FMOD library with NB. It's on sthub. I ported enough to play an mp3 and porting other features should be straightforward at this point... HTH
----- Cheers, Sean -- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4742774.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://car.mines-douai.fr/
Noury -- http://twitter.com/#!/NouryBouraqadi http://car.mines-douai.fr/noury
On Feb 12, 2014, at 10:37 AM, Noury Bouraqadi-2 [via Smalltalk] <ml-node+s1294792n4743043h21@n4.nabble.com> wrote:
@Sean why did you chose to use FMOD and not use the PharoExtras/Sound? What are features that you are missing?
I guess because I didn't know it played mp3s ;) Also, I wanted to play with NativeBoost... My requirements are: - play at any speed (e.g. normal, 1.5x, 2x) - play any snippet with millisecond granularity (e.g. play from 5m3s500ms to ...) Do you know off-hand if that's possible with PharoExtras? - Sean ----- Cheers, Sean -- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4743057.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
As far as I know pharoSound only plays AIF and WAV. Phratch certanly has MP3 playing abilities - but I've only tried it on Linux and MP3s do not play. -- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4743093.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Why not link Pharo to mpg through NB to have all the capability required. I gave a shot at it a year back.. seems quite doable, will take about a month's effort max for anyone.. On Thu, Feb 13, 2014 at 1:35 AM, kmo <voxkmp@gmail.com> wrote:
As far as I know pharoSound only plays AIF and WAV. Phratch certanly has MP3 playing abilities - but I've only tried it on Linux and MP3s do not play.
-- View this message in context: http://forum.world.st/Playing-an-mp3-tp4742737p4743093.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (5)
-
jannik laval -
kmo -
Noury Bouraqadi -
S Krish -
Sean P. DeNigris