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
| | |-+  How can I control optical out volume with Rockbox?
« previous next »
  • Print
Pages: [1]

Author Topic: How can I control optical out volume with Rockbox?  (Read 1241 times)

Offline haloxt

  • Member
  • *
  • Posts: 2
How can I control optical out volume with Rockbox?
« on: January 12, 2009, 09:34:23 PM »
I know this is a really weird question, but the reason why I need to change the volume by using Rockbox (if it is possible) is that the soundcard manufacturer told me I can't control volume via their drivers because of legal issues with the chipset manufacturer, and also because I can't change volume on my headphones ^^.

If there's no easy solution like a cfg file, then that's okay. I just wanted to test out my iriver's optical output quality before I get my new external dac/amp which may come in about a week. I love Rockbox btw ^^.
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: How can I control optical out volume with Rockbox?
« Reply #1 on: January 13, 2009, 04:21:04 AM »
As you have discovered the Volume control doesn't work on the digital output but you should be able to apply smaller changes with some of the DSP functions - by which I mean Replay Gain (Pre-Amp) or Equealizer (Precut), but I don't think that either will give you full range (96dB) adjustment.
Logged

Offline haloxt

  • Member
  • *
  • Posts: 2
Re: How can I control optical out volume with Rockbox?
« Reply #2 on: January 13, 2009, 10:20:40 AM »
Yay changing precut to -24db made it at a listenable volume ^^. Replaygain didn't affect the volume though. I have two more questions though.

1. Does using pre-cut degrade the optical out sound quality? It sounds not so clear going into my sound card optical in and from my sound card into my headphones. It could just be because of my sound card though, it's a $200 headphone sound card but I wouldn't be surprised if their optical in was not well made. The optical cable I got for just this application was also just 6 bucks :p.

2. Anything I should be careful of that might reset my EQ settings? Because if it goes back to 0db my ears are gonna get a soundblast again which happened the last time I tried this set-up even with volume on rockbox and computer set to 0 :p.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: How can I control optical out volume with Rockbox?
« Reply #3 on: January 13, 2009, 10:28:31 AM »
Quote from: haloxt on January 13, 2009, 10:20:40 AM
2. Anything I should be careful of that might reset my EQ settings?

Save a copy of your config file then cut out all the entries except the pre-cut setting and rename the file fixed.cfg.

This will ensure the setting is reloaded every time your player starts up. Other than that, don't accidentally reset settings
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: How can I control optical out volume with Rockbox?
« Reply #4 on: January 13, 2009, 11:12:21 AM »
Quote from: haloxt on January 13, 2009, 10:20:40 AM
Yay changing precut to -24db made it at a listenable volume ^^. Replaygain didn't affect the volume though. I have two more questions though.

1. Does using pre-cut degrade the optical out sound quality? It sounds not so clear going into my sound card optical in and from my sound card into my headphones. It could just be because of my sound card though, it's a $200 headphone sound card but I wouldn't be surprised if their optical in was not well made. The optical cable I got for just this application was also just 6 bucks :p.

Yes, it does degrade the signal because by decreasing the amplitude you're decreasing the number of bits used.  The full range of a 16 bit signal is 2^16 = 65536.  If you scale that by -24db you get 65536 * (10 ^ -2.4) = 261.  That's close to 8 bits (256).  This is a noticeable decrease in quality, especially in quiet parts (which use very few bits).

It's probably best to get an inline volume control and put it between the headphone jack and headphones.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How can I control optical out volume with Rockbox?
 

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

Page created in 0.082 seconds with 15 queries.