Page 1 of 1

Load .MOD sound file

Posted: Fri May 28, 2010 5:49 am
by nbotero
Hi everyone,

I am trying to load a sound file with .MOD extension and I dont know how to get it working. so far the code looks like this:

Code: Select all

on mouseUp
   play "D:\somesound.mod"
   wait until the sound is done
end mouseUp
any help well be appreciated!
thx...

Re: Load .MOD sound file

Posted: Fri May 28, 2010 10:42 am
by Klaus
Hi nbotero,

the truth is: you can't play MOD files in rev.

See "play" in the docs (Rev Dictionary) to see what audio formats are supported in Rev:
Only uncompressed AIFF and WAVE files and the AU format.
Even using a player object (QuickTime) can't play a MOD file.

So you need to convert the file(s) somehow to a Rev (or QuickTime) compatible format.


Best

Klaus

Re: Load .MOD sound file

Posted: Fri May 28, 2010 6:24 pm
by RRobert
You could use xmp and mikmod via the command line.

Robert