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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Unable to use positive dB values
« previous next »
  • Print
Pages: [1]

Author Topic: Unable to use positive dB values  (Read 982 times)

Offline DrewVosburg

  • Member
  • *
  • Posts: 42
  • Designer
Unable to use positive dB values
« on: January 17, 2011, 10:30:56 PM »
I'm trying to use a %?pv conditional, but it won't let me do anything for the individual values above 1dB.  Any ideas?
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: Unable to use positive dB values
« Reply #1 on: January 17, 2011, 10:56:49 PM »
You could use the %if() tag http://www.rockbox.org/wiki/CustomWPS#A_37if_40_41_logical_comparison_tag
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Unable to use positive dB values
« Reply #2 on: January 17, 2011, 11:24:21 PM »
In the normal conditional there's just an image for 0db, and then an image for all values over 0db. This is because 0db should be treated as "Full volume" and values over 0db, which may clip, often should show a warning image suggesting to users that they're going "too high" and may get distorted sound.
Logged

Offline DrewVosburg

  • Member
  • *
  • Posts: 42
  • Designer
Re: Unable to use positive dB values
« Reply #3 on: January 18, 2011, 12:03:51 AM »
Thanks a lot, guys!

The %if tag is pretty useful, should shorten up some of my code and improve some behavior.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Unable to use positive dB values
 

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

Page created in 0.072 seconds with 15 queries.