rualark / MGenPortal

Web interface to MGen, allowing to analyze, correct and perform music
http://artportal.su/ctools
GNU Affero General Public License v3.0
3 stars 0 forks source link

Migrate gain to decibels in multitrack player and suggesting volume, volume normalisation, visual volume #271

Closed rualark closed 5 years ago

rualark commented 5 years ago

I can easily calculate volume in db for each instrument if it is below 100. But when volume becomes above 100, it leads to volumes of all other tracks to be decreased. Currently volume of all tracks decreases by same portion: e.g. if I set volume to 130%, all tracks volume becomes 1.3 times smaller. For each track this will mean different number in decibels - depending on db_coef and initial volume, that needs to be decreased (depends on volume_default and volume).

rualark commented 5 years ago

There can be different solutions to this: