Author Topic: XMPlay SID plugin  (Read 374771 times)

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #225 on: 12 Feb '07 - 08:17 »
The plugin is being confused with "(#1)" in STIL comment. Fixed for next release.

guest

  • Guest
Re: XMPlay SID plugin
« Reply #226 on: 17 Feb '07 - 20:43 »

Zarggg

  • Posts: 1242
Re: XMPlay SID plugin
« Reply #227 on: 18 Feb '07 - 19:23 »
http://www.c64.org/HVSC/MUSICIANS/Z/Zyron/Bouncy_Balls_speech_PSID.sid
All subsongs are mute.

Confirmed. Each subsong is 0:02 and silent. General window output posted for debugging purposes, if necessary:
Code: [Select]
Title Johan Åstrand & Fredrik Ternell - Bouncy Balls (speech)
File Bouncy_Balls_speech_PSID.sid
Path C:\Documents and Settings\Owner\Desktop
Size 19986 bytes
Format PlaySID one-file format (PSID)
SID model MOS-8580
Clock speed VBI (PAL)
Addresses Load: $7000, Init: $bd00, Play: $bd03
MD5 c2b1b1672c5cfca6383700405dfbea61
Songs 17
Startsong 1
Lengths 1. 0:02
2. 0:02
3. 0:02
4. 0:02
5. 0:02
6. 0:02
7. 0:02
8. 0:02
9. 0:02
10. 0:02
11. 0:02
12. 0:02
13. 0:02
14. 0:02
15. 0:02
16. 0:02
17. 0:02
Length 0:02
Output 44100 hz - 16 bit - stereo

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #228 on: 19 Feb '07 - 07:35 »
Also Bouncy_Balls_PSID.sid doesn't play correctly. I have no stinking idea why the sampled sounds can't be heard...

Edit: Samples play if the 6581 SID chip is forced, so I guess 8580 emulation is broken.
« Last Edit: 19 Feb '07 - 08:15 by Fraggie »

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #229 on: 19 Feb '07 - 16:34 »
Revision 25b has been released.

Here are the changes since v25a:
 - digiboost hack emulation for 8580 chip (fixes "Bouncy Balls" samples)
 - STIL parsing improved (fixes "Empire Of Karn")
 - fade out enable option fixed
 - disabled stereo separation setting for Sidplayer files
 - off-key playing of NTSC tunes fixed
 - automatic external filter passband frequency calculation fixed
« Last Edit: 20 Feb '07 - 07:34 by Fraggie »

Knurek

  • Posts: 534
Re: XMPlay SID plugin
« Reply #230 on: 19 Feb '07 - 19:35 »
Any chance of adding (optional maybe) SID chip distortion (http://bel.fi/~alankila/c64-sw/)

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #231 on: 22 Feb '07 - 07:53 »
It's nice that someone digs in this, however it seems to me too experimental for now.

Knurek

  • Posts: 534
Re: XMPlay SID plugin
« Reply #232 on: 22 Feb '07 - 16:36 »
It's nice that someone digs in this, however it seems to me too experimental for now.

Well, it renders Mitch & Dane's Gloria much closer to real hardware then vanilla sidplay2. But yeah, I can understand your point - I understand that the patch breaks 8580 emulation?

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #233 on: 22 Feb '07 - 19:43 »
When it works flawlessly for both 6581 and 8580 we will start thinking. :)

Jace

  • Posts: 827
Re: XMPlay SID plugin
« Reply #234 on: 27 Feb '07 - 15:01 »
Anyone else experiencing silent (no error messages) crashes when a sid tune has finished?
Happened to me twice this far, first I was looping Commando, now it was changing between songs and died at the end of one..

Nothing (afaik) in watsonlogs, cleared it and setting sids to play for a while now, seeing if something shows up there. =)

SLDB, STIL etc in use, rest of the sid settings described below.

[SID]
HVSC=
Docs=
PathsHvscFolder=M:\Sids
PathsDocsFolder=M:\Sids\documents
EmuSidEnvironment=3
EmuSidModel=0
EmuSidClock=0
EmuOptimizeEnable=1
EmuSeekingEnable=1
FiltersSidFiltersEnable=1
FiltersExternalFilterEnable=0
FiltersExternalFilterPassband=0
OutputSampleRate=4
OutputChannels=1
SamplingOversampling=0
SamplingMethod=0
SamplingPassband=0
SamplingFilterScale=970
SonglenLoadDb=1
SonglenDefaultDuration=300
SonglenAddFadeOut=0
SonglenRepeatCount=0
SonglenRepeatTimeMin=20
SonglenRepeatTimeMax=60
SonglenRepeatOnlyLooped=1
MixerPanning=60
MixerSurroundEnable=1
MixerVoiceOneVolume=100
MixerVoiceTwoVolume=100
MixerVoiceThreeVolume=100
FadeInEnable=0
FadeOutEnable=0
FadeOutTime=500
FadeOutJingleTime=10
StilLoadDb=1
StilProcessOutsideHvsc=1
StilShowComposer=1
StilShowFile=1
StilShowSong=1
StilShowBugList=1
StilShowTop100=1
LoaderSkipJingles=1
LoaderJingleTime=10
LoaderFilterPeriod=0
LoaderPeriodMin=0
LoaderPeriodMax=0
MiscShowFingerprint=0
MiscShowAddresses=0


----------- additions -----------
Okay, it's happened twice more now.. After about 35-40 minutes of playing only SIDs, it dies without errors or anything, nothing gets logged in Watson.
100% reproducable on my system, hope it applies for other systems too. :D
« Last Edit: 27 Feb '07 - 20:00 by Jace »

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #235 on: 27 Feb '07 - 20:49 »
Erm... Let's hope not. :)

