If you have a legible copy of Casio's Guidebook for MIDI (Nov. 1985), look on page 19. MIDI was young back in 1985, and Casio was a pioneer in synths. As a result, despite the standards, some oddities popped up. Casio (in the CZ line) uses a handshaking protocol that does NOT have an F7 byte after every part of the conversation. [F7 is hexidecimal code that represents the end of a system exclusive message]. If your VB program doesn't handle the handshake properly, you will have problems. Here's the conversation from p. 19. Computer does Send Request 1 [patch data]: F0 44 00 00 7n 10 dd [where n = channel # - 1 and dd = memory bank] CZ replies: F0 44 00 00 7n 30 Computer replies: 7n 31 Then CZ sends "Tone Data" followed by an F7 Computer replies with F7. I have not done VB programming, so I can't help you there. [The Guidebook posted in files is illegible. I have a PDF that is clearer and will try to post it.] --- In CZsynth@yahoogroups.com, "h2a2p" <h2a2p@y...> wrote: > I have been playing around with my CZ-5000 and some Visual Basic > (VB) programming. [snip] > I have two MIDI programming guides for the CZ that I am learning > from, but I can't seem to figure out exactly how to communicate the > Sysex data to the CZ, for example to change patch parameters or > load a new patch. [snip] > Does anyone out here have any VB source code that might help me out > to see some examples of sysex communications with the CZ? My CZ sysex I/O was in 6502/6510 asm for the Commodore 64/128. I may have the source code in an MS-DOS text file. If so, I my algorithm may be useful to you. Hmmmm. Just checked. I have a few other C64 midi source codes, but not the one showing the CZ handshaking. Other ideas: A while ago Daniel Krüger made available a CZBankManager program. I think he used C or C++, though. You might want to search the archives and see if he can help. Hope this helps. --Dr. Steve
Message
Re: Anyone programming patch editor in VB?
2004-03-01 by steve_the_composer
Attachments
- No local attachments were found for this message.