Jump to content
IGNORED

TIA frequencies for unusual distortions


Recommended Posts

While playing with Kylearan's new Tracker, I noticed that the frequencies of some (2, 3 and 8 ) distortions sound way off. I know the frequencies are based on Eckhard Stollberg's Frequency and Waveform Guide from 1997, so I wonder if no one ever has noticed this or if my ears are just bad.

 

If you look at the distortions 2+3, the base frequency is divided by 465. However to me it sounds, that for distortion 2 a divide by ~465/2 (= one octave higher) and for distortion a divide by ~30 (~8 octaves higher) matches what I hear. And for distortion 8, instead of 511 a divide by ~31 seems to match much better.

 

Can anyone confirm this? And maybe someone around has the knowledge how to calculate or measure the correct frequencies?

Edited by Thomas Jentzsch
Link to comment
Share on other sites

I'd be very interested in that as well, as for TIATracker I've simply taken the frequencies from RandomTerrain's web page without really understanding or checking them (yet). And since I plan to add a feature to optimize matching desired notes to frequency (similar to WebTune2600), having correct frequencies/formulas as foundation would be nice. :)

Link to comment
Share on other sites

I ran a couple of simulations of the audio block in my FPGA based 2600 with AUDC = 2 and AUDC = 3, and here's what I saw.

 

AUDC = 2

post-41074-0-83794800-1457990547_thumb.png

When AUDC is 2 the bit sequence is indeed 465 bits long, but it's made up of two patterns that are essentially the same. The only differences are in the pulse widths, and the differences are quite small.

 

AUDC = 3

post-41074-0-18269900-1457990961_thumb.png

When AUDC is 3, the pattern is more complex, but does have some repetition in it as well. This might explain what you are hearing.

Edited by Crispy
Link to comment
Share on other sites

Many thanks for the analysis! icon_thumbsup.gif

 

According to Eckhard's guide, the waveform are based on:

  • 001010000111011 (15 bits, source pattern) and
  • 0100000000000000000100000000000 (distortion 2) / 0010110011111000110111010100001 (distortion 3) (31 bits, clock modifier pattern).

I am not exactly sure, but at least for distortion 2 my findings seem to make sense. Would it be possible to extract the main frequency of distortion 3, e.g by using a Fourier-Transformation?

Edited by Thomas Jentzsch
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...