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 Composing > Goattracker sound woes
2012-08-07 08:48
iLKke

Registered: May 2012
Posts: 29
Goattracker sound woes

Hey guys.

Every time I make a tune in Goattracker when I export it as .sid and play it, it sounds vastly different.

I've been bothering a couple of friends with it but nobody could help me out, so here I am.

I made a little example to illustrate the problem. This particular sng is supposed to be played at x2.

Here is an example what I hear in GT and then in sidplay2

Here is the goattracker2.71 song file

And here is my config:
Quote:
;------------------------------------------------------------------------ ------
;GT2 config file. Rows starting with ; are comments. Hexadecimal parameters are
;to be preceded with $ and decimal parameters with nothing.
;------------------------------------------------------------------------------

;reSID buffer length (in milliseconds)
100
;reSID mixing rate (in Hz)
44100
;Hardsid device number (0 = off)
0
;reSID model (0 = 6581, 1 = 8580)
1
;Timing mode (0 = PAL, 1 = NTSC)
0
;Packer/relocator fileformat (0 = SID, 1 = PRG, 2 = BIN)
0
;Packer/relocator player address
$1000
;Packer/relocator zeropage baseaddress
$fc
;Packer/relocator player type (0 = standard ... 3 = minimal)
0
;Key entry mode (0 = Protracker, 1 = DMC)
0
;Pattern highlight step size
4
;Speed multiplier (0 = 25Hz, 1 = 1X, 2 = 2X etc.)
2
;Use CatWeasel SID (0 = off, 1 = on)
0
;Hardrestart ADSR parameter
$ff00
;reSID interpolation (0 = off, 1 = on, 2 = distortion, 3 = distortion & on)
3
;Hexadecimal pattern display (0 = off, 1 = on)
0
;SID baseaddress
$d400
;Finevibrato mode (0 = off, 1 = on)
1
;Pulseskipping (0 = off, 1 = on)
1
;Realtime effect skipping (0 = off, 1 = on)
1
;Random reSID write delay in cycles (0 = off)
0
;Custom SID clock cycles per second (0 = use PAL/NTSC default)
0
;HardSID interactive mode buffer size (in milliseconds, 0 = maximum/no flush)
20
;HardSID playback mode buffer size (in milliseconds, 0 = maximum/no flush)
400
;reSID-fp distortion rate
0.500000
;reSID-fp distortion point
3300000.000000
;reSID-fp distortion CF threshold
0.000100
;reSID-fp type 3 base resistance
1147036.500000
;reSID-fp type 3 base offset
274228800.000000
;reSID-fp type 3 base steepness
1.006663
;reSID-fp type 3 minimum FET resistance
16125.155273
;reSID-fp type 4 k
5.500000
;reSID-fp type 4 b
20.000000
;reSID-fp voice nonlinearity
0.961316
;Window type (0 = window, 1 = fullscreen)
0
;Base pitch of A-4 in Hz (0 = use default frequencytable)
0.000000

I've been trying with different buffer and resid settings, but to no avail.

Since all the players (including Vice) seem to sound alike, I assume I'm doing something wrong with Goattracker. Still waiting for my 1541u so can't test on real hardware sadly.

Halp pls!

i
2012-08-07 11:48
cadaver

Registered: Feb 2002
Posts: 1160
You're using out of range frequency values in the wavetable (for example F0 is not either a valid relative or absolute note.) These are not guaranteed to play the same in editor and in compiled player.

You're also using quite extreme relative note values, which may cause the relocator to bug and optimize the frequency table too aggressively. Try using the relocator option "disable optimizations".

2012-08-07 11:52
iLKke

Registered: May 2012
Posts: 29
Thanks, will try at once! \o/

I admit, I was poking random numbers in, looking for interesting borderline results.
2012-08-08 05:35
iLKke

Registered: May 2012
Posts: 29
Did both things you suggested and psid playback is almost identical now.

Thank you very much! \o/
2012-08-08 06:25
FATFrost
Account closed

Registered: Sep 2003
Posts: 211
I had exactly the same problem.. Especially when I created an instrument and inserted the notes, but when I played them back it didn't sound the same...
2012-08-08 06:28
FATFrost
Account closed

Registered: Sep 2003
Posts: 211
Hey!!! May 13th!!! We're bro's!!! Niiiice!!! ;)
2012-08-08 06:35
iLKke

Registered: May 2012
Posts: 29
Quote: Hey!!! May 13th!!! We're bro's!!! Niiiice!!! ;)

*highfives!*
2012-08-08 21:41
FATFrost
Account closed

Registered: Sep 2003
Posts: 211
!! WYLD STALYONZ!!!!
2018-09-10 13:42
JCH

Registered: Aug 2008
Posts: 200
I also had some problems today making a SID experiment (in speed 3) sound right outside of GT 2.74. I tested a packed version in Sidplay2/w v2.6, Wothke's WebSid, Hermit's jsSID, a SID plugin for XMPlay, and the VICE SID player.

Especially a snare drum in a bassline was completely different. It was almost as if the noise in GT was auto-testbit-locked and also somehow divergent. I tried adjusting a lot in the editor as well as packer attributes and command-line switches. After some tests I discovered that the noise inside GT started sounding "normal" (i.e. the same way the players agreed to) when using the -i02 switch to enable reSID distortion. I'm not sure how that makes any sense. Anyone able to clarify this?

For now, I'm just going to continue using that switch.

I also had disagreeing hard restart across the board, but this settled down when I used the value FF00 in the blue title bar instead of the default 0F00. According to the documentation, this "enables the use of an alternative play routine, where waveform is written before ADSR." This fixed side effects in WebSid and the VICE SID player.

Believe it or not, I actually miss having a real C64C (for 8580) to test SID stuff on.
2018-09-10 14:36
cadaver

Registered: Feb 2002
Posts: 1160
If you're using the VICE3.2 release, note that it has a new ADSR related bug, which causes difference in HR's.

However multispeeds and GT2 have always been trouble, because the editor doesn't emulate a proper C64 environment, and if your ADSR settings are tight enough, even a few cycles can make the difference for the HR behaving differently. The alternate writeorder player is more lenient.

The -i switch controls also resampling / interpolation, and it's true that noise sounds bad with the most basic setting -i0. The reSID distortion modes have always at least interpolation on, which you observe with -i2. -i1 should be relatively OK too.
2018-09-10 14:53
JCH

Registered: Aug 2008
Posts: 200
Yes, I'm using WinVICE 3.2. Interesting bug.

It's actually only a standard 1x thing I'm testing. I wonder how much I can rely on SidPlay/w v2.6, because the GT test now sounds exactly the same in it.

Thanks for the input.
 
... 12 posts hidden. Click here to view all posts....
 
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
Chesser/Blazon
Impetigo/Crescent
TheRealWanderer
hedning/G★P
Knight Rider/TREX
Chesoner/House Designs
Guests online: 92
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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