Player use

2005-11-26 Thread Frank R
Ok, why can I play a MIDI file using a player copied to a window, but I can't
  play a MIDI file using the play command.  Using the play command, I get a 
nice screech, leading me to believe it is interpreting the MIDI file as an 
audio file of some form.
   
  ?
   
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Player use

2005-11-26 Thread Richard Gaskin

Frank R wrote:

Ok, why can I play a MIDI file using a player copied to a window, but I can't
  play a MIDI file using the play command.  Using the play command, I get a 
nice screech, leading me to believe it is interpreting the MIDI file as an 
audio file of some form.


If the player is working for you why not use that?

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Player use

2005-11-26 Thread Frank R
Cuz:
   
  1. It didn't make sense, and I'm trying to learn the product
  2. The play command makes it easy to play a segment of the file, which I need 
to do
  3. I need to start the player programmatically, and while I see messages to 
send to the player, I don't see a way to start it yet.

Richard Gaskin [EMAIL PROTECTED] wrote:
  Frank R wrote:
 Ok, why can I play a MIDI file using a player copied to a window, but I can't
 play a MIDI file using the play command. Using the play command, I get a nice 
 screech, leading me to believe it is interpreting the MIDI file as an audio 
 file of some form.

If the player is working for you why not use that?

--
Richard Gaskin
Managing Editor, revJournal
___
Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Player use

2005-11-26 Thread Richard Gaskin

Frank R wrote:
 Richard Gaskin [EMAIL PROTECTED] wrote:
 If the player is working for you why not use that?

   1. It didn't make sense, and I'm trying to learn the product

The play command is an old interface to the system's video and audio 
playback.  While not officially depricated, it doesn't offer nearly the 
flexibility of the player object.


I may be wrong on this, but I believe the play command is limited in the 
variety of formats it can play.  Technically speaking, a MIDI files 
isn't an audio file per se, but merely instructions to create an audio 
experience dynamically.  It may be that the play command simple doesn't 
handle the MIDI format.


I never use the play command, so I'm sure one of the readers here with 
more experience with it can chime in with details, but I do use the 
player object regularly and can help you get going with that newer, more 
flexible interface.



   2. The play command makes it easy to play a segment of the
 file, which I need to do

Player objects have a startTime and endTime property, and a 
playSelection property which governs whether the startTime and endTime 
are honored.


To play a specific segment of a file:

  set the playSelection of player 1 to true
  set the startTime of player 1 to 500
  set the endTime of player 1 to 1000


   3. I need to start the player programmatically, and while I
 see messages to send to the player, I don't see a way to start
 it yet.

  start player 1

And the player can be stopped with:

  stop player 1

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Player use

2005-11-26 Thread J. Landman Gay

Frank R wrote:

 Ok, why can I play a MIDI file using a player copied to a window, but
 I can't play a MIDI file using the play command.  Using the play
 command, I get a nice screech, leading me to believe it is
 interpreting the MIDI file as an audio file of some form.

Right. Player objects use QuickTime to interpret and process the audio. 
Since QT supports MIDI, it plays correctly. You also have more control 
over playback when using a player object.


The play command works with only a subset of audio formats and plays 
the files directly. In general, you can use the play command with .au, 
.aif, and .wav files as long as they have NO compression (and I haven't 
had great luck with .wav in any case.)


If at all possible, a player object is the prefered method, and for the 
case of MIDI it is the only method.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Player use

2005-11-26 Thread Scott Rossi
Recently,Frank R wrote:

 Ok, why can I play a MIDI file using a player copied to a window, but I can't
 play a MIDI file using the play command.  Using the play command, I get a nice
 screech, leading me to believe it is interpreting the MIDI file as an audio
 file of some form.

I believe this is because Rev cannot *natively* play MIDI.  You must either
use a player, which utilizes the system's bulit-in media technology (default
is QuickTime, but can also be WMP on Windows if QT is not available).  Or
you must use an external.  Rev's play command is intended for a small set of
audio formats, including WAV.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution