Home
last modified time | relevance | path

Searched refs:expression_vol (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/sound/synth/emux/
Demux_synth.c758 int main_vol, expression_vol, master_vol; in calc_volume() local
762 expression_vol = chan->control[MIDI_CTL_MSB_EXPRESSION]; in calc_volume()
764 LIMITVALUE(expression_vol, 0, 127); in calc_volume()
768 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume()
783 vol += ((0x100 - vol) * expressiontab[expression_vol])/128; in calc_volume()