Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Playing MP3 file?

by Arbogast (Monk)
on Oct 01, 2003 at 14:50 UTC ( [id://295647]=note: print w/replies, xml ) Need Help??


in reply to Re: Playing MP3 file?
in thread Playing MP3 file?

2 methods I use to play an MP3 in my program on Windows XP with Perl.

a> I don't have the code handy, but you can launch Windows Media Player with a playlist as a Win32 process. I never learned how to make a WMP playlist from Perl, :(.

b> The way I do it now in my Perl programs is to embed the MP3 in a SWF file in a local html file and play it through the Internet Explorer. (Then you can make a pretty album cover to display while the music plays.) Just launch the Internet Explorer with html file as argument with win32 process.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://295647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found