Skanky ways to play MP3 on Windows XP

Ben Rubinstein benr_mc at cogapp.com
Fri Sep 14 06:19:02 EDT 2012


Hi Michael,

Thanks for the reply.  The problem isn't how to script playing MP3 files as 
such - I have a stack that works playing MP3 on most Windows and Mac systems, 
using the player object.  The problem here is that I need it to work on a 
particular custom-assembled machine, on which for whatever reason the player 
object isn't working at all.

I'm working with RunRev support to figure out why the player object isn't 
working on this unit; but I need a back-up plan.

Since Windows Media Player is successfully playing MP3s, I'm wondering if 
there is a shell script or similar method to get the system to play MP3 files 
for my stack.

My other route is that although the player object isn't working on this 
machine, imported audioclips do play.  But the formats that I'm aware work 
with audioclips are non-compressed, and therefore we'd have to render the 
audio into formats which will take up a lot of space.  Hence my second 
question about any space-efficient formats that work with audioclips.

Ben

On 13/09/2012 21:17, Michael Kann wrote:
> Greetings Ben,
>
> I'm using Vista to play an mp3 file in the same folder as my stack. On our other computer we used to have XP, but now have Windows 7. I didn't remember having any problem play mp3's from XP, but don't think I have a stack for that scenario. If you want the Vista script I can send it along.
>
> Mike
>
> --- On Thu, 9/13/12, Ben Rubinstein <benr_mc at cogapp.com> wrote:
>
> From: Ben Rubinstein <benr_mc at cogapp.com>
> Subject: Skanky ways to play MP3 on Windows XP
> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> Date: Thursday, September 13, 2012, 2:41 PM
>
> I'm having trouble using the player object on Windows XP to play audio.  MP3 files play in the Windows Media Player; WAV files play in LiveCode if I import them as audioclips.  (MP3 files of course have never worked as imported audioclips.).  But using the player object, on either WAV or MP3 files, fails. (I have set dontUseQT to true.)  I'm pursuing this with RunRev support, but I'm running out of time.
>
> Are there any skanky ways, using shell commands or similar, to play MP3 files on Windows?
>
> Alternative question: are there any compressed formats that work with audioclips?  I don't mind that the audioclip is uncompressed, because I can import them on the fly, play the audioclip, then delete it; but I am likely to run out of disk space (it's all on compact flash) if I have to have all the audio as uncompressed WAV.
>
> TIA,
>
> Ben





More information about the use-livecode mailing list