English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 02 July 2023, 13:38   #21
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
I have a question about the reSID compatibility of playsid.library. In the case of a reSID is used to play sid files, is it still need to have a lot of CPU power?
Calabazam is offline  
Old 02 July 2023, 14:11   #22
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by Calabazam View Post
I have a question about the reSID compatibility of playsid.library. In the case of a reSID is used to play sid files, is it still need to have a lot of CPU power?
The reSID-enabled playsid.library will by default work in the original mode (as done by Per Håkan Sundell and Ron Birk) which will work on an A500.
If you enable the reSID mode (in HippoPlayer, or using a special environment variable), then a 68060 or something comparable is needed.

The latest playsid.library with reSID (and also SIDBlaster support) is available in the HippoPlayer archive: https://aminet.net/mus/play/hippoplayerupdate.lha
koobo is offline  
Old 02 July 2023, 18:10   #23
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
But how come? Is the not reSID or SIDBlaster doing the job playing through their SID? Why a 68060 is still needed if their is no emulation?
Calabazam is offline  
Old 02 July 2023, 18:39   #24
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by Calabazam View Post
But how come? Is the not reSID or SIDBlaster doing the job playing through their SID? Why a 68060 is still needed if their is no emulation?
reSID is a software emulator for the SID chip and it is quite heavy, that's why a 68060 (or something similar) is needed.

SIDBlaster is a USB-device that contains an actual SID chip. For this some CPU power is required to keep communicating through USB fast enough. I'm not sure what the exact CPU requirements are for SIDBlaster usage, I've heard it works fine with a 68060 though, but it should work with a slower CPU too.
koobo is offline  
Old 02 July 2023, 23:18   #25
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
I have now updated Hippoplayer to the latest from Aminet, installed the included playsid.library in LIBS: to replace mine and i am playing SID files with PlaySID mode ReSID 6581, reSID mode Normal and ReSID filter Internal + ext, but i only have about 2 - 3 % CPU load on a V1200 v2. I guess ReSID is not active there, as it should be more.
Sid4Amiga alone hits about 15% on my V1200v2 (45% on 68060).
Calabazam is offline  
Old 02 July 2023, 23:21   #26
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
Quote:
Originally Posted by koobo View Post
reSID is a software emulator for the SID chip and it is quite heavy, that's why a 68060 (or something similar) is needed.

SIDBlaster is a USB-device that contains an actual SID chip. For this some CPU power is required to keep communicating through USB fast enough. I'm not sure what the exact CPU requirements are for SIDBlaster usage, I've heard it works fine with a 68060 though, but it should work with a slower CPU too.
Ok i understand, i was mistaken and thought that reSID was another name for the SIDBlaster.
Calabazam is offline  
Old 04 July 2023, 09:33   #27
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by Calabazam View Post
I have now updated Hippoplayer to the latest from Aminet, installed the included playsid.library in LIBS: to replace mine and i am playing SID files with PlaySID mode ReSID 6581, reSID mode Normal and ReSID filter Internal + ext, but i only have about 2 - 3 % CPU load on a V1200 v2. I guess ReSID is not active there, as it should be more.
Sid4Amiga alone hits about 15% on my V1200v2 (45% on 68060).
Here the issue is likely that the CPU usage from playsid.library+reSID is not visible to the CPU load measuring applications which only measure CPU usage from ordinary tasks. playsid.library spends its time running inside audio interrupts and is therefore hidden, so to say.

There's one thing to try if you're interested, try the command "setenv PlaySIDDebug 1" in shell and then start playback. If you're running a classic screenmode, you should see a raster line CPU measurement on screen. The yellow area represents the CPU time used and the rest of the visible area the CPU time left. A simple 1x speed SID-tune should show about 30% of the screen yellow on a 68060.
koobo is offline  
Old 04 July 2023, 11:19   #28
CCCP alert
Registered User
 
Join Date: May 2023
Location: essex
Posts: 525
reSID as used in VICE, so I assume it's the same, requires a significant chunk of a single core of my AMD APU when it is enabled in the most accurate mode. If I enable sound playback warp mode is about 300% speed, if I turn off accurate SID emulation it goes up by ten fold, if I turn off sound emulation completely it only goes up slightly more.

