. - .
 
Hively Tracker
News ::  About ::  Forum ::  Download ::  Tunes ::  Screenshots ::  Competition ::  Links
 
. - .
. - .
 
User 
Password 
Create new account
 
. - .

. - .
 
Cool Sites
 
. - .

. - .
 
Link to us
 
. - .

. - .
  Forums > Hively Tracker Discussion > Playback Volume Boost?

Page: 1

Playback Volume Boost?

syphus
Posted: 2007-05-19 02:50:37
Expert at chit-chat
Posts: 122

Member since:
2006-12-14 19:47:57
This might be absolutely impossible, with hardware limitations etc, but is there any way of boosting the playback volume in Hively, independently of the Mix Gain? It's logical that overall volume should drop as more channels are mixed in software, but it would be cool to have a boost. 16 channels of Billy Ocean fun really forces me to redline my mixing desk, then when I forget to turn it down, AHX/Protracker blows my ears off later on:)
http://syphus.untergrund.net
spotUP
Posted: 2007-05-19 12:12:59
Moderator
Posts: 195

Member since:
2006-12-15 18:06:32
hmm... i don't see why this should be impossible?
some math to calculate how much volume is lost when a channel is added.. and then autoboost it when channels are added.

http://www.uprough.net
Xeron
Posted: 2007-05-20 15:18:29
Supreme Being
Posts: 435

Member since:
2006-12-13 11:34:00
The whole point of Autogain is that it boosts the volume as loud as it can go without clipping; essentially performing a "maximise" operation on the whole module. You simply cannot go any louder without causing distortion of some kind. BUT, it might be that the distortion is a momentary click at one point in the module and that you can set it higher without causing noticable clipping, which is why the mix gain can be manually set, so that you CAN boost the volume if it doesn't cause a problem.

spotUP: I think you need to re-read the mixing notes of the documentation. That is PRECISELY what Autogain does.

Basically, if all channels were playing the same waveform at maximum volume, the maximum volume per channel without clipping would be "max_volume / channels", and a crappy mixing algorythm would do just that, add all the channels together and divide the result by the number of channels. But since most of the time, the channels are playing different sounds, you can usually boost the volume a bit without issue.

The mix gain / autogain system in hively is designed so that as long as you periodically press the autogain button every now and then as you compose the song, and press it once again once you've finished the song, you are actually boosting the mix as much as you can without clipping distortion. You can then manually boost the mix gain if you like and listen to the whole song in its entirety, and if there is no noticable distortion from the clipping (and it WILL be clipping), you can leave it boosted happily.

A seperate "boost" parameter makes no sense, simply increase the mix gain to boost the output volume. For example:


Sample = 10
Mix Gain = 90%
Resulting sample = 9


With a boost paremeter:


Sample = 10
Mix Gain = 90%
Boost = 200%
Output = 18


Well, thats no different to:


Sample = 10
Mix Gain = 180%
Output = 18


A special "boost" parameter can't sidestep the clipping issue. Nothing can sidestep the clipping issue; there is nothing different about "boost" and "mix gain" its the same paramter in essense. Look:


Sample = 20000
Mix Gain = 180%
Output = 32767


The actual output should have been 36000, but thats too high for a signed 16bit output, so its clipped to 32767. Boost as a seperate parameter wouldn't have helped:


Sample = 20000
Mix Gain = 90%
Boost = 200%
Output = 32767


See? It still distorts.

In summary: Hively already does exactly what you're asking for.

AHX forever!
syphus
Posted: 2007-05-21 13:08:03
Expert at chit-chat
Posts: 122

Member since:
2006-12-14 19:47:57
I understand! Xeron Explains It All, chapter 17. I get it now, xeron - I can work, pattern by pattern, with higher autogain values, then for the final piece, I can rescan the whole thing and set it to avoid clipping. Woop.
http://syphus.untergrund.net
spotUP
Posted: 2007-05-22 13:06:41
Moderator
Posts: 195

Member since:
2006-12-15 18:06:32
xeron.. ehhh.. :)
well, what can i say, i was tired. :)
ofcourse mr autogain saves the day.

http://www.uprough.net

Page: 1
 
. - .