electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Developers' Corner
Digital Noise Synth Idea
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [25 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Sat Jan 23, 2010 9:27 am    Post subject: Digital Noise Synth Idea Reply with quote  Mark this post and the followings unread

The block diagram depicts the basic idea I have for a digital noise synth.

The top signal chain generates white noise which is filtered by an SVF with fixed configurable Q and allows Fc to be modulated by the middle signal chain and a bias value.

The bottom signal chain generates modulation values to control an NCA in the top signal chain.

An envelope generator contours the amplitude of the top chain.

This is an experiment and may change as I develop it.

The first version will be a single voice, but if it works and is fun and useful, I will probably expand it to a polysynth of 4 or 8 voices.


Noise_Synth.gif
 Description:
A Digital Noise Synth Idea
 Filesize:  6.72 KB
 Viewed:  6111 Time(s)

Noise_Synth.gif



_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Sun Jan 24, 2010 12:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is an update with more detail in the drawing.

The amplitude window is a shifter mechanism that I use to accomodate widely differing amplitudes because of the increased gain at Fc with higher Q values. Without the window shifter, the signal can overflow binary wrap which sounds horrible. The detector and indicator tells me whether a "patch" is doing bad things at which point I can adjust with the amplitude window and then compensate with the level control.


Noise_Synth.gif
 Description:
Updated Design Block Diagram
 Filesize:  10.06 KB
 Viewed:  141 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Noise_Synth.gif



_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Sun Feb 07, 2010 4:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, I finally got some sound out of the testbed for this synth. So far, I have the top row of logic running and I just got sound. The noise generator is generating noise, the filter is filtering, and the ADSR is ADSRing.

The structure is evolving into something a bit different than the block diagram, still very similar though. I'll post a new one when I finalize it.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
DrJustice



Joined: Sep 13, 2004
Posts: 2039
Location: Morokulien
Audio files: 3

PostPosted: Sun Feb 07, 2010 6:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm curious about the sound of this thing Smile
Are you seeing it as being used mostly with high Q (or self oscillation even) for the filters in order to produce controllable pitched sounds?

DJ
--
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Sun Feb 07, 2010 7:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

DrJustice wrote:
I'm curious about the sound of this thing Smile
Are you seeing it as being used mostly with high Q (or self oscillation even) for the filters in order to produce controllable pitched sounds?

DJ
--


Yes and no, this synth was not intended for pitched sounds,but they should be possible. I envision it as a synth to be used for noise type sounds like wind and hopefully thunder and perhaps other odd noise based sound. These sounds would probably be generated using low Q, even as low as 1.0.

The Q of this filter can go as high as 150, so if it's set high enough some hopefully interesting pitched noise sounds might be produced.

The synth does not use the MIDI note number to set any of the filters' Fc, so it won't be able to play keyboard melodies as designed. Pitched sounds being driven by the Fc modulation source are possible - Perhaps flying insect noises ? Smile

I may add code to use the MIDI note number information to feed the bias input. That would allow this synth to play keyboard melodies...

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Sat Feb 13, 2010 6:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

What I have working is one chain of noise -> SVF -> NCA. NCA is modulated by an ADSR. The sample below uses the filter in lowpass mode with moderately low Q. This will sound pretty basic, noise into a resonant filter...

The noise source is a 64 bit maximal length LFSR.

I hope to get some modulation stuff done this weekend.

But at least I can get this much filtered noise out of it.

Only one voice is working at this point

Some of the overflow detection stuff is working.


noise_synth_01.mp3
 Description:
just noise to svf to eg controlled nca

Download
 Filename:  noise_synth_01.mp3
 Filesize:  315.15 KB
 Downloaded:  245 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Mon Feb 15, 2010 1:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just got Fc modulation by filtered noise working.

It seems that high frequency noise modulation of high frequency noise - still sounds mostly like noise. More interesting is when lower frequency noise is used to modulate Fc of high frequency noise. I use "high frequency" to indicate audio range.

So I will extend the range of the frequency slider. Currently I have 4 ranges, each lower setting is another octave lower Fc. I believe that 8 range settings will be quite useful, with extension to more lower frequencies.

Nice low low frequency noise modulating Fc with moderate Q (about 5) gives a nice howling wind sound.

When I get this part of the synth nailed down, hopefully later today, I will post a sample of some howling wind and perhaps other sounds I find while testing.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Mon Feb 15, 2010 5:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here is 3+ minutes of pure noise.

It's a wind with howl test patch on the now 2/3 functional synth.

The sound is made from 2 noise sources, each into a SVF. The audio range SVF Fc is modulated by the other SVF which is set at a low Fc itself.

So enjoy this, - even if you need to get a sweater.


NoiseSynth_wind_01.mp3
 Description:
A 3 minute howling wind sample using a small FPGA for a DSP noise synthesizer

Download
 Filename:  NoiseSynth_wind_01.mp3
 Filesize:  3.01 MB
 Downloaded:  228 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Mon Feb 15, 2010 6:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

another sample. an odd bassy noise thing. 3 minutes if you can bear it.

Please turn it up a bit...


NoiseSynth_weird_bass_sound.mp3
 Description:
weird bassy patch

Download
 Filename:  NoiseSynth_weird_bass_sound.mp3
 Filesize:  2.98 MB
 Downloaded:  224 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Tue Feb 16, 2010 4:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here's a screen shot of the patch editor for the NoiseSynth. It shows a fictitious patch.

I wrote this in VB.NET Express Edition (which is free from Microsoft). The program communicates with the synth hardware over a USB connection to the board. The messages are formatted exactly like system exclusive messages and could be transmit over MIDI. This is more convenient because I don't need to figure out how to interface with a MIDI connection that also supports performance data.


NoiseSynthPatchEditor.jpg
 Description:
NoiseSynth Patch Editor screen shot.
 Filesize:  114.76 KB
 Viewed:  118 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

NoiseSynthPatchEditor.jpg



_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Tue Feb 16, 2010 9:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

The synth now has all of the planned elements coded.

Attached is another wind sound, but this time with subtle amplitude modulation as well as Fc modulation.


EDIT ADD: I have now played with the mp3 going and another synth voice on top of it. It sounds ghostly.

It's implemented, but I haven't yet tested polyphony.... heh heh


noise_synth_02.mp3
 Description:
another wind sound - Fc modulation and Amplitude modulation, both by separate noise streams into separate filters

Download
 Filename:  noise_synth_02.mp3
 Filesize:  2.88 MB
 Downloaded:  219 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5978
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Wed Feb 17, 2010 1:19 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm not following this in detail, but the wind I heard in the chatroom sounded very convincing. I mentioned that one could control the voices with Boolean Sequencers and got a positive response from Scott, so we'll see what happens.

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Wed Feb 17, 2010 8:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, Les, a sequencer could be added to the logic in place of the MIDI trigger logic for a self contained noise unit. Push a button - out comes sound that is sequenced over time for variety.

I'm thinking of a companion synth that does FM bells as wind chimes where the chimes have random timbre, random pitch and random strikes.

The current version of NoiseSynth is MIDI driven which facilitates testing in my lab/studio.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
nobody



Joined: Mar 09, 2008
Posts: 1687
Location: Not here

PostPosted: Wed Feb 17, 2010 10:13 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm impressed, especially with the last two samples.

Do you have this in a VST somewhere? I'd love to use it.
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Wed Feb 17, 2010 12:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

audiodef wrote:
Do you have this in a VST somewhere? I'd love to use it.


Ah, sorry, I'm not a VST guy. Once it's finalized, I'll post the Verilog, so a courageous person versed in VST and Verilog might translate it?

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
nobody



Joined: Mar 09, 2008
Posts: 1687
Location: Not here

PostPosted: Wed Feb 17, 2010 1:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

How do you use it as it is now?
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Wed Feb 17, 2010 1:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

It's a MIDI synth, so it responds to MIDI keypress note events.

Currently, the lowest 8 keys (on my wavestation) are mapped to the 8 instruments. Each instrument can be separately programmed, but all 8 have the same structure.

Another future version will eventually allow tonal melodies to be played by using higher Q values on the audio path SVF.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
nobody



Joined: Mar 09, 2008
Posts: 1687
Location: Not here

PostPosted: Wed Feb 17, 2010 1:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

I guess what I'm confused about is whether this is hardware or software.
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Wed Feb 17, 2010 2:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah, heh. An FPGA is hardware. It is a system of mostly identical logic blocks, several thousand of them, who's function is defined by the bit file loaded into the device. It "assumes the identity" of the logic defined in the Verilog (or VHDL) source code. It's behavior while in operation is exactly like an ASIC (Application Specific Integrated Circuit) or any other IC that is developed for a specific purpose.

Verilog, the hardware definition language I use, looks a lot like C so it might be easy to assume that the end result is software, but it is not. It allows allocation of the FPGA resources to execute the writer's end purpose.

I think of an FPGA as a pile of "logic Lego". It has RAMs, multipliers, adders, multilplexors, and basic logic functions as well as logic function generators (that you define) that can be connected together in the same way someone might connect logic devices like CD4XXX parts.

This is not to be confused with a CPU which executes one instruction after another in a linear sequence. An FPGA _can_ do that - but a lot of it's charm comes from the fact that parallel logic is possible. For example, in a CPU, if you want to AND two data elements together and then AND two other elements together, you're usually stuck with two instruction cycle times. Something like that is easily done in an FPGA, both operations simultaneously. Arithmetically, this is attractive because an FPGA will have several hardware multipliers inside of it, each of which can execute in parallel with the others.

I do hope that made sense...

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20480
Location: The Netherlands, Enschede
Audio files: 147
G2 patch files: 318

PostPosted: Wed Feb 17, 2010 2:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah, this seems to be going somewhere, nice Scott!
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Wed Feb 17, 2010 4:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you Blue_Hell! Very Happy

And I will respond with yet more noise.

Attached is 3 minutes of wind synth from 2 voices, identically programmed.

I have polyphony!

EDIT ADD: I can see that I need to make this stereo. It should be pretty simple. I've got plenty of clocks.

EDIT ADD ALSO: Just to be clear, for this sample, I held down two keys and did nothing else.


NoiseSynth_2_voice_wind.mp3
 Description:
Noise Synth making wind noise with 2 voices

Download
 Filename:  NoiseSynth_2_voice_wind.mp3
 Filesize:  2.89 MB
 Downloaded:  215 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima

Last edited by JovianPyx on Wed Feb 17, 2010 5:13 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
nobody



Joined: Mar 09, 2008
Posts: 1687
Location: Not here

PostPosted: Wed Feb 17, 2010 4:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Groovy!
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20480
Location: The Netherlands, Enschede
Audio files: 147
G2 patch files: 318

PostPosted: Wed Feb 17, 2010 6:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Noice Jovian winds!
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 1219
Location: West Red Spot, Jupiter
Audio files: 157

PostPosted: Thu Feb 18, 2010 6:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here is another sample.

About a minute of 3 wind sound voices and one low thunder voice.


wind_and_low_thunder.mp3
 Description:

Download
 Filename:  wind_and_low_thunder.mp3
 Filesize:  1.26 MB
 Downloaded:  217 Time(s)


_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20480
Location: The Netherlands, Enschede
Audio files: 147
G2 patch files: 318

PostPosted: Fri Feb 19, 2010 2:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

1:22 Laughing

Usable sounds though!

Edit : oops .. read "a minute or 3" Shocked

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [25 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Developers' Corner
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use