Even then there are still some tracks that don't sound quite right even now, like the last 30 seconds of Lightforce by Rob Hubbard, sounds off as if it is playing on an 8580 even though I am using the best 6581 SID model for the job. Personally I am happy with the old 90s SID emulation on my Amiga, if I want better I switch on my C64 loaded up with SIDs on the SD card and a SIDplay program. The fact it even exists for a 7mhz OCS Amiga model and works pretty damn well is amazing given what it is trying to emulate.
CCCP alert is offline  
Old 04 July 2023, 13:40   #29
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by CCCP alert View Post
reSID as used in VICE, so I assume it's the same, requires a significant chunk of a single core of my AMD APU when it is enabled in the most accurate mode.
The reSID version in playsid.library is a 68060-optimized assembler port, the original reSID C-implementation is not used. It runs in the fastest and least accurate operating mode. A 68060 is barely fast enough to run it
koobo is offline  
Old 04 July 2023, 23:06   #30
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
Quote:
Originally Posted by koobo View Post
Here the issue is likely that the CPU usage from playsid.library+reSID is not visible to the CPU load measuring applications which only measure CPU usage from ordinary tasks. playsid.library spends its time running inside audio interrupts and is therefore hidden, so to say.

There's one thing to try if you're interested, try the command "setenv PlaySIDDebug 1" in shell and then start playback. If you're running a classic screenmode, you should see a raster line CPU measurement on screen. The yellow area represents the CPU time used and the rest of the visible area the CPU time left. A simple 1x speed SID-tune should show about 30% of the screen yellow on a 68060.
Yes you are right. I used PM a small tool from Aminet as a simple CPUmeter but it is wrong here.
When checking the CPUmeter of DopusIV, playing with ReSID 6581, reSID mode Normal and ReSID filter Internal + ext costs 50 - 55 % on 68060@50 and 15 - 20 % on V1200 v2.
However, i think i have already toped my audition abilities, i can't really hear a big difference with Sid4Amiga or PlaySID which comes with the old library. One sure thing i that i hear that the 6581sid.library which comes with some C64 emulator is awful.
I don't own a real C64 either, so apart from Youtube vids i don't have personnal experience of the real SID sound.
I'm going to test further to try to use to the max the V1200 power to get the better out of playsid.library.

EDIT : sound seems indeed somehow more powerful and deeper with Oversample *4

Last edited by Calabazam; 04 July 2023 at 23:15.
Calabazam is offline  
Old 05 July 2023, 08:16   #31
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by Calabazam View Post
However, i think i have already toped my audition abilities, i can't really hear a big difference with Sid4Amiga or PlaySID which comes with the old library. One sure thing i that i hear that the 6581sid.library which comes with some C64 emulator is awful.
I don't own a real C64 either, so apart from Youtube vids i don't have personnal experience of the real SID sound.
I'm going to test further to try to use to the max the V1200 power to get the better out of playsid.library.

EDIT : sound seems indeed somehow more powerful and deeper with Oversample *4
Here are some test tunes if you want to experiment
koobo is offline  
Old 05 July 2023, 23:06   #32
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
Yes indeed, the differences are pretty clear on theses files, thanks.

Now i would like to know how one can set up the variables for using reSID though the lib with other softwares than HiP?

I also need to find a SidBlaster, seems to be more convenient than a Zorro SID card with this lib.
Calabazam is offline  
Old 06 July 2023, 11:12   #33
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by Calabazam View Post
Now i would like to know how one can set up the variables for using reSID though the lib with other softwares than HiP?
By setting an env variable you can only select between normal, reSID and SIDBlaster mode for now (reSID will use default settings with filters enabled).

Quote:
I also need to find a SidBlaster, seems to be more convenient than a Zorro SID card with this lib.
I think these should be available for purchase at the moment (try google).
koobo is offline  
Old 06 July 2023, 18:43   #34
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,279
a quick google shows another project called "exSID USB" meant to be based off the idea of sidblaster, wonder if thats still around/available?
DisasterIncarna is offline  
Old 21 September 2023, 21:37   #35
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
Hello.

I now have a SidBlaster USB for my A4000. It is recognized by Poseidon on my Deneb.
However, i don't have a real SID but a X-Sid AudioBoost currently set as 8580.
I have modified the prefs of Hippoplayer to use Playsid mode : SIDBlaster. In that case, i suppose that reSID mode and reSID filter have no more effect.
Using this device allows me to play SID files with around 50% CPU out of my 68060/50, i expected less.
Sound seems nice, although a bit rough with maybe some background noise, but i can't modify the output level in my headphones. I need to test further which sounds better between SIDBlaster and pure ReSID with full options on the Vampire but it seems that the later has a cleaner sound.

