Title: | * * Computer Music, MIDI, and Related Topics * * |
Notice: | Conference has been write-locked. Use new version. |
Moderator: | DYPSS1::SCHAFER |
Created: | Thu Feb 20 1986 |
Last Modified: | Mon Aug 29 1994 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2852 |
Total number of notes: | 33157 |
Hello, Can anyone help ? I am trying the communicate with MIDI equipment using an Atari 520 STFM and a Casio MT-240. I am using the STOS programming langauage and I am trying to output to the Casio the notes it can play, i.e., 1000 OPEN #1, "MIDI" 1100 FOR A=0 TO 127 1110 PRINT #1,CHR$(144)+CHR$(A)+CHR$(64) 1120 WAIT 10 1130 NEXT A I run this and all that happens is that the same note plays each time. I have also tried just sending the CHR$(144) which means note on and that plays one of two notes each time I send it. Can anyone enlighten me on what I am doing wrong please ? Chris Notes: chrs$(144) = Channel 1 note on chrs$(A) = Note Number chrs$(64) = Velocity
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2475.1 | NOTE OFF? | NIOMAX::LAING | Soft-Core Cuddler*Jim Laing*282-1476 | Tue Oct 23 1990 10:44 | 5 |
Maybe you need to send a NOTE OFF after each note ON that you send??? -Jim (just guessing ...) | |||||
2475.2 | OR NOTE ON WITH V=0 | TROA01::HITCHMOUGH | Tue Oct 23 1990 13:35 | 11 | |
Agree with -1, should send note off after note on (or note on with velocity of 0, depending on SGU) You may not have to keep sending the note on or note off as some units keep whats called "ru nning status" but I'd send them anyway. I also think tht wait 10 would be far to fast..I don'tknow the ATARI though so I could be wrong. Ken | |||||
2475.3 | Thanks so Far | OPG::CHRIS | Capacity! What Capacity ? | Wed Oct 24 1990 08:33 | 4 |
Thanks for the info I will try. Thw wait 10 is 10x 1/50 of a second. Chris | |||||
2475.4 | Longer wait | TROA01::HITCHMOUGH | Wed Oct 24 1990 08:59 | 5 | |
You will probably need a MUCH longer wait in between the note on and note-off else you'll probably only get blips. Ken |