NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Serial port programming



jmarin%embedtronics.fi@localhost wrote:
> On Tue, Jan 06, 2009 at 06:07:41PM +0000, 
> chriswareham%chriswareham.demon.co.uk@localhost wrote:
> > I've a few questions on serial port programming that I'm hoping people
> > may be able to help out with ...
> 
> You say the "first four bits" (ie. the least significant bits) control
> the volume - yet your NOTE macro shifts the volume value to the most
> significant bits.  If I read correctly. :)
> 
>   -jm
> 

That was a brain fart on my part - the 4 most significant bits control the 
volume,
and the 4 least significant bits control the instrument.

Chris




Home | Main Index | Thread Index | Old Index