Re: [LAU] Audio in cgi?

From: Bob van der Poel <bob@email-addr-hidden>
Date: Sat Dec 12 2009 - 18:30:43 EET

> I'm not clear about something here. You're running a CGI script to play
> MIDI files. But doing that would only make them play on your server -
> not the visitor's computer.
>

Sorry for not being clear ... I was thinking of using this as part of
the docs for the program stored on a local computer. My brain hadn't
gone to the point of remote computers, etc.

But, I suppose it all applies the same way ... if I've got a cgi
script, then that implies I'm running a server. And I am, just that
right now it's on my box in my office :)

> not everyone's system comes setup to play MIDIs ... my system plays
> MIDIs - when I fire up QSynth to do so - but even then it won't play
> MIDIs from a web page (always reports there's no plugin to play MIDI). I
> have to view source, download the MIDI file - then I can play it.

Yeah. I get the same issue when I visit remote sites. I must enable
timidity as a server and try some of the remote files. I don't know if
that is the issue or if it is a matter of setting up the file
associations in my browser ... anyone have success on this?

>
> Perhaps in your CGI scripting you could have it "play" the MIDI to an
> OGG or MP3 file and have THAT file play on the page?

Yeah, that's simple enough to do. Then I need a player for the
ogg/mp3. Oh I know ... I can use flash to play that :) Opps, cross
threading :)

>

-- 
**** Listen to my CD at http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob@email-addr-hidden
WWW:   http://www.mellowood.ca
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sat Dec 12 20:15:02 2009

This archive was generated by hypermail 2.1.8 : Sat Dec 12 2009 - 20:15:03 EET