primus has asked for the wisdom of the Perl Monks concerning the following question:
my $midi_obj = Win32::MIDI->new(); # print number of available (writing) devices print $midi_obj->numDevices() . "\n"; # open a device $midi_obj->openDevice(0); # set default channel $midi_obj->cur_channel(1); # play a note by absolute value (numeric) # middle C - 60 # note,dur,velocity $midi_obj->play_note(60,2.5,127) || print $midi_obj->error() . "\n" an +d $midi_obj->reset_error();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: playing chords with MIDI modules...
by Mr. Muskrat (Canon) on Jan 20, 2003 at 19:30 UTC | |
by LostS (Friar) on Jan 31, 2003 at 20:02 UTC | |
by LostS (Friar) on Jan 31, 2003 at 20:30 UTC | |
by LostS (Friar) on Jan 31, 2003 at 20:54 UTC | |
|
Re: playing chords with MIDI modules...
by Mr. Muskrat (Canon) on Jan 07, 2003 at 15:55 UTC | |
by primus (Scribe) on Jan 07, 2003 at 21:04 UTC | |
|
Re: playing chords with MIDI modules...
by Mr. Muskrat (Canon) on Jan 07, 2003 at 23:55 UTC | |
|
Re: playing chords with MIDI modules...
by primus (Scribe) on Jan 07, 2003 at 04:15 UTC |