SIDex plugin

Started by Keltic Danor,

Sebby75

Yay !! Testing again...

And after 2 minutes I have managed to stumble upon tune (attached) that is crashing XMPlayer with version 0.5 of the plugin but plays fine with version 0.4.
Player window closes when I attempt to play it... Error message pops up when I try to add it to playlist.

Also had it play up with songlengths moment ago... it worked and then suddenly stopped to work and insisted on play time inputted in "default duration" instead.
Deleting path to songlengths (leaving box blank) and attempting to play anything results in XMPlay crashing.. After restart XMPlay is still crashing until new path to songlengths is provided..

Sorry !! Back to testing

Kindest regards
Sebby75

Keltic Danor

#21
Thanks for the feedback!

Don't forget the DOCUMENTS path is now like this, no Songlengths.md5 in the path:

C:\_Resources\C64\C64Music\DOCUMENTS\
../C64Music/DOCUMENTS/

Sorry about the problems, I guess I changed a lot of stuff around today. :P

Sebby75

Damn you're quick...
 
I was writing comments to 0.5a as it was still trying to show STIL info in samples tab and crashing when switching between messages and samples tab (showing sometimes different garbage in samples tab after every switch)

...and you have gone through 2 further builds since...

Love it !!! back to testing :)

Keltic Danor

#23
Actually about that, some more changes, figured out the 8580 filter issue....

-New Update listed below-

Dhry

Echoing Sebby's thoughts. Woke up this morning, had a crapload of work to get through and have only just checked in here to find multiple new versions to look at. Man, you have done an IMMENSE amount of work in the last couple of days and I cannot begin to express my appreciation for it. Have download 0.6b and am listening right now. I love it so far - filter mode and percentage works great, although I'd like number fields or sliders rather than 5-increment dropdown. Everything else works and sounds good, seeking is great and just from a five min messaround it seems to have everything I want. Will keep playing throughout the day.

Thanks again!
DRS

Dhry

One thing I have noticed is that when starting a new SID playing, there's an audible "click" sound. This is not present in the original Fraggie plugin and I think it's because there's an option "Try to attenuate power-on noise", there's also a power-on delay option in the other plugin. I'm trying to concentrate just on really obvious things right now, the nice to haves can certainly come later, but - is there any way of easily dealing with the click upon new SID playback?

DRS

Keltic Danor

#26
I did wonder what that was for, I'll have a go at adding it later, I'm just going to remove the core setting for now and put it there.

yoba

Very nice!  8)

However, not compatible with XP due to unsupported function GetTickCount64 in KERNEL32.dll

Keltic Danor

#28
Sorry about Windows XP but I don't have a windows XP machine so not sure I can fix that one myself.
I'm not sure what "Try to attenuate power-on noise" means but hopefully the power delay thing works well enough.

Dr. Fiemost

The power-on delay is just a small loop in the init routine to allow the system to settle down but it won't prevent the SID click.
I think that feature could be achieved with a few milliseconds fade-in so the volume can reach its full value after the noise.

Keltic Danor

Quote from: Dr. FiemostThe power-on delay is just a small loop in the init routine to allow the system to settle down but it won't prevent the SID click.
I think that feature could be achieved with a few milliseconds fade-in so the volume can reach its full value after the noise.
Ooh I see, okay will have to look into it. Thanks mate.  :)

Keltic Danor

#31
Quote from: DhryOne thing I have noticed is that when starting a new SID playing, there's an audible "click" sound. This is not present in the original Fraggie plugin and I think it's because there's an option "Try to attenuate power-on noise", there's also a power-on delay option in the other plugin. I'm trying to concentrate just on really obvious things right now, the nice to haves can certainly come later, but - is there any way of easily dealing with the click upon new SID playback?
I've had a little success removing the click by trimming the starting audio a bit but I'm not quite sure how much to trim, perhaps I should leave that to someone cleverer with the sound side of things to do it properly with detection instead of blindly lopping things off like I am.

But just for an experiment I made one with click removal cut offs with some random figures.
https://support.xmplay.com/temp/xmp-sidex0.7testonly.zip

This is just a test one to see if chopping the start off by a bit will do what you want, note that you can just edit the XMPlay.ini (while XMPlay is closed) and manually put in whatever number you want. I uh... probably would'nt recommend it for everyday use though, just as an experiment.

Dhry

Quote from: Keltic DanorI've had a little success removing the click by trimming the starting audio a bit but I'm not quite sure how much to trim, perhaps I should leave that to someone cleverer with the sound side of things to do it properly with detection instead of blindly lopping things off like I am. But just for an experiment I made one with click removal cut offs with some random figures.
https://support.xmplay.com/temp/xmp-sidex0.7testonly.zip
This is just a test one to see if chopping the start off by a bit will do what you want, note that you can just edit the XMPlay.ini (while XMPlay is closed) and manually put in whatever number you want. I uh... probably would'nt recommend it for everyday use though, just as an experiment.

This version definitely does improve the click. Even at max value I was noticing a tiny little click at the start of one particular track, \HVSC\MUSICIANS\S\Spider_Jerusalem\Freak_Out.sid, so I edited xmplay.ini and took the value up to 15000, then even 18000. The click was still there, BARELY audible, but then when I went back to other tracks such as Gerry_the_Druid (in the same folder) I realised that a millisecond or two of the track was now being cut off with those higher values. I went to 10240, max selectable in the sidEx dropdown, and it was better, no more cutoff, but click still there. IMPROVED though. With 10240 Hubbard's Lightforce.sid was still cut off, had to drop back to 5120 for that to sound good. So it's not one size fits all, but can definitely live with it for now.

