Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superchip is way out of tune #281

Open
cleary opened this issue Jan 2, 2023 · 2 comments
Open

superchip is way out of tune #281

cleary opened this issue Jan 2, 2023 · 2 comments

Comments

@cleary
Copy link

cleary commented Jan 2, 2023

Not sure if by design, but it is unusable with other synths (and it makes a great bass synth imo).

d1 $ note "c" # s "superchip"

should yield a note somewhere near [email protected]

Instead, it's a very sharp [email protected]

@telephon
Copy link
Contributor

telephon commented Jan 2, 2023

Yes, it seems to be the freqtotone method of the AY ugen is not correct.

*freqtotone { |freq|
		// Approximate empirical...
		//^(109300 / (freq - 3.70727))
		^(110300 / (freq - 0.5))
	}

Here is a test:

(
Ndef(\x, { 
	var freq = AY.freqtotone(300);
	AY.ar(freq, freq, freq) * 0.1 
	
}).play;
)
Ndef(\x, { Saw.ar(300) * 0.1 }).play;

it would be really nice if you could find a way to tune it.

Here is the datasheet: https://www.cpcwiki.eu/index.php/Datasheet_AY-8913

@telephon
Copy link
Contributor

telephon commented Jan 2, 2023

I've moved the issue here: supercollider/sc3-plugins#348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants