Searched refs:expression_vol (Results 1 – 1 of 1) sorted by relevance
758 int main_vol, expression_vol, master_vol; in calc_volume() local762 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()