Windows MIDI conversion question

Erik Hansen erikhans08 at yahoo.com
Fri Aug 20 18:39:36 EDT 2004


--- "J. Landman Gay" <jacque at hyperactivesw.com>
wrote:
 < jperryl at ecs.fullerton.edu>
  wrote:

> I was able to grab the file, haven't tested it
yet.

HyperTalk scripted notation
using QuickTime Musical Instruments.

http://www.angelfire.com/d20/jrdesktop/misc/playcmdwin.zip

It includes the application and the Read Me file.

One way is from the command line:

PlayCmdAgent quit
PlayCmdAgent play musicbox 100 eq cq eq qr eq cq
eq
PlayCmdAgent playstr musicbox eq cq eq qr eq cq
eq tempo 100
PlayCmdAgent playnote musicbox 60 127

The syntax is:

PlayCmdAgent quit
PlayCmdAgent play <instrument> <tempo> <notes>
PlayCmdAgent playstr <string>
PlayCmdAgent playnote <instrument> <pitch>
<velocity>

The other way is to write one of these commands
to a text file in
C:\WINDOWS\ called PLAYCMD.EVT. As soon as the
file is readable and
nonempty, the command will be picked up and the
file will be deleted
automatically.

BIf you have any questions, please send them to
jonrelay
PLAYCOMMAND AGENT FOR WINDOWS

========

Instrument = name|number.
Pitch: middle C = 60
Velocity = volume, from 1 to 127.

To stop a note started with playnote,
call playnote again with the same instrument
and pitch but a velocity of 0.
For best results, use only single spaces 
between parameters.

======

so we are still dependent on Quicktime,
so be it.

the Velocity (Volume) parameter does not exist
in HyperTalk, that's a QT specific activation?

Erik Hansen

=====
erik at erikhansen.org    http://www.erikhansen.org


		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


More information about the use-livecode mailing list