Subj : Re: Beginner needs help with MSB/LSB and 7bit bytes To : comp.programming From : moi Date : Sat Oct 01 2005 02:35 pm Rich wrote: > Thanks Duane. I found a great site for a Korg synth that confirms my > theory about the "packed bits" being added to the 8th bit position of > the bytes that follow. http://net.indra.com/~cliffcan/midiconv.htm > > That would give me 256 possible values for that parameter. I checked > what the range of values is for the delay time, and it shows a range of > 30-1450ms, but I am not sure what the increments are, so I bet it works > out. Now I just need to figure out how they map the 256 possibles to > the available values. Nothing is impossible. It could be in units of 2.3 msec or 1/4 notes, or some global tick-value, or some exponential or point-point format coded into 8 bits. Anything goes. > > Thanks for your input. I have a feeling I will be posting here many > more times as this project progresses! :-) > From what I read in this thread (I don't know MIDI), I also conclude that the 8bit values are sent over a 7bit serial port. The MSB (top-bits) are crammed in a composite byte, which is sent before the seven 7bit "characters". HTH, AvK .