Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Setting limit volume on rockbox?
« previous next »
  • Print
Pages: [1] 2 3 4

Author Topic: Setting limit volume on rockbox?  (Read 20410 times)

Offline VietPho

  • Member
  • *
  • Posts: 8
Setting limit volume on rockbox?
« on: October 20, 2006, 03:37:00 AM »
Sigh... 2 weeks ago I accidently put the volume of my 60 gb ipod video rockbox to the max and I killed my Ipod headphones :(
I just bought the Creative EP-630 for 28$ off Amazon and it would suck if I accidently blow out my new headphones.

My question is how do I set a limit to volume for my rockbox? I was able to do it on apple original firmware, but I can't find out how to do it on rockbox.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Setting limit volume on rockbox?
« Reply #1 on: October 20, 2006, 06:46:38 AM »
I don't think there is a setting anywhere to set a "volume cap" or something, but I think this would be a nice thing to have. Maybe you can add this to feature requests in the tracker. On a side note, I wouldn't worry to blow out my headphones but I would worry for my ears. ;)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Setting limit volume on rockbox?
« Reply #2 on: October 20, 2006, 06:47:54 AM »
You can always set the precut in the graphical equalizer menu. For all practical purposes it's a similar idea.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Setting limit volume on rockbox?
« Reply #3 on: October 20, 2006, 07:18:51 AM »
Quote from: Llorean on October 20, 2006, 06:47:54 AM
You can always set the precut in the graphical equalizer menu. For all practical purposes it's a similar idea.

Isn't precut just adjusting the overall gain of the EQ? Surely though, you could end up to a similar functionality by setting a negative precut value so even max volume wouldn't be so loud. But you should have the EQ enabled for that (extra CPU load) and I don't think that it's a similar idea to just set a volume cap somewhere in the settings (eg. -20 dB) so the user won't be able to go further than that.
Logged

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: Setting limit volume on rockbox?
« Reply #4 on: October 20, 2006, 07:37:32 AM »
Other disadvantages of using the precut setting:
- the signal will be digitally attenuated - so your S/N ratio will be lower (lower audio quality)
- the volume dB scale will be shifted
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Setting limit volume on rockbox?
« Reply #5 on: October 20, 2006, 08:16:57 AM »
But the *advantages* are:

- Does not increase binary size at all beyond current.

Seriously, I don't think it's worth wasting any binary size on an option that simply prevents user error, especially when there are very similar functions that can be achieved using both the equalizer and replaygain (though not ideal, at least they don't increase the binary size any since they're already there).
Logged

Offline L

  • Member
  • *
  • Posts: 145
Re: Setting limit volume on rockbox?
« Reply #6 on: October 20, 2006, 08:22:59 AM »
If you get proper earphones, they wouldn't blow that easily.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Setting limit volume on rockbox?
« Reply #7 on: October 20, 2006, 08:34:43 AM »
Quote from: Llorean on October 20, 2006, 08:16:57 AM
But the *advantages* are:

- Does not increase binary size at all beyond current.

I disagree with that point because I don't think that adding such an option will increase the binary size so much that we have to worry about. Sure, binary size is an important factor to take into account but so many features are being added into CVS in daily basis and increase the binary size much more than this feature would.

And to quote LinusN from yesterday's logs:
Quote
let's just stop adding features to rockbox - the binary size is too big
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Setting limit volume on rockbox?
« Reply #8 on: October 20, 2006, 08:36:28 AM »
Yes, *features* are being added. Things that cannot be done without adding code.

Volume limiting can be done without adding code by a user not increasing the volume.

Saying "it's small" means nothign. It still increases the code size for very very very little added gain.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Setting limit volume on rockbox?
« Reply #9 on: October 20, 2006, 08:52:26 AM »
Quote from: Llorean on October 20, 2006, 08:36:28 AM
Volume limiting can be done without adding code by a user not increasing the volume.

Actually this is not a volume limiting feature, it is a "user error" prevent feature, and I _do_ think that such features are worth adding.

Some may find this feature handy, others may won't gain anything from it and never use it (I never experienced such a problem, so I can say that I wouldn't gain for it) but I don't think that we shouldn't add features to conserve binary size at a small size.

We just see it differently... You see it as a "very very very little added gain" feature while I see it as a "very very very little binary size increase" feature
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Setting limit volume on rockbox?
« Reply #10 on: October 20, 2006, 08:55:01 AM »
Yes, but here's the deal: The more very very very littles you add in, the bigger the binary gets.

It's already officially "too big" (rombox doesn't fit) and this is a feature that if included should go to all targets. How little the size is doesn't matter, if it increases the binary at all. You weigh that something is added vs how beneficial it really is, and to me this doesn't seem like something that benefits Rockbox as a whole. It makes the binary bigger for everyone who doesn't use it, makes it harder still to get Rombox down to a usable size, and benefits a very small number of people who for some reason can't be bothered to check their volume levels.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Setting limit volume on rockbox?
« Reply #11 on: October 20, 2006, 09:01:55 AM »
I agree. We just weigh it differently.

I'm aware of the rombox problem, but this is something that needs to be handled in a different way otherwise we won't be able to add new features anymore.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Setting limit volume on rockbox?
« Reply #12 on: October 20, 2006, 09:06:24 AM »
I just don't want features that only provide seem to be beneficial to those who can't be bothered to pay attention to have a negative impact on everyone else's battery life.

A whole host of minor "safety" features could be added (more confirmations on things like file overwrites, automatic precut setting in the equalizer, etc, etc) each "very small" and each slightly decreasing the battery life of everyone who's willing to actually take care of those settings themselves.

Replacement firmware is not something to enter into lightly anyway, and I don't see all this fluff as being beneficial to a user who actually cares about what he's doing, meanwhile it does have a negative effect (albeit small, but cumulative) on all the users who have no use for such fluff.

So, that's why I put such a strong negative weight on what seems like such a minor feature. In the case of any small thing, it can be considered "minor" but at the same time, once it's in, it's *VERY* hard to remove it without huge amounts of objections, so it's better to say "Is this valuable enough to sacrifice something else for later?" and in my opinion it's very certainly not.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Setting limit volume on rockbox?
« Reply #13 on: October 20, 2006, 09:17:59 AM »
Though I can clearly understand your point of view on this in general, I can't understand how an extra setting can decrease battery life.
Logged

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: Setting limit volume on rockbox?
« Reply #14 on: October 20, 2006, 09:18:55 AM »
I don't think that the binary size killer argument should be applied to such a small feature.

perhaps this could be done with only 2 lines of code - just an "if statement" in the right place (plus the menu option to set it, which should be small with the new settings system, too).

recently the last.fm log got commited - I would call that feature a binary size waste.

Every serious software tries to protect users from damages to their health. Btw. I think that Jonathan Gordon's idea to set settings to always start at a default value when starting the player is more useful than an overall volume limit, because I want full volume when I use line-out and the accidential risk of full volume is only there when you start the player and don't know where it was when you shut it off the last time.
Logged
Iriver H120, Sansa e280

  • Print
Pages: [1] 2 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Setting limit volume on rockbox?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.104 seconds with 14 queries.