mIRC Home    About    Download    Register    News    Help

Print Thread
N
NRJ
NRJ
N
Can I manually fade-out a song with Winamp via mIRC? In Winamp it's the shortcut: shift + v, but how can I say Winamp from another program (mIRC), that it have to fade-out the current song? Is that someone possible?

Mathias

C
CyBot
CyBot
C
Im not 100% sure but you may want to try using /vol and $vol(mp3) or whatever, but you may need to use timers also, though im not entirely sure.
You should probably check up $sound(something-here).length and timers etc. sorry not much help :P

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
That is a possibility, but mIRC would need to make a call to Winamp (I think) to allow mIRC to use the /vol command etc. Also sorry for not providing much help. :tongue:

Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
like the other two posters, i won't be able to provide you with much help, except letting you know that what you want to do is very possible. there are a number of methods:

1. get a winamp control dll, i think dragonzap made one, and see if it has a function that will call winamp's fade out function.

if that doesn't work, or the dll doesn't support it, you could:

2. set up a timer to incrementally decrease the volume from where it was (see $vol()) down to 0, then use the winamp control dll to stop the song from playing. then, reset the volume to where it was originally, and there you go.

sorry for the not so specific answer/code, but you can take it from here.

N
NRJ
NRJ
N
Mh, the method with /vol does not work, because mIRC only set the volume of my second sound card (i have two soundcards) and I need it for my first soundcard. Can I set the volume of the first soundcard?

Mathias

Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
i'm fairly certain that mirc cannot differentiate between your first and second sound cards. did you try using the winamp control dll here?

note: this dll only works with winamp2.xx

N
NRJ
NRJ
N
Yeees, it's great! The control dll works very good, and the fade-out-feature is inside it! Thank you smile

Mathias


Link Copied to Clipboard