Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
I'm Thinking About Making a Software Synth
#392936 05/09/13 03:28 AM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
These days I'm spending time with music production stuff. As usual I find myself more drawn to the technical sides of production rather than the actual music making. So I do a lot of sound design. The one thing I find hard to reproduce with the tools I have is the crunchy sound of a certain 1980s home computer. Since the music production software I use has recently opened up their platform to third party developers I've been considering seeing if I could program a synth to make the sounds I've been missing.

I would share this on the forum for the software, but those guys are a finicky bunch so I'll wait until I have a bit more to show (I need two more big pieces an envelope so the notes have an attack, decay, sustain, and release, plus a filter to allow removing of some frequencies). But I feel safe here. smile

So here are some sounds my synth can make so far:
http://www.scuzzyeye.com/tests/saw.mp3
http://www.scuzzyeye.com/tests/triangle.mp3
http://www.scuzzyeye.com/tests/pulse.mp3
http://www.scuzzyeye.com/tests/pulse_width.mp3
http://www.scuzzyeye.com/tests/noise.mp3

I'm especially proud of the pitched noise. Right now these routines are hard coded. When you run the executable it just spits out the raw PCM (at 96kHz, 32-bit signed floating point, mono). But it is using the MIDI note scale to pick the pitches.

So anyone who's played a video game in the '80s let me know how you think these things sound.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Re: I'm Thinking About Making a Software Synth
ClubNeon #392937 05/09/13 03:35 AM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
Oh, while the output is 32-bit floating point, the "DAC" in the synth is 12-bit (that's what gives the crunch I want). Also it uses direct digital synthesis, so it isn't emulating an analog oscillator. DDS is easy to design, but has trouble with higher frequencies. The original computer was limited to 4kHz, and while I can tell this synth to play notes up to over 18kHz, aliasing starts just before 4k.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Re: I'm Thinking About Making a Software Synth
ClubNeon #392942 05/09/13 11:35 AM
Joined: Oct 2006
Posts: 6,955
axiomite
Offline
axiomite
Joined: Oct 2006
Posts: 6,955
Sounds very ambitious. When can we expect the video demo?


With great power comes Awesome irresponsibility.
Re: I'm Thinking About Making a Software Synth
ClubNeon #392946 05/09/13 01:20 PM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
I suppose I could make a video of my debugging numbers scrolling up a text terminal.

That is one thing. I'll have to design a GUI. I do have some ideas, though.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Re: I'm Thinking About Making a Software Synth
ClubNeon #392947 05/09/13 01:29 PM
Joined: Oct 2012
Posts: 2,021
Likes: 1
B
connoisseur
Offline
connoisseur
B
Joined: Oct 2012
Posts: 2,021
Likes: 1
Triangle and noise remind me of the old Atari days. Good job.
How much time does it take to get them to this point?



Re: I'm Thinking About Making a Software Synth
ClubNeon #392951 05/09/13 03:31 PM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
The saw and pulse, are really clicky, because there's no low-pass filter to remove the hard edges (and thus high frequency components), they too will sound more like good ol' crappy chips as soon as I get that implemented.

Actually it wasn't too much work. I've done all of this in less than a week in my spare time. I've just been reading Wikipedia, data sheets, and an interview with the chip developer, and coding up parts of the chip as I understand them to work. I'm not going for 100% accurate emulation (the computer didn't have MIDI support anyway), just something that sounds very close.

I've been reading up on filters last night and today. I think I'm getting a grasp on how to make one now. So I'll probably have it in place today or tomorrow.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Re: I'm Thinking About Making a Software Synth
ClubNeon #392962 05/09/13 05:39 PM
Joined: Oct 2012
Posts: 2,021
Likes: 1
B
connoisseur
Offline
connoisseur
B
Joined: Oct 2012
Posts: 2,021
Likes: 1
Are you listening to these on your HT or smaller speakers on a PC?
Think I might try them in 2 channel on my big system.
I just trued them on my note (wife was sleeping).



Re: I'm Thinking About Making a Software Synth
ClubNeon #392963 05/09/13 06:44 PM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
I have powered studio monitors on one of the PCs that I use. All of them (except for maybe the noise) start out pretty low. I actually had older renderings that started out at about 16 Hz, but these newer ones are a bit more realistic for actual usage, and start around 40 Hz.

So far today my filter work has been a failure. My lowpass seemed to highpass (I dunno...), and a revision just made it beep, and then go silent. Back to the drawing board.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Re: I'm Thinking About Making a Software Synth
ClubNeon #392968 05/09/13 08:55 PM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
Ah, failure overcome!

http://www.scuzzyeye.com/tests/sawfilt.mp3

That's the same notes played with the saw tooth waveform through a 500 Hz two-pole (12dB/octave) lowpass filter with the resonance cranked all the way up.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Re: I'm Thinking About Making a Software Synth
ClubNeon #392983 05/10/13 05:30 AM
Joined: Feb 2009
Posts: 3,466
connoisseur
OP Offline
connoisseur
Joined: Feb 2009
Posts: 3,466
The multi-mode filter is pretty much complete. I still may have to figure out what may be a problem with self-oscillation when the resonance is turned up, but it may turn out to be a "feature".

I now have four filter types. I've done a filter sweep from low to high (I think it's about 16 Hz to 12 kHz) with the noise oscillator producing its version of white noise passing through each of the modes.

http://www.scuzzyeye.com/tests/noise_bandpass.mp3
http://www.scuzzyeye.com/tests/noise_highpass.mp3
http://www.scuzzyeye.com/tests/noise_lowpass.mp3
http://www.scuzzyeye.com/tests/noise_notch.mp3

And here's the unfiltered noise source if you want to check it:
http://www.scuzzyeye.com/tests/noise_nofilt.mp3


I'll see about tackling the envelope generator tomorrow.


Pioneer PDP-5020FD, Marantz SR6011
Axiom M5HP, VP160HP, QS8
Sony PS4, surround backs
-Chris
Page 1 of 2 1 2

Moderated by  alan, Amie, Andrew, axiomadmin, Brent, Debbie, Ian, Jc 

Link Copied to Clipboard

Need Help Graphic

Forum Statistics
Forums16
Topics24,940
Posts442,457
Members15,616
Most Online2,082
Jan 22nd, 2020
Top Posters
Ken.C 18,044
pmbuko 16,441
SirQuack 13,840
CV 12,077
MarkSJohnson 11,458
Who's Online Now
0 members (), 386 guests, and 4 robots.
Key: Admin, Global Mod, Mod
Newsletter Signup
Powered by UBB.threads™ PHP Forum Software 7.7.4