Jace

  • Posts: 827
Re: XMPlay SID plugin
« Reply #236 on: 27 Feb '07 - 21:59 »
If it does, it should be (more) easily fixable. :D

guest

  • Guest
Re: XMPlay SID plugin
« Reply #237 on: 3 Mar '07 - 16:10 »
Is it possible to use only XMPlay's global track looping settings with proper loop start position? Plugin's loop and fading out settings could be optionally switched off.

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #238 on: 4 Mar '07 - 08:26 »
That would be the best solution, but the SLDB doesn't provide loop point time. (And even if it did, both song length and loop point times would have to be way more accurate than it is now.)
« Last Edit: 4 Mar '07 - 08:30 by Fraggie »

guest

  • Guest
Re: XMPlay SID plugin
« Reply #239 on: 4 Mar '07 - 08:34 »
http://www.c64.org/HVSC/MUSICIANS/M/Maktone/Golden_Years.sid
has distorsions e.g. from 0:13 when SID filters are enabled.

guest

  • Guest
Re: XMPlay SID plugin
« Reply #240 on: 4 Mar '07 - 13:16 »
That would be the best solution, but the SLDB doesn't provide loop point time. (And even if it did, both song length and loop point times would have to be way more accurate than it is now.)

OK, but now when eg. XMPlay's always loop is active, looped song is just restarted from beginning instead to be smoothly continued.

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #241 on: 4 Mar '07 - 15:40 »
That's because the plugin doesn't know where is the loop, so it can't jump to the loop point when the song ends.

You can enable "add fade-out time for looped songs" and set fade-out. This way when the song ends, it will be looped automatically (by the sid player program), and the looped part will play for the fade-out time. You could also fiddle around with "repeat short songs x times" to achieve correct looping.

(Maybe guys from HVSC could add loop point feature in their song length detector...)

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #242 on: 4 Mar '07 - 15:44 »
http://www.c64.org/HVSC/MUSICIANS/M/Maktone/Golden_Years.sid
has distorsions e.g. from 0:13 when SID filters are enabled.
Frankly, I don't hear anything wrong with it... Does someone else get any distortions?

guest

  • Guest
Re: XMPlay SID plugin
« Reply #243 on: 4 Mar '07 - 15:59 »
http://www.c64.org/HVSC/MUSICIANS/M/Maktone/Golden_Years.sid
has distorsions e.g. from 0:13 when SID filters are enabled.
Frankly, I don't hear anything wrong with it... Does someone else get any distortions?

Compare eg. with sidplay2w.

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #244 on: 5 Mar '07 - 08:59 »
I'm sorry I still don't get any significant difference. The song is rather loud, so you may try switching off EQ Reverb and Auto-Amp. You can also poke around with surround and panning. Please also make sure you're using the latest plugin version.

If nothing helps, send me your xmplay.ini (via e-mail or PM).

guest

  • Guest
Re: XMPlay SID plugin
« Reply #245 on: 5 Mar '07 - 23:23 »
Set 100% pan separation, disable groovy surround, enable SID filters and compare right channel.

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #246 on: 6 Mar '07 - 08:31 »
Ok, I hear the problem now. It appears when SID filters are enabled and external filter is disabled.

Until I find a solution you can enable external filter. With auto setting it doesn't take much more resources, so I don't see a reason to disable it in the first place. ;)

guest

  • Guest
Re: XMPlay SID plugin
« Reply #247 on: 11 Mar '07 - 13:37 »
Plugin doesn't load songlengths for:
http://www.c64.org/HVSC/MUSICIANS/B/Blues_Muz/Reel_Fishing_preview.sid
Also aren't subsongs 33-44 VBI?

Fraggie

  • Posts: 714
Re: XMPlay SID plugin
« Reply #248 on: 13 Mar '07 - 21:16 »
It seems SLDB entry for this file is missing! (At least I couldn't find it in Songlengths.txt.)

Why do you think these subsongs should be VBI? If I remember right, the PSID file format supports speed information only for the first 32 subsongs. All further songs get the same speed as subsong 32 (which is CIA timer interrupt in this case).

guest

  • Guest
Re: XMPlay SID plugin
« Reply #249 on: 14 Mar '07 - 14:15 »
It seems SLDB entry for this file is missing! (At least I couldn't find it in Songlengths.txt.)

I've found in HVSC 46:
Code: [Select]
; /MUSICIANS/B/Blues_Muz/Reel_Fishing_preview.sid
a201d88d9c2ca0067f9e93202cfc4a30=1:34 1:57 1:02 0:44 0:40 1:07 3:05 1:08 1:09 0:22 1:10 1:21 0:04 0:02(G) 0:01(G) 0:01(G) 0:01(G) 0:18 0:18 0:18 0:18 0:02(G) 0:02(G) 0:01(G) 0:01(G) 0:01(G) 0:01(G) 0:01(G) 0:08 0:02(G) 0:01(G) 0:02(G) 0:01(G) 0:01(G) 0:02(G) 0:02 0:01 0:01 0:16 0:16 0:13 0:15 0:15 0:15 0:01(G) 0:04 0:04 0:01 0:01(G) 0:01(G) 0:01(G) 0:01(G) 0:01(G) 0:02(G) 0:02(G) 0:02(G) 0:01(G)


Quote
Why do you think these subsongs should be VBI? If I remember right, the PSID file format supports speed information only for the first 32 subsongs. All further songs get the same speed as subsong 32 (which is CIA timer interrupt in this case).

sidplay2w displays VBI for 33-44 and CIA for 45-57