Home
last modified time | relevance | path

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

/Linux-v6.6/sound/synth/emux/
Demux_synth.c743 int main_vol, expression_vol, master_vol; in calc_volume() local
747 expression_vol = chan->control[MIDI_CTL_MSB_EXPRESSION]; in calc_volume()
749 LIMITVALUE(expression_vol, 0, 127); in calc_volume()
753 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume()
768 vol += ((0x100 - vol) * expressiontab[expression_vol])/128; in calc_volume()