Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > How to mute the voices of the SID?
2024-09-30 23:56
Rub_0201

Registered: Apr 2019
Posts: 13
How to mute the voices of the SID?

Hi!

I want to remix my favorite SID tunes. A lot of them have nice rhythm, ideas and melody, but if I hear them more then 10 times in a loop, I get dizzy.

I want to bring more stillness and a different temper in them - making a remix.

My idea is to mute one or two of the voices of the SID and additionally fiddle around with some registers.

I did that with emulators like the C64debugger("24Hours Demo Remix" on YT) and the result is quite nice. Now I want to do it on the C64 itself.

As I am no SID programmer or musician, I have no clue how to do it on the real machine.

I understand fundamental assembly coding, but I am far from doing fancy stuff.

So I need your help!
 
... 19 posts hidden. Click here to view all posts....
 
2024-10-03 13:16
Rub_0201

Registered: Apr 2019
Posts: 13
The sound result with the buffered routine is not the same. :-(

Percussion instruments sound dull and powerless.

Hearable especially on "Beat to a pulp" from NE7 (voice 3).

Any ideas?

I still look for a bug in my code, but I think it is related to the different technique/timing of writing to the IOs.
2024-10-03 13:31
spider-j

Registered: Oct 2004
Posts: 494
As "Beat to a Pulp" uses a quite "new" routine (GT1) it's verly likely there's something wrong with your code.

I just threw the SID through my "sidanalyzer" script / code which uses the above mentioned approach and everything sounds fine to me, when (un)muting voices:
https://trans.jansalleine.com/csdb/sidanalyzer-bttp.prg
2024-10-03 14:33
Rub_0201

Registered: Apr 2019
Posts: 13
Quote: As "Beat to a Pulp" uses a quite "new" routine (GT1) it's verly likely there's something wrong with your code.

I just threw the SID through my "sidanalyzer" script / code which uses the above mentioned approach and everything sounds fine to me, when (un)muting voices:
https://trans.jansalleine.com/csdb/sidanalyzer-bttp.prg


Thanks Spider-j!!

With your routine "Beat to a pulp" sounds like it should be . Now I hear the exact difference with muted voices 1 und 2!!


I'l do some bug hunting....
2024-10-03 16:56
Rub_0201

Registered: Apr 2019
Posts: 13
Well...I think there is a problem in my code and in the general aproach.

I recorded voice 3 of "Beat to a pulp" with:

1) C64jukebox with SIDPlay2 recorded with Chrome Audio extension
2) spider-j routine recorded within VICE 3.8
3) my routine recorded within VICE 3.8

#2 is better than #3, but #1 is far better than the latter.

The SID model and resampling, buffer, filter, etc. did not change this behavior in VICE.

Here are the files:
https://www.dropbox.com/scl/fo/gcjp4k8qmc9uf6vn1cg99/AEP9FGA1Yy..
2024-10-03 19:16
spider-j

Registered: Oct 2004
Posts: 494
@Rub_0201:
Could it be that that sidplay2 is configured to emulate 6581 SID and your VICE to emulate 8580?

Your recordings from VICE could be 8580 "filter holes" because on 6581 cutoff values from $00 are audible and on 8580 only values from $01. Although even listening to it with proper 6581 emulation the SID voice 3 does sound a bit weird. So I'm not really sure about that. Maybe not the best test case.

To get your routines right I'd start with
1.) a SID tune that doesn't use filters at all - so the even most crappy emulation shouldn't have much problems to playback

2.) and then a SID tune that uses "mild" filters AND only compare results with a somewhat current SID emulation

Another problem with the tune you're referring to is, that is was done in GT1 and nobody other than the author knows if it was ever tested on real hardware. So it may be that it sounds "better" on old / outdated emulation, because it was composed on old / outdated emulation :-)
2024-10-03 19:44
Burglar

Registered: Dec 2004
Posts: 1077
you can mute channels with JSIDPlay2 V4.10, and u can also export to wav. personally, I only use the cli interface, but I guess same features are in the gui too.
2024-10-03 22:51
Rub_0201

Registered: Apr 2019
Posts: 13
I hope, the emulator is acurate and the test results are similar on the real hardware.

I've set the SID to 6581 imho for the tests.

--------------------------

This song is a challenge :-) And I love this song since 35 years. Well, the Amiga version - Met Romeo Knight on X2023.

Challenge accepted - I used C64 Debugger to see the timing of the IO Writes and the new version of my play routine is good enough now!

Voice 3 only:
https://www.dropbox.com/scl/fi/adcy922bq5j06hmsqofxc/Rub_V2_vic..
2024-10-03 23:39
Rub_0201

Registered: Apr 2019
Posts: 13
Testing some more songs, stumbled into klicking noise in NE7 "Cargo".

This time it is Voice 1:

https://www.dropbox.com/scl/fi/6nm77bidyfcccu0dc54fc/Rub_NE7-Ca..

Is it the same playroutine? Yes, SIDPlay says Goattracker V1.x as on "Beat to the pulp".
2024-10-04 08:57
Mixer

Registered: Apr 2008
Posts: 446
Clicks and snaps are part of SID music :) You may also notice differences due to the ring and sync modulated sounds. They need the other sid voice oscillator active, using correct waveform and frequency. In that case you may have to use some other method to mute the channel. Perhaps ADSR to 0 or the filter as aeeben mentioned.
2024-10-04 10:29
Rub_0201

Registered: Apr 2019
Posts: 13
Ahh, now it makes klick ;-)

Good to know, @Mixer, the klicks in that instrument are not intended and they apear also with all voices playing.
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
cba
chesser/Blazon
theK/ATL
REBEL 1/HF
jmin/F4CG
Case/Padua
MCM/ONSLAUGHT
zscs
Mason/Unicess
MWR/Visdom
Guests online: 83
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Unity  (9.6)
7 Uncensored  (9.6)
8 Comaland 100%  (9.6)
9 Wonderland XIV  (9.6)
10 Still Rising  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 It's More Fun to Com..  (9.5)
8 Raising Snakes  (9.5)
9 Moving Balls  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.045 sec.