Unoffical empeg BBS

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

Topic Options
#77146 - 02/03/2002 12:23 Crossfading in HiJack?
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Just reading about this somewhere else on the bbs, so here is an official feature proposal for Hijack:

what about crossfading?

If you like the idea, Mark, I'm for it too, and I guess many others here.

Thanks!
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#77147 - 02/03/2002 12:27 Re: Crossfading in HiJack? [Re: Taym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. seems like the next best place for it (if not in the player software).

Anyone who wants to implement it, go for it. Hijack accepts patches from anyone who does a decent job of it.

Cheers

Top
#77148 - 02/03/2002 12:28 Re: Crossfading in HiJack? [Re: Taym]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
I don't advise that anyone spends much time on this just yet. It's going to get a LOT easier soon(ish).

Rob

Top
#77149 - 02/03/2002 12:30 Re: Crossfading in HiJack? [Re: rob]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Cool. Does soonish mean maybe within a month or two, or does it mean perhaps by year end?

Cheers.

Top
#77150 - 02/03/2002 17:43 Re: Crossfading in HiJack? [Re: rob]
AlB
member

Registered: 06/02/2002
Posts: 149
Loc: SF
I smeellll BETA 2.0-b12......

Top
#77151 - 03/03/2002 03:36 Re: Crossfading in HiJack? [Re: AlB]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
i doubt b12 will be the next release.. it will be liek beta50 or something.. how are is the work going on rob? and now that the product is eol why is it still al hush hush about the secrect projects? i want in on the inside
_________________________
---- Justin Larsen

Top
#77152 - 03/03/2002 14:12 Re: Crossfading in HiJack? [Re: rob]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Rob, I don't know what yo uare talking about - but thank you!
_________________________
Brad B.

Top
#77153 - 04/03/2002 03:31 Re: Crossfading in HiJack? [Re: mlord]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
Does soonish mean maybe within a month or two, or does it mean perhaps by year end?

Not sure on that point.. this particular project is happening on the trunk, and it might not be a good idea to merge it back to the V2 branch.

Rob

Top
#77154 - 04/03/2002 03:33 Re: Crossfading in HiJack? [Re: justinlarsen]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
Our code tree is common to several projects; past, present and future. That's why the EOL Mk1/2/2A car player - with no official time set aside for development - will continue to benefit from new features.

Rob

Top
#77155 - 04/03/2002 08:21 Re: Crossfading in HiJack? [Re: rob]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Well, in this case I hope Mark has the time to implement a crossfading function in Hijack, if he feels like. Knowing him, I am pretty optimistic Mark?
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#77156 - 04/03/2002 09:52 Re: Crossfading in HiJack? [Re: Taym]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I have to disagree, I think that if they're working on it, even if it'll be awhile, we should avoid writing our own cross-fading mechanism. Having our own cross-fading would potentially discourage it from appearing on the Empeg.

It's also not something that would get whipped up overnight... The code would have to know what the next song is going to be so that it can fill up a sound buffer, and it'd have to know when the end of the current song is approaching so it can begin to mix the two buffers.. I don't think empeg_notify gives you either of those things...

That, and where are you going to get the decoding routines from? The player doesn't have an API for such a thing... All of these limitations are things that the Empeg developers don't have to worry about...

Edit: Oh, and earlier in this thread, Mark didn't seem keen on writing this himself, although he'd accept it as a patch... I'd love to see how someone would make this happen without having the player's decoding routines available.


Edited by yn0t_ (04/03/2002 09:53)
_________________________
- Tony C
my empeg stuff

Top
#77157 - 04/03/2002 11:36 Re: Crossfading in HiJack? [Re: tonyc]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
I really can't see how you could add cross fading in the kernel without some help from the player executable. The kernel code is reliant on getting its audio data from the player executable and the player executable currently only decodes one audio file at a time.
_________________________
Remind me to change my signature to something more interesting someday

Top
#77158 - 04/03/2002 11:56 Re: Crossfading in HiJack? [Re: andy]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Right, that's what I'm saying. I think the first lot of posts in this thread didn't really think about what would be involved "crossfading in Hijack" or cross-fading done by any 3rd party development solution... It's just not feasable...

Luckily there's been hints (from Rob above) that it is in the works for a future release, so this discussion is 100% moot. But someone said we should come up with "our own solution" until the player gets it, and there's just too many technical limitations in the way... (please don't accuse me of not having a "can do" attitude...)
_________________________
- Tony C
my empeg stuff

Top
#77159 - 04/03/2002 15:00 Re: Crossfading in HiJack? [Re: andy]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
It's not exactly impossible in the kernel, but very difficult, for sure.

I'll pass, but if anyone is really keen, I accept patches..

Top