#144494 - 19/02/2003 12:15
Setting initial volume
|
journeyman
Registered: 14/03/2002
Posts: 70
Loc: Coventry, UK
|
Following the successful (after a while !) installation of my tuner kit, I am now using the Empeg on it's own rather than as an Aux in to my old headunit. Is there a way of setting the "on volume" to a specific value either in the Empeg software or in Hijack intitial settings? My old headunit had this feature and it was useful to avoid early morning shocks if you had the volume up high the night before !
I've had a quick look through the FAQ but couldn't see anything.
_________________________
VW Golf MKIV GT-TDI 130
MK2a 10GB blue
|
Top
|
|
|
|
#144495 - 19/02/2003 12:28
Re: Setting initial volume
[Re: GeoffT]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
I would love to see this feature, as well.
I believe it could be done in Hijack, and in fact, requested that feature here a while back.
How about it, Mark?
|
Top
|
|
|
|
#144496 - 19/02/2003 13:02
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 14/01/2002
Posts: 2858
Loc: Atlanta, GA
|
Yes, this would be great. I've often remarked to my wife that I'd love this feature.
_________________________
-Jeff Rome did not create a great empire by having meetings; they did it by killing all those who opposed them.
|
Top
|
|
|
|
#144497 - 19/02/2003 13:08
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
In fact, if it were a Flash setting instead of a config.ini setting, we wouldn't need to rob very many flash bits to store it. Because we wouldn't need it to be very granular. Maybe just -60, -40, -20, or 0. That's only what, two bits? Four if you do it separately for home and work.
|
Top
|
|
|
|
#144498 - 19/02/2003 13:17
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
Nah, we'd need more bits than that, because we'd also want the option to "not have it" at all (ie, default behavior)...
|
Top
|
|
|
|
#144499 - 19/02/2003 14:36
Re: Setting initial volume
[Re: tfabris]
|
addict
Registered: 03/03/2002
Posts: 687
Loc: Atlanta, Georgia
|
Nah, we'd need more bits than that, because we'd also want the option to "not have it" at all (ie, default behavior)...
Okay, so 5 bits.
First one 0 or 1, enabled or disabled. Then 2 for home, and 2 for car.
Of course, dosn't the player already STORE volumne info in the flash somewhere? I mean, If I turn mine down, turn it off, then turn it back on, it remembers where I set it.
So, just a little programming, and we just 'update' the location where the volumne is already stored, make it a setting in config.ini.. (Unless I'm WAY off base here. Which wouldn't suprise me..)
Me.
_________________________
Mike 'Fox' Morrey
128BPM@124MPH. Love it!
2002 BRG Mini Cooper
|
Top
|
|
|
|
#144500 - 19/02/2003 14:40
Re: Setting initial volume
[Re: tfabris]
|
enthusiast
Registered: 19/04/2001
Posts: 369
Loc: Seattle, WA (formerly Houston,...
|
perhaps I don't understand the way the player internals work, but why not just have hijack have the option of capping the boot volume in the config.ini with something like
[hijack]
max_boot_volume=-20
and then hijack would just update the stored player volume if it exceeded this. the setting could then default to +10 (no limiting). would such a solution work better than using flash bits?
Edit: aarg, my idea's been suggested.
just though to have it work the way this thread suggested it'd need to be:
[hijack]
boot_volume=-16
and have no effect if not present.
Edited by johnmcd3 (19/02/2003 14:44)
_________________________
1998 BMW ///M3
30 GB Mk2a, Tuner,
and 10 GB backup
|
Top
|
|
|
|
#144501 - 19/02/2003 14:53
Re: Setting initial volume
[Re: johnmcd3]
|
enthusiast
Registered: 14/09/2000
Posts: 363
|
Might the same setting be applied then to ttsclock? Since the clock runs before the player is loaded, you can't use the knob to adjust volume at that point.
|
Top
|
|
|
|
#144502 - 19/02/2003 15:01
Re: Setting initial volume
[Re: johnmcd3]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
There's two issues with this that would need to be addressed.
Firstly, integration with the player software. It could be made simpler if we told people that they couldn't use volume ramping with this feature. Then we'd just trap the very first volume IOCTL call in hijack and cap if neccessary. Otherwise we'd have to trap the first X calls, where X is an undefined quantity. We'd have to use the boot timer and pre-define a time during which the cap is active.
But this still might not work - I suspect that the player would complain about failed volume setting calls, unless we lied to it. We currently already lie for the volboost_ code, but the idealogy of that is opposite to what we want here, the volboost code *always* lies to the player when active, but here we wouldn't want to perpetuate the lie beyond the end of the volume ramp. I don't know how the player would react if it thought that the volume was X dB and then it finds out that it was really X-25 dB. It might deal with it fairly gracefully, with no more than a visual anomoly, or it might not.
The second issue is that of storage. I suppose that 6 bits of flash would give 7 levels + off for both AC and DC modes, but I don't know that this feature would be worth that much flash - it's not something that you'd want to modify on a frequent basis. I suspect that config.ini would be a better place for this.
The 'perfect' solution, if time allows, is intercept the powerdown flash write, and cap the volume according to config.ini as the player writes it. That way the player would read the capped volume when it next boots, and ramp accordingly.
Yes, it could be achieved in hijack fairly easily, but I suspect that it would be trivial to include in the player software itself, and ideally this is where it should live.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#144503 - 19/02/2003 15:28
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
|
Has no one yet identified space on the scratch partition that could be used instead of flash ?
_________________________
Remind me to change my signature to something more interesting someday
|
Top
|
|
|
|
#144504 - 19/02/2003 15:42
Re: Setting initial volume
[Re: andy]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
Has no one yet identified space on the scratch partition that could be used instead of flash ?
Reserved space? IIRC there is none. According to peter, the scratch partition as currently laid out doesn't even have enough room to store running orders of grzelakian proportions across reboots.
However, I did get the impression that post-2.0 they were going to increase the density of the FID/running order entries in hda3 beyond one FID per sector. If that were done, maybe we could ask them real nicely if they could set aside some space at the end which would be reserved for user hacks. Then we'd just have to have an Empeg Assigned Sectors Authority responsible for doling out sector numbers to application developers. And then we'd have speculators buying up all the sectors and reselling them. See the can of worms you've opened?
|
Top
|
|
|
|
#144505 - 19/02/2003 16:15
Re: Setting initial volume
[Re: genixia]
|
enthusiast
Registered: 19/04/2001
Posts: 369
Loc: Seattle, WA (formerly Houston,...
|
but hijack gets to parse the config file before the player does it volume ramping (the way i understand it), so can't you have hijack (if necessary) set the appropriate flash bits for the final volume level and just let the player deal with ramping on it's own?
_________________________
1998 BMW ///M3
30 GB Mk2a, Tuner,
and 10 GB backup
|
Top
|
|
|
|
#144506 - 19/02/2003 16:30
Hijack v317: Volume Level on Boot
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Okay, it took two flash bits -- one for AC, one for DC -- I just assumed that there'd be howls of misery if this feature didn't remember AC/DC separately.
To use it, look for the "Volume Level on Boot" entry on the Hijack menu (long knob press). If you cannot figure it out, too bad!
EDIT: Hijack v317 is out now, but wait for v318 which fixes a typo on the menu display.
Cheers
Edited by mlord (19/02/2003 16:50)
|
Top
|
|
|
|
#144507 - 19/02/2003 16:32
Re: Setting initial volume
[Re: genixia]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
It could be made simpler if we told people that they couldn't use volume ramping with this feature. Then we'd just trap the very first volume IOCTL call in hijack and cap if neccessary. Ah, I think that's way overkill. That's not what we need.
We've already got a volume cap command in the player software. We don't need to cap every volume adjustment. We just need to cap the value that gets written to flash.
See, when the player boots, it's reading the flash and ramping *to* that. Whatever's in the flash. We wouldn't even have to intercept *reads* from the flash, just the power-down *write*. And just make sure that value is no larger than X.
|
Top
|
|
|
|
#144508 - 19/02/2003 16:35
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
Well, that was a really pointless post.
MARK, YOU ARE THE MAN!
/me presses refresh on the Hijack site...
|
Top
|
|
|
|
#144509 - 19/02/2003 16:48
Hijack v318: fixed "messy" Volume Level screen
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Well, I guess I'll have to put out a v318 to fix the "wrapping-e" from v317 on the "Volume Level on Boot" screen..
So if y'all haven't grabbed v317 yet, then wait another 10 minutes or so for v318.
-ml
|
Top
|
|
|
|
#144510 - 19/02/2003 16:55
Re: Setting initial volume
[Re: tfabris]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Well, that was a really pointless post.
In that case, it's probably pointless referring you to the paragraph that starts "The 'perfect' solution" in my previous post.
I'm intruiged as to how Mark's implemented this. Since I've now gotten my server back up, I should have time to look at the diff.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#144511 - 19/02/2003 17:07
Re: Setting initial volume
[Re: genixia]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Look for "volumelock" in the patch file, specifically in empeg_state.c
Cheers
|
Top
|
|
|
|
#144512 - 19/02/2003 17:08
Re: Hijack v318: fixed "messy" Volume Level screen
[Re: mlord]
|
pooh-bah
Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
|
Damn - the master beat me to it. I was just working on exactly this feature. Although I was doing it the hard way and limiting the volume ramp on power on rather than simply intercepting the volume save on power off.
Does the hijack version allow lower than set value? i.e. I set the hijack version to a reasonably high -20db to prevent major heart attacks. If I actually have the player set lower than -20db it will ramp up to the lower value?
Oh well.... Thanks for adding it
Edited by Shonky (19/02/2003 17:11)
_________________________
Christian #40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)
|
Top
|
|
|
|
#144513 - 19/02/2003 17:14
Re: Setting initial volume
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
Can you explain what the two options mean? I'm not sure I understand what it's supposed to be doing (it's not doing what I expected it to do).
I want it to always boot at 0db in home mode, and always boot at -40db in car mode. What sequence of actions to I perform to make that happen?
|
Top
|
|
|
|
#144514 - 19/02/2003 17:25
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
>I want it to always boot at 0db in home mode, and always
>boot at -40db in car mode. What sequence of actions to I
>perform to make that happen?
1. Go into the Hijack menu, and select the "Volume Level on Boot" screen.
2. Select "Previous" as the setting, which will restore whatever volume level was previously in use (at poweroff) on the next boot ("normal operation"). Press Menu/Knob to save the setting.
3. Exit from the Hijack menus.
4. Dial the volume you want it to restore to, be it 0db, -40db, or whatever.
5. Go back into the "Volume Level on Boot" screen, and change the setting to "Current". Press Menu/Knob to save the setting.
Repeat the above for each of AC/DC (while running on the appropriate power source, or using Force AC/DC from Hijack) if desired.
EDIT: I'll welcome suggestions for better settings labels (within screen confines)
Cheers
Edited by mlord (19/02/2003 17:27)
|
Top
|
|
|
|
#144515 - 19/02/2003 17:31
Re: Setting initial volume
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Or, the short version:
"Previous" means "use default Empeg behaviour" -- most recent volume level at poweroff is restored on boot.
"Current" means remember current volume level at the instant you press Menu/Knob on the "Volume Level on Boot" screen in Hijack.
BUG: If setting was already "Current", and you re-enter the menu to set "Current" again for a new volume level, nothing changes.. Ooops. You have to set it to "Previous", exit, change the volume, and then go back and set it to "Current" again.
I'll see if I can fix that in v319.
|
Top
|
|
|
|
#144516 - 19/02/2003 17:50
Hijack v319: Fixed bug in Volume Level on Boot
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
It should work better now.
v319 will be out in 10 minutes or so.
-ml
|
Top
|
|
|
|
#144517 - 19/02/2003 18:17
Re: Setting initial volume
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
|
Hmm, even 319 isn't doing what I'm hoping/expecting it will do. I followed those steps, and it's not restoring it to 0db on a reboot in AC power. Hm.
Anyone else get it to work?
|
Top
|
|
|
|
#144518 - 19/02/2003 18:47
Re: Setting initial volume
[Re: tfabris]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
I just tried it out in DC mode and it works pretty well.
The only issue that I had was when set to Current mode, if you adjust the volume as it ramps up, it seems to reset the saved volume.. Doing that a couple of times can get you down all the way with no easy way to adjust the volume without setting it to Previous, etc.
|
Top
|
|
|
|
#144520 - 19/02/2003 19:18
Re: Setting initial volume
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Yeah, it's very badly broken..
I guess I'll spend more than 5-minutes on it this time..
gimmeasec
|
Top
|
|
|
|
#144521 - 19/02/2003 19:26
Re: Setting initial volume
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
A sec is more than 5 minutes?
Is part of your linux contracts dealing with a time machine?
_________________________
Bitt Faulk
|
Top
|
|
|
|
#144522 - 19/02/2003 19:28
Re: Setting initial volume
[Re: wfaulk]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
All programmers are optimists, including Murphy.
-ml
|
Top
|
|
|
|
#144523 - 19/02/2003 19:50
Hijack v320: Volume Level on Boot (again!)
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Okay, this time I actually put away my paid work for half an hour, and worked through the Volume Level feature again, simplified and rewrote most of it, and here it is.. works for me!
Hijack v320, available at quality websites near you (soon).
-ml
|
Top
|
|
|
|
#144525 - 19/02/2003 23:51
Re: Hijack v320: Volume Level on Boot (again!)
[Re: tfabris]
|
Pooh-Bah
Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
|
Holy crap!
less than 12 hours from suggestion to implementation!
Anyone who suggests that Mark is not THE MAN will be beaten up and have thier empeg removed.
_________________________
--
Murray
I What part of 'no' don't you understand?
Is it the 'N', or the 'Zero'?
|
Top
|
|
|
|
#144526 - 20/02/2003 00:17
Re: Hijack v320: Volume Level on Boot (again!)
[Re: mlord]
|
enthusiast
Registered: 18/02/2002
Posts: 335
|
I just tried out 320 and its a really cool feature, thanks for the hard work. The amount of user development for the empeg still amazes me.
|
Top
|
|
|
|
#144527 - 20/02/2003 00:17
Re: Hijack v320: Volume Level on Boot (again!)
[Re: muzza]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
Holy crap!
less than 12 hours from suggestion to implementation!
For Mark, that's actually a long time. Heck, even I went from suggestion to implementation in 3 hours tonight with a brand new program. When you catch a hacker at the right time with the right suggestion, it's almost impossible to stop.
|
Top
|
|
|
|
#144528 - 20/02/2003 09:46
Re: Hijack v320: Volume Level on Boot (again!)
[Re: tonyc]
|
journeyman
Registered: 14/03/2002
Posts: 70
Loc: Coventry, UK
|
Mark et al,
Thanks for the incredibly quick response to my request. I have only just looked at the BB again since my enquiry and there are 33 replies (34 now !) and several up-issues of Hijack to implement a solution.
If only everything in life was as reliable as the Empeg BB !
Geoff
_________________________
VW Golf MKIV GT-TDI 130
MK2a 10GB blue
|
Top
|
|
|
|
#144529 - 20/02/2003 10:32
Re: Hijack v320: Volume Level on Boot (again!)
[Re: tonyc]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
When you catch a hacker at the right time with the right suggestion, it's almost impossible to stop.
I want to know which brands of coffee/pizza/coke you guys are on. I could use some.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#144530 - 20/02/2003 12:04
Re: Hijack v320: Volume Level on Boot (again!)
[Re: genixia]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
I want to know which brands of coffee/pizza/coke you guys are on. I could use some.
I dunno, you did the volboost stuff, right? That was a winner. As for what I'm on, nothing really, it's just that the alternative to playing around with lrctool was to do my school work, and, well, I'm sure you know who wins that battle.
As for how Mark gets his Linux stuff done while assembling tuners, building docking stations, and implementing complex features in Hijack... AND still manages to stay very involved on the BBS... I'm just guessing he fell from another planet. Let's hope he sticks around for awhile longer before returning home!
|
Top
|
|
|
|
#144531 - 20/02/2003 12:12
Re: Hijack v320: Volume Level on Boot (again!)
[Re: tonyc]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
But when rock-climbing season returns.. THEN I'm outa here!
|
Top
|
|
|
|
#144532 - 20/02/2003 12:40
Re: Hijack v320: Volume Level on Boot (again!)
[Re: mlord]
|
carpal tunnel
Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
|
Thank god you don't snowboard, with that and climbing you'd never be concentrating on work
Hugo
|
Top
|
|
|
|
#144533 - 20/02/2003 13:06
Re: Hijack v320: Volume Level on Boot (again!)
[Re: altman]
|
addict
Registered: 27/02/2001
Posts: 569
Loc: Albany, NY
|
Hey, stop giving him ideas.
|
Top
|
|
|
|
#144535 - 20/02/2003 13:21
Re: Hijack v320: Volume Level on Boot (again!)
[Re: altman]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Thank god you don't snowboard, with that and climbing you'd never be concentrating on work
Although he might be able to get back quicker!
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#144536 - 20/02/2003 14:31
Re: Hijack v320: Volume Level on Boot (again!)
[Re: mlord]
|
carpal tunnel
Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
|
DAMN! Remind me to go snowboarding with you next time. Wow.
|
Top
|
|
|
|
#144537 - 20/02/2003 18:45
Re: Hijack v320: Volume Level on Boot (again!)
[Re: loren]
|
new poster
Registered: 03/05/2002
Posts: 34
Loc: Queensland, Australia
|
Wow !! just caught up on the BBS, reading through this thread, can't believe the capabilities of Mark.
An idea turned into reality just like that !!!
Awesome dude !
Another assurance that i bought the right MP3 player !!
(nothing else compares)
|
Top
|
|
|
|
#144538 - 21/02/2003 13:42
Re: Hijack v320: Volume Level on Boot (again!)
[Re: accept]
|
journeyman
Registered: 14/03/2002
Posts: 70
Loc: Coventry, UK
|
I've just loaded V320 of Hijack to take advantage of the new boot volume facility. This works great but since I've loaded it I'm getting some odd behaviour - whenever I re-start in car mode, Info reverts to Line rather than the last setting and some of my ir-translates for the Sony stalk seem to have reverted to an earlier version of my config.ini. Emplode shows config.ini as I expect and I've re-synchronised but that has not helped. It's as if it has got a back-issue of my config.ini (that it won't let me see) and is using that instead
Is this possible?
Am I going mad?
_________________________
VW Golf MKIV GT-TDI 130
MK2a 10GB blue
|
Top
|
|
|
|
#144539 - 21/02/2003 13:57
Re: Hijack v320: Volume Level on Boot (again!)
[Re: GeoffT]
|
enthusiast
Registered: 07/03/2002
Posts: 211
Loc: State side
|
Am I going mad?
I dunno. How many legs does this elephant have?
Attachments
142808-elephant.gif (122 downloads)
_________________________
_______ Tobin Mark IIa - 60gb - Smoke [blue]fitter, happier, more productive[/blue]
|
Top
|
|
|
|
#144540 - 21/02/2003 14:34
Re: Hijack v320: Volume Level on Boot (again!)
[Re: butter]
|
journeyman
Registered: 14/03/2002
Posts: 70
Loc: Coventry, UK
|
What elephant? All I see is is an Empeg Tuner circuit diagram.
_________________________
VW Golf MKIV GT-TDI 130
MK2a 10GB blue
|
Top
|
|
|
|
#144541 - 24/02/2003 23:24
Re: Setting initial volume
[Re: mlord]
|
journeyman
Registered: 12/01/2003
Posts: 64
Loc: Germany
|
Idea for the "Previous" settings:
From my last car stereo I know the following possibility, which is quite simple but very powerful:
- store the previous volume level for each individual operation mode (player, tuner, aux) and even for traffic alarms separately
- restore to the previous volume level when switching to the operating mode, e.g. to previous level of tuner when switching to tuner or to previous level of traffic alarm when an alarms comes in (even if you are already in radio mode)
Could such a feature be part of hijack ?
Juergen
|
Top
|
|
|
|
#144542 - 25/02/2003 07:48
Re: Setting initial volume
[Re: fossi]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Except for the TA part, this is already implemented in hijack.
Check out the volboost_ settings in the FAQ
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#144543 - 25/02/2003 09:34
Re: Setting initial volume
[Re: genixia]
|
journeyman
Registered: 12/01/2003
Posts: 64
Loc: Germany
|
O.K., but I don not mean a pre-defined volume-level, which is stored in the config-file. The idea is to store the volume level, which is actually set during operation.
So if you adjust the volume during a traffic alert the same volume level will be used next time during a TA.
Juergen
|
Top
|
|
|
|
#144544 - 25/02/2003 09:48
Re: Setting initial volume
[Re: fossi]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
The only truly feasible method for doing this in Hijack would be for Hijack to completely take over the volume controls. Completely -- not even passing the volume buttons (remote) or knob volume changes through to the player software.
It could then accurately track and maintain separate volume settings for each mixer input (AM/FM/MP3/AUX), and switch between them whenever it notices the player software selecting a different mixer input.
But where to store these?
The player software uses 7-bits each for AC/DC "master volume" memory. For Hijack to also provide AC/DC, it would need as much as four times that amount, or 56 bits in total. It can re-use the existing 7+7 bits, so we'd just need to "appropriate" an additional 42 bits (5+ bytes) of the flash savearea.
There's not much space left there to grab, and this would be a HUGE use of it, displacing other potential uses/features.
Is it worth it?
|
Top
|
|
|
|
#144545 - 25/02/2003 10:31
Re: Setting initial volume
[Re: mlord]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
I still can't see any benefits for fossi's idea - the volboost_ parameters are relative to the current volume which makes sense to me from the user perspective. The whole motivation for the volboost_ code is to eliminate users' needs to adjust the volume when switching between MP3,FM,AM and Aux modes, and storing absolute values for each would simpy reintroduce that in many cases. People listen to their empegs at different volumes depending upon differing circumstances - time of day, speed, mood, number of passengers etc, and absolute volumes would soon become a maintenance chore.
Yeah, it would be nice to have the volboost_ parameters in flash rather than in config.ini. But that goes for a lot of other parameters too. I don't think that tweaking the volboost_ parameters should be too difficult or time consuming, although being tunerless myself, I'll defer to someone that has actually done it to confirm or deny that statement. Once it has been done well, it's not something that is likely to change often. In principle, knowing that each volboost_ step is 0.5dB for most of the usable volume range of the empeg means that you could sit in your car for five minutes, note down the adjustments that you make to the volume for each mode, and use those figures as a start point.
I'm not sure whether hijack has any obvious visibility into TA mode switches anyway. But if it does then I'd suggest that a volboost_ parameter could be added for TA mode. (And also for WB mode when the player supports it)
And I can't see any other reason to hijack the volume control completely away from the player either.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#144547 - 25/02/2003 12:58
Re: Setting initial volume
[Re: genixia]
|
journeyman
Registered: 12/01/2003
Posts: 64
Loc: Germany
|
O.K. if memory is rare there should not be a waste of resources and for switching between MP3/AM/AUX/... predefined values are also useable.
But for the traffic alert part it would be very helpful to have a adjustable volume level, not a prestored adjustment. With this feature you could e.g. lower volume when driving with guests but still hear traffic alerts. A prestored absolut value could also be feasible but with one disadvantage: when driving in town volume level for TA will be equal as when driving on an Autobahn.
Juergen
|
Top
|
|
|
|
#144548 - 25/02/2003 14:46
Re: Setting initial volume
[Re: genixia]
|
old hand
Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
|
VolBoost works very well for me (thanks, Genixia).
It took me a long time to set up, though - a day or so for each adjustment (assuming I remember to edit config.ini every time I came to work). Even if I did it as fast as possible, it's still a 5-minute round-trip to the car; add on the time to get in and boot up, and it's still quite slow.
One thing that would help would be to be able to adjust and see the volboost settings interactively, even though they won't be saved on power-down (so you can later type the right numbers into config.ini). And maybe a lock-down setting in the config file (default locked) to remove the menu item; then you'd have to understand its transience when you enable it...
It's too late to be of use to me, of course (unless I get something to plug into Aux), but I thought I'd suggest it.
_________________________
Toby Speight 030103016 (80GB Mk2a, blue) 030102806 (0GB Mk2a, blue)
|
Top
|
|
|
|
|
|