mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2005
Posts: 8
N
NeoFLN Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Aug 2005
Posts: 8
I have found an error on mirc sound system. To view just /splay a mp3 file 320 or 256 kbps with 44 or 48 khz, this error ocour in delphi mediaplayer component too and the solution for this is mIRC are ->
alias splay2 {
splay yourmp3filewith320or256with44or48.mp3
verifysampbit
}
alias verifysampbit {
if ($mp3(%musicatual).bitrate = 256) {
if ($left($mp3(%musicatual).sample,2) == 44) { splay seek 360 }
elseif ($left($mp3(%musicatual).sample,2) == 48) { splay seek 460 }
else { splay seek 1000 }
}
if ($mp3(%musicatual).bitrate = 320) {
if ($left($mp3(%musicatual).sample,2) == 44) { splay seek 560 }
elseif ($left($mp3(%musicatual).sample,2) == 48) { splay seek 460 }
else { splay seek 1000 }
}
}

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I tried your "bug", and while I don't know what you got, I got no sound. Additionally, I got no sound when I tried your fix either. So far as I can tell, your fix, as you have it posted, and with the actual filename being replaced where it should be, doesn't work.

Joined: Aug 2005
Posts: 8
N
NeoFLN Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Aug 2005
Posts: 8
ok heheheh i dont remeber to modify my personal script to post smile but if use ->
splay2 {
set %musicatual yourmp3with320or256with44or48.mp3
splay %musicatual
verifysampbit
}
thats all

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Tried it, still no luck. Maybe if you explained how you got those seek numbers, I could figure out what's not working for me.

Joined: Aug 2005
Posts: 8
N
NeoFLN Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Aug 2005
Posts: 8
for me work fine in delphi and mirc heheheh smile but i try the seeks numbers in mirc after discover that function in delphi media player component. if you would like i can send my personal player for me in mirc 6.16 it is perfect. thanks.

Joined: Dec 2002
Posts: 109
T
Vogon poet
Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
Thankyou NeoFLN, this solves a problem I was having with certain files not playing any sound until I seeked them.

This wasn't too much of a problem (except being a nuisance) until I wrote a plug-in for AudioScrobbler, which implemented their rule that if a song was seeked then it shouldn't be added to the Recent Played Songs list. And I wanted these songs on my list. laugh

I am too curious how you found those seek positions, though?!

Cheers.


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"
Joined: Dec 2002
Posts: 109
T
Vogon poet
Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
Curious, though, is that not ALL songs with the above bitrates/samplerates display this problem. This means that although some songs are being fixed, my script now skips the first fraction of a second off the beginning of some working songs. Bah!

Might switch to DLL-based media playing anyway.


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"

Link Copied to Clipboard