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
translations translations
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
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Conditional pitch display in wps
« previous next »
  • Print
Pages: [1]

Author Topic: Conditional pitch display in wps  (Read 3639 times)

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Conditional pitch display in wps
« on: July 13, 2008, 09:11:42 AM »
i tried using the pitch tag as a conditional but it did not work.

I want to have it like the volume tag:

%?pv<1|2|3|4|5|6|42> (you know how volume display works...)
%?Sp<pitch low|pitch high> (this always displays "pitch low" on the screen)

and it must also be usable with images.
As this already works for volume, i don't think it will be that hard to implement, will it?
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Conditional pitch display in wps
« Reply #1 on: July 13, 2008, 11:10:08 AM »
In your example
%?Sp<pitch low|pitch high>
which condition should be true in the case of neutral pitch?
Logged

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Re: Conditional pitch display in wps
« Reply #2 on: July 13, 2008, 11:33:29 AM »
sorry, i didn't mean that as in true/false but as an enumeration. just like volume.
%?Sp<full octave down|semi octave down|quarter ocatve down|normal|quarter ocatve up|semi octave up|full octave up> So enum starts at pitch 50% and goes up to 200%. i don't know if the corresponding octaves i've given are right but it's just to clarify what i want.
but being able to use images is more important.
PS using this%?Sp as an enumeration only displayed the first entry of the enumeration list, that's why i only posted two options in the first post.
« Last Edit: July 13, 2008, 11:39:32 AM by BdN3504 »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Conditional pitch display in wps
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.087 seconds with 21 queries.