As DrFiemost says, it MIGHT be fully fixable with a little volume ramp-up, and I think that's what Fraggie was doing in his plugin. "Attenuate power-on noise" might be his way of somehow intelligently analyzing the click at the start of playback and attempting to get rid of it with ramping or whatever. But this is getting niggly right now and I don't want to distract you from more important or fun fixes/additions with the plugin. I'm SUPER happy with it right now and was using it pretty much all yesterday. I can tell you that this right now is precisely what I've been looking for, if Fraggie had just updated his plugin with the latest libSidplay I would have been happy since there was pretty much nothing else that needed fixing in it. (I know others' mileage might vary there though)

Last quick question - I'm using an ollllllllld theme called Windows Classic 2, just because I'm OCD about padding and space wastage when it comes to the playlist and library list. To get to STIL information about a track I have to rightclick it and do Plugin File Info, which then pops up a window including STIL text. But if, while that window is on screen, I start playing a different track, the window contents don't update to match. I have to OK it then open Plugin File Info again. There's ten billion skins out there and I know you're a skin guru as well, so can you tell me if there's a skin or other way that I can have a window permanently on the screen which autorefreshes in realtime with the STIL info of the currently-playing track without needing to be manually closed and reopened?

Cheers
DRS

Keltic Danor

Quote from: DhryThis version definitely does improve the click. Even at max value I was noticing a tiny little click at the start of one particular track, \HVSC\MUSICIANS\S\Spider_Jerusalem\Freak_Out.sid, so I edited xmplay.ini and took the value up to 15000, then even 18000. The click was still there, BARELY audible, but then when I went back to other tracks such as Gerry_the_Druid (in the same folder) I realised that a millisecond or two of the track was now being cut off with those higher values. I went to 10240, max selectable in the sidEx dropdown, and it was better, no more cutoff, but click still there. IMPROVED though. With 10240 Hubbard's Lightforce.sid was still cut off, had to drop back to 5120 for that to sound good. So it's not one size fits all, but can definitely live with it for now.

As DrFiemost says, it MIGHT be fully fixable with a little volume ramp-up, and I think that's what Fraggie was doing in his plugin. "Attenuate power-on noise" might be his way of somehow intelligently analyzing the click at the start of playback and attempting to get rid of it with ramping or whatever. But this is getting niggly right now and I don't want to distract you from more important or fun fixes/additions with the plugin. I'm SUPER happy with it right now and was using it pretty much all yesterday. I can tell you that this right now is precisely what I've been looking for, if Fraggie had just updated his plugin with the latest libSidplay I would have been happy since there was pretty much nothing else that needed fixing in it. (I know others' mileage might vary there though)
Yeah it was a bit rough, but interesting nonetheless, I'll leave it on the to do list and see what I/someone can come up with.

Quote from: DhryLast quick question - I'm using an ollllllllld theme called Windows Classic 2, just because I'm OCD about padding and space wastage when it comes to the playlist and library list. To get to STIL information about a track I have to rightclick it and do Plugin File Info, which then pops up a window including STIL text. But if, while that window is on screen, I start playing a different track, the window contents don't update to match. I have to OK it then open Plugin File Info again. There's ten billion skins out there and I know you're a skin guru as well, so can you tell me if there's a skin or other way that I can have a window permanently on the screen which autorefreshes in realtime with the STIL info of the currently-playing track without needing to be manually closed and reopened?
Oh the plugin file info is actually coming from the winamp plugin, but even if I put the STIL in the file info from XMPlay it is still song specific and won't change with the tracks. I'm afraid the only window that has the STIL info dynamic is the Message one.

So not sure, might need to ask the big cheese about that one.  :)

Keltic Danor

#34
This one is mostly minor changes and a couple more options some crash fixes though so recommended, I don't think I've broken anything that I noticed.

Dhry

#35
Nice work! Please reinclude the rudimental click removal cutoff feature from 7b though. I'll still be using that.

DRS

Edit: You're cracking me up. It's got so I have to come back here and refresh the thread to see if there are any updates to the plugin because you're editing your existing entry (which doesn't send us a notification that anything was updated). Might be an idea to edit the first post on the entire thread with the most current plugin info, and then perhaps post a new entry each time you update the plugin with the new details. Either that or happy to use Github if there's a way to subscribe to proactive new release notifications there?

Dhry

Hey there. Github says 0.9 released, would love to get a copy of it but there are no compiled releases on the git page. Pls post :-)

DRS

Sebby75

Quote from: DhryHey there. Github says 0.9 released, would love to get a copy of it but there are no compiled releases on the git page. Pls post :-) DRS

Give him some rest.. He is probably sleeping.. Different time zone...
He must be tired after a solid week of researching, messaging multiple people for help, coding, tweaking, learning this and that, then coding and tweaking some more.

This is already the best and most up to date sid input plugin for XMPlay... anything he adds from now on is just a bonus...

Regards
Sebby75

Dhry

Posts in forums aren't by definition supposed to require immediate action. He'll get to it when he feels like it.

FWIW I'm also Australian and well aware of the time zone.

DRS

Keltic Danor

Hey guys,

Don't worry will release v0.9 soon-ish, I've been trying out all sorts of things and not all of them particularly stable so I'm taking a minute to run it by Ian first before I accidentally release Shodan or something else nefarious.