Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#271352 - 02/12/2005 17:56 Hijack v444
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Hijack v444 is now available.

This version boosts the gain control of the cs4231a chip to max, for use when sampling Radio/Aux inputs to compute the front-panel graphical visual displays. There is no effect on visuals from the mpeg player engine, as that path does not use the cs4231a for sampling.

I have found that the v3alpha series has severely muted the visuals for Radio/Aux, so this does a little bit towards making them work again. Even with the gain at max, it's still a bit lower than I'd like, though.

There is now a new Hijack parameter for config.ini, known as visuals_gain, which can be assigned any value from 0 through 31. A value of 0 means use the player's default setting of 8 (same behaviour as prior to Hijack v444,), and values from 1..15 are straight 1.5dB gain increments. Values from 16 through 31 add a +20dB boost to the lower 1..15 values. The default is a gain of 31 (15 + 20dB boost).

Also new, the /proc/empeg_cs4231 file now shows the two most recent 16-bit samples, so you can how adjusting the gain works out. This is also to aid me in implementing record from FM some day. I may begin that by simply streaming the samples out over TCP or UDP to my 24/7 network server, and let that machine actually save the recordings.

Cheers


Edited by mlord (02/12/2005 17:58)

Top
#271353 - 02/12/2005 18:17 Re: Hijack v444 [Re: mlord]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hm.... Do you have any plans to add something to /proc (or perhaps just an ioctl) to retrieve the currently-tuned radio frequency? If so, that'd be about all I'm missing to implement something to do this.
_________________________
- Tony C
my empeg stuff

Top
#271354 - 02/12/2005 18:40 Re: Hijack v444 [Re: tonyc]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Quote:
Hm.... Do you have any plans to add something to /proc (or perhaps just an ioctl) to retrieve the currently-tuned radio frequency?


No need --it's already available by reading the flash savearea (/dev/empeg_state). The FM tuner frequency is a 32-bit (little-endian) word at offset 0x14 (as I just discovered using the Hijack Show Flash Savearea feature).

For example, I am currently listening to FM 91.5 (CBC RadioOne), and the 32-bit word reads as 0x05742de0, which in base10 is 91500000.

Cheers

Top
#271355 - 02/12/2005 18:43 Re: Hijack v444 [Re: mlord]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Cool, that's all I need. I'm already reading the savearea for something else, but didn't know the tuner freq. was in there (thought it was stored on the tuner module itself or something.)
_________________________
- Tony C
my empeg stuff

Top
#271356 - 22/01/2006 14:02 Re: Hijack v444 [Re: mlord]
crazymelki
enthusiast

Registered: 16/02/2001
Posts: 373
Loc: Switzerland
Hi Mark,

I had V443 and V444 installed on my device and found out, that when I switch between sources (tuner, AUX, player) and go back to player as a source, I can't choose any new playlists...The player hangs forever (sandglass)...If I go back to V442, then I can switch to every source and come back to player and can choose a different playlist...

Don't know, if this have todo with the digital board form Stu...

There was an other funny thing today...Car battery was draining to zero with V443... I am not sure, if the player was not switching off and I din't used my car for a while.

bye
_________________________
crazymelki.com

Top
#271357 - 22/01/2006 14:08 Re: Hijack v444 [Re: crazymelki]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
I just tried this a few times, and it worked for me -- didn't get stuck on the hourglass.

But one attempt did actually fail to play new music until I rebooted the player.

Such is life with closed source apps.. never really know what's wrong or how to fix it.

Cheers

Top
#271358 - 22/01/2006 17:18 Re: Hijack v444 [Re: mlord]
crazymelki
enthusiast

Registered: 16/02/2001
Posts: 373
Loc: Switzerland
lets say "works as designed"

Thanks
_________________________
crazymelki.com

Top
#271359 - 16/02/2006 15:12 Re: Hijack v444 [Re: mlord]
ChristianAC
new poster

Registered: 31/08/2005
Posts: 11
Quote:
Hijack v444 is now available.

I have found that the v3alpha series has severely muted the visuals for Radio/Aux, so this does a little bit towards making them work again. Even with the gain at max, it's still a bit lower than I'd like, though.





What needs to be done to get Mute working with alpha8 ??
The player just shows a Telefon-Icon but nothing really happens.

Regards

Christian

Top
#271360 - 16/02/2006 16:37 Re: Hijack v444 [Re: ChristianAC]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3995
Loc: Manchester UK
Quote:
Quote:
Hijack v444 is now available.

I have found that the v3alpha series has severely muted the visuals for Radio/Aux, so this does a little bit towards making them work again. Even with the gain at max, it's still a bit lower than I'd like, though.





What needs to be done to get Mute working with alpha8 ??
The player just shows a Telefon-Icon but nothing really happens.

Regards

Christian


I think that's a different kind of mute to what Mark is talking about.
_________________________
Cheers,

Andy M

Top
#271361 - 16/02/2006 16:48 Re: Hijack v444 [Re: ChristianAC]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
What needs to be done to get Mute working with alpha8?

Install version 2.0 final?
_________________________
Tony Fabris

Top
#271362 - 16/02/2006 19:18 Re: Hijack v444 [Re: andym]
ChristianAC
new poster

Registered: 31/08/2005
Posts: 11
Quote:


I think that's a different kind of mute to what Mark is talking about.


As long as I am able to have an undisturbed phone call,
i take any kind of mute.

How about switching to the AUX-Port ??

I've nothing on there.

So which code to put on exmute_on/off ??

Regards

Christian

Top
#271363 - 16/02/2006 19:22 Re: Hijack v444 [Re: ChristianAC]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Why not just map both of them to "Pause" ?

But to answer your question about switching to Aux, The button name is "Auxiliary" in Hijack, and to switch back to the player use "Player".

-ml

Top
#271364 - 11/04/2006 09:03 Re: Hijack v444 [Re: mlord]
ChristianAC
new poster

Registered: 31/08/2005
Posts: 11
OK. I did the maping to "Pause" of both.

In player-mode it works perfect but in tuner-mode
it shows the telephone, it shows speaker-symbol
but does nothing. You have to push the pause-button
twice. First switches the speaker-symbol away und the
second hit on the pause-button switches it back on and
also cuts the music off, which already should have been done by the mute.

Any Ideas ?

Regards

Christian

Top
#271365 - 11/04/2006 10:36 Re: Hijack v444 [Re: ChristianAC]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Quote:

Any Ideas ?



Well, Yeah!. There's been, like, an entire new thread on this topic in the meanwhile, and several new Hijack versions to provide the features required.

Something like:

extmute_off=SaveAux
extmute_on=RestoreSrc


in your case.

Top