Searched refs:bendraw (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/sys/dev/
H A Dmidisyn.c115 int16_t bendraw; member in struct:channelstate
426 ms->chnstate[chan].bendraw = buf[2]<<7 | buf[1];
427 ms->chnstate[chan].bendraw -= MIDI_BEND_NEUTRAL;
482 ms->chnstate[chan].bendraw = 0; /* MIDI_BEND_NEUTRAL - itself */
540 * MIDIPITCH_SEMITONE*bendraw/8192. Practically, avoid
543 * just take semis*bendraw<<1. Do the same with cents
547 ( ms->chnstate[chan].bendraw * semis ) << 1;
549 ((ms->chnstate[chan].bendraw * cents)/25 + 1) >> 1;

Completed in 178 milliseconds