Unfortunately, i still don't know how a real SID should sound as i have no real C64.
Calabazam is offline  
Old 21 September 2023, 23:58   #36
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,279
maybe as a rough reference try the sampled MP3 music at https://www.6581-8580.com/socse/ which has recordings of sid tunes using both original sid chips and compare to the audio you get on your hardware.

Not sure how else you would compare with the best results.
DisasterIncarna is offline  
Old 22 September 2023, 22:57   #37
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
Thanks for the link.
Actually, i am puzzled. I use to compare the rendering tunes from R-Type, Ghost'n Goblins and Monty on the run + this tune i discovered on IMP3 https://uploadnow.io/f/Nlx44Nn .
Recordings from 6581-8580.com are similar to the SidBlaster with the XSid, aka rough and a bit noisy, while playing them with the ReSID lib gives a cleaner and stronger sound, particularly in the first seconds of the Spirit of Art tune.
My X-sid is set as a 8580 because the jumper needed to have 6581 prevents me from closing the 3D printed box for the SidBlaster.
Listening seems more enjoyable with ReSID than hardware to me, but yet i count on this hardware to use less CPU and have native C64 sound with the Magic64 emulator. However, with 50-55% CPU just to play the music, it seems this objective can't be achieved. Anyway, i would need to know how to redirect the playsid.library call to the SidBlaster USB as in Hippo prefs to try it. How can i set the updated playSID.library between ReSID and SIDBlaster without Hippoplayer options?
There seem to be a problem between the Amiga and the SidBlaster though : it works, but after a while the sound hangs on a note, then the Amiga freezes. I don't know if this is coming from my Deneb or from the SidBlaster. It seems to be fine on a Win10 PC though.
Calabazam is offline  
Old 23 September 2023, 09:51   #38
riker77
Registered User
 
Join Date: Oct 2012
Location: Germany
Posts: 24
Your main problem might be the subpar SID reImplementaiton used in the X-Sid. It is based on SwinSID nano, which has questionable compatability with a real SID.
No wonder, that the de facto reference reSID sounds better than the X-SID.
riker77 is offline  
Old 23 September 2023, 12:38   #39
koobo
Registered User
 
koobo's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 374
Quote:
Originally Posted by Calabazam View Post
However, with 50-55% CPU just to play the music, it seems this objective can't be achieved.
I think in this case most of the CPU usage goes into the actual USB-communication. I'm not super familiar with how this works personally.

Quote:
Anyway, i would need to know how to redirect the playsid.library call to the SidBlaster USB as in Hippo prefs to try it. How can i set the updated playSID.library between ReSID and SIDBlaster without Hippoplayer options?
There's an ENV-variable that can be used for this:
Code:
setenv PlaySIDMode 3
This will enable SIDBlaster output with other apps (as in, not HippoPlayer) using playsid.library.

Quote:
There seem to be a problem between the Amiga and the SidBlaster though : it works, but after a while the sound hangs on a note, then the Amiga freezes.
Unfortunately this is a known issue at the moment. Some more investigation is needed.
koobo is offline  
Old 23 September 2023, 22:27   #40
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 518
Quote:
Originally Posted by riker77 View Post
Your main problem might be the subpar SID reImplementaiton used in the X-Sid. It is based on SwinSID nano, which has questionable compatability with a real SID.
No wonder, that the de facto reference reSID sounds better than the X-SID.
Yes i understand i need to find a real SID but that does not seem easy by now, and it would be a shame to deprive a real C64 of its chip.
Calabazam is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playsid library v1.2 Legionary News 12 26 September 2022 17:02
Playsid.library source Legionary Nostalgia & memories 5 05 November 2016 15:54
New version of IPF support library pintcat project.SPS (was CAPS) 5 15 July 2011 17:41
capsimage.device / IPF Support Library V4.2 released mr.vince News 6 13 July 2011 16:49
AmigaShare Software Library expands its Platform support! Unregistered Amiga websites reviews 4 11 May 2004 14:54

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:26.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13151 seconds with 14 queries