Music Fade in Development Version

Talk among developers, and propose and discuss general development planning/tackling/etc... feature in this forum.
Post Reply
providence2010
Merchant
Merchant
Posts: 39
Joined: Sat May 07, 2005 3:07 am

Music Fade in Development Version

Post by providence2010 »

I've been testing the development version, and I have to say I really like the changes. I especially like the idea, but not necessarily the execution of the music fading in and out. I think it might need to wait a bit longer before it decides to change songs.

Anyone else think that certain songs should only change at certain times to only other specific songs?

Anyway, I'm going to play throught it a bit longer and see if I can come up with some actual solutions instead of complaints (since I don't want to be a douche).
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

all that is modifiable by you just change the playlists in the .vegastrike folder i believe that klauss used the winamp format it's described some place i am sure :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

I believe the fading time is inside the vegastrike.config.

You can see the soundserver stdout has a "i10" and "o0" for fadein and out.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

yes it is line 751 for music fade in and line 752 for music fade out.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
providence2010
Merchant
Merchant
Posts: 39
Joined: Sat May 07, 2005 3:07 am

Post by providence2010 »

Well, I guess I was thinking of something more dynamic, since sometimes songs cut out at akward times (though I will definitely start looking for better fade times in general to see if there's a better compromise). Is the sound server capable enough to allow for specific fade out points in specific songs? This would seem like the optimum solution.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

i don't know for sure the sound sever is basically just SDL's default i believe


Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

providence2010 wrote:Well, I guess I was thinking of something more dynamic, since sometimes songs cut out at akward times (though I will definitely start looking for better fade times in general to see if there's a better compromise). Is the sound server capable enough to allow for specific fade out points in specific songs? This would seem like the optimum solution.
Hi, reading my mind are you.
If you check out the music forums, there's a lot of brainstorming with even more complex schemes, but artists aren't fond of it. They don't want to do the extra work :(
In any case, it's in the plan, but the whole soundserver needs to be recoded for it to become a reality, as SDL's music facility does not facilitate the important and basic task of timekeeping :roll:

In short: not right now, but on the to-do.
In the meanwhile, you can control how fading works a bit with a tiny trick that I've found useful:

If you put song1.ogg|song2.ogg in your playlist, it will play song1 followed by song2. If you want to restrict transitions in a limited fashion, add only pairs in that fashion, but don't exagerate - they're created as temporary files on a temporary folder, so you don't want to abuse of it.

To decrease the "reaction time", you'd have to play with dj_lib.py which, I grant, isn't all that easy.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply