Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Chainsaw Oscillator

Post any examples or modules that you want to share here

Chainsaw Oscillator

Postby martinvicanek » Thu Mar 18, 2021 7:35 pm

Hey gang, here is something I've been working on lately. I call it the chainsaw oscillator :lol: .

:idea: The basic idea is to take a random sequence of samples (= a chunk of noise) and repeat it periodically. Like a random wavetable. The result is a tone with a funamental frequency according to the repetition rate and a random harmonic spectrum. (Cut the trebble if it sounds too harsh. :mrgreen: ) The nice thing is that you can take a different random sequence and get a different random harmonic spectrum, so every note may sound slighlty different. It is very easy to generate a (pseudo-)random sequence.

Now if we slowly vary the random sequence, each sample individually while it is playing, we get a constant morphing between different timbres. At higher variation rates it sounds like many (hundreds) slightly detuned oscillators (phat! 8-) ). At still higher rates the sound gets more and more noisy.

You might think that it would be a tremendous CPU load to constantly update all samples of the random sequence. Like hundreds of simultaneous oscillators! The point is that you only need to update each sample once every cycle, not constantly. So the effective load is actually similar to one oscillator! :shock:

There are some details like what if the size of the sequence is not integer (which it never is), aliasing and so on. Perhaps the hardest part was to make the thing poly safe. Whatever.

Below is the chainsaw oscillator and a little demo synth. I imagine that it could be of use in EDM. However, with some proper filtering you can also create some very soft, evolving pad sounds.
Attachments
chainsaw-osc.fsm
(47.84 KiB) Downloaded 885 times
User avatar
martinvicanek
 
Posts: 1315
Joined: Sat Jun 22, 2013 8:28 pm

Re: Chainsaw Oscillator

Postby Duckett » Thu Mar 18, 2021 8:11 pm

First to download ;)

I'm always delighted to have something genuinely new to play with (although taking something bog-standard and seeing how far you can go with it leads to some pretty amazing results too).

Of course, not only will this be fascinating to try as an osc, but as a modulation source etc.

Thank you so much!
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
User avatar
Duckett
 
Posts: 132
Joined: Mon Dec 14, 2015 12:39 am

Re: Chainsaw Oscillator

Postby guyman » Thu Mar 18, 2021 9:10 pm

2nd
User avatar
guyman
 
Posts: 199
Joined: Fri Mar 02, 2018 8:27 pm

Re: Chainsaw Oscillator

Postby martinvicanek » Thu Mar 18, 2021 9:49 pm

Below is a synth based on the chainsaw osc with filtering and a few more features. This implementation is in blue rather than poly (white). All presets use only one osc per note, and no chorus or other effects.
Attachments
ChainsawSynth.fsm
Bugs pointed out by Adam (see below) fixed. Thanks Adam!
(117.2 KiB) Downloaded 861 times
Last edited by martinvicanek on Sun Mar 21, 2021 9:46 pm, edited 1 time in total.
User avatar
martinvicanek
 
Posts: 1315
Joined: Sat Jun 22, 2013 8:28 pm

Re: Chainsaw Oscillator

Postby Spogg » Fri Mar 19, 2021 8:56 am

Another amazing oscillator idea Martin! :o :shock: :ugeek:

I did some quick experiments with envelope, LFO and audio rate modulation and got sounds that it would be difficult (and expensive) to get any other way. One I liked was a snare sound which was never the same per hit (just the snare, not the drum body). And all with one low CPU oscillator.

Martin, you are a treasure! Thank you so much for all you do for us. :D :D
User avatar
Spogg
 
Posts: 3318
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Chainsaw Oscillator

Postby Halon » Sat Mar 20, 2021 8:11 pm

Thank you! Very cool! :o
Halon
 
Posts: 321
Joined: Sat Nov 28, 2015 4:42 pm
Location: Norway

Re: Chainsaw Oscillator

Postby adamszabo » Sun Mar 21, 2021 11:52 am

Thanks Martin! You might want to upload an updated version with some fixes because it does not make sound in the alpha because of these errors (even though it doesnt show them, I had to hunt for them):

In the envelopes you comment the hop:
Code: Select all
//mov eax,ecx; and eax,15; cmp eax,0; jnz hop;


But do not comment out the closing tag.

In the Filter lowpass -> Approx. Matched LP module "movapsout,xmm0;" there is a whitespace typo in all of them.
adamszabo
 
Posts: 657
Joined: Sun Jul 11, 2010 7:21 am

Re: Chainsaw Oscillator

Postby martinvicanek » Sun Mar 21, 2021 9:49 pm

Thanks for all your comments, guys!
Adam, many thanks for taking the pain to hunt down those bugs. I should make it a habit to check my uploads with FS alpha before posting! :oops:
User avatar
martinvicanek
 
Posts: 1315
Joined: Sat Jun 22, 2013 8:28 pm

Re: Chainsaw Oscillator

Postby adamszabo » Mon Mar 22, 2021 11:49 am

The strange thing is that it didnt even show any errors in the alpha, it just didnt make any sound, so then I started investigating.
adamszabo
 
Posts: 657
Joined: Sun Jul 11, 2010 7:21 am


Return to User Examples

Who is online

Users browsing this forum: No registered users and 13 guests

cron