[ALLY] Re: How to play a sound...
From: jeff:rebol at: 11-May-2001 8:39
Howdy, Graham:
> Does it do
>
> insert port load %sound.mp3 ?
You could also build a shared library that handles your
mp3s. Shouldn't be too difficult with the piles of public
domain console based players available.
mp3-lib: load/library %mp3-lib.so
play-mp3: make routine! [file [string!]] mp3-lib "mp3_play"
foreach file load %/my/mp3-dir/ [
play-mp3 form file
]
;-- Of course, you could also just use CALL to
; accomplish the same ... -jeff