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
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Oscillators
Re: Oscillators
Thank you for answers, Martin!
The icon is just a picture for this module in Sync Modular.
My idea is like this. I've made a rough picture in Paint. Black points are steady (obviously), blue points are moveable in X-direction (horizontal)
Four moveable points can easily give from Tri to Saw and Square with different transition combinations. Also some kind of a "Sync" effect is achievable over this (I've called this Stretch because wasn't familiar about this thing when I've "invented" this OSC).
Of course I suspect that the idea isn't fresh at all Maybe somebody already had did this?
P.S. I'll dig into FlowStone deeper as soon as I'll have a break from music. It was an "owl time" week with trying different modular programs... very crazy )) FlowStone is the best in my eyes.
The icon is just a picture for this module in Sync Modular.
My idea is like this. I've made a rough picture in Paint. Black points are steady (obviously), blue points are moveable in X-direction (horizontal)
Four moveable points can easily give from Tri to Saw and Square with different transition combinations. Also some kind of a "Sync" effect is achievable over this (I've called this Stretch because wasn't familiar about this thing when I've "invented" this OSC).
Of course I suspect that the idea isn't fresh at all Maybe somebody already had did this?
P.S. I'll dig into FlowStone deeper as soon as I'll have a break from music. It was an "owl time" week with trying different modular programs... very crazy )) FlowStone is the best in my eyes.
- Kirill_Neoris
- Posts: 25
- Joined: Fri Jan 08, 2016 5:06 pm
Re: Oscillators
Hey guys,
I can't help but go through all of your comments and think I kind of grasp the concepts. I'm a music producer of nearly 9 years, so I can understand some. I'm familiar with how additive and subtractive oscillation works, as well as the concepts of harmonics. I began using a little bit of flowstone (outism synthmaker) a few years ago but then stopped and recently saw the changes that included basic Ruby coding. Even since then, I didn't really go so in dept. I've learned a few Ruby basics online; however, the site is Codecademy and the Ruby I'm learning so far is more user input and output. I don't know if it progresses from there into stream coding or whatnot, but I don't want to waste weeks or months with a site that won't even teach how to begin to build a program with powerful synthesis. What I would like to know is if there are great resources to learn audio synthesis coding and the Ruby/DSP/C++ that goes along with it. I've built some really simple effects in flowstone, but want to take the next leap into something others will want to use in production, and from what I'm reading it's kind of like looking at a huge calculus answer and working backwards to find the actual problem. I've read through the Flowstone Manual, but there really is no starting point. It's mostly about GUIs. The component description guide is no help because it's an alphabetized list that doesn't really explain where to start. Thanks for taking the time to read this. Any advice is great advice.
I can't help but go through all of your comments and think I kind of grasp the concepts. I'm a music producer of nearly 9 years, so I can understand some. I'm familiar with how additive and subtractive oscillation works, as well as the concepts of harmonics. I began using a little bit of flowstone (outism synthmaker) a few years ago but then stopped and recently saw the changes that included basic Ruby coding. Even since then, I didn't really go so in dept. I've learned a few Ruby basics online; however, the site is Codecademy and the Ruby I'm learning so far is more user input and output. I don't know if it progresses from there into stream coding or whatnot, but I don't want to waste weeks or months with a site that won't even teach how to begin to build a program with powerful synthesis. What I would like to know is if there are great resources to learn audio synthesis coding and the Ruby/DSP/C++ that goes along with it. I've built some really simple effects in flowstone, but want to take the next leap into something others will want to use in production, and from what I'm reading it's kind of like looking at a huge calculus answer and working backwards to find the actual problem. I've read through the Flowstone Manual, but there really is no starting point. It's mostly about GUIs. The component description guide is no help because it's an alphabetized list that doesn't really explain where to start. Thanks for taking the time to read this. Any advice is great advice.
- ChristienSebastien
- Posts: 3
- Joined: Thu Feb 18, 2016 10:44 pm
Re: Oscillators
I personally am finding FS a great environment to learn in, due to the instant feedback available with the DSP Code and similar components. If you just want to get started tinkering, there really doesn't seem to be much need to learn Ruby right away, just plop a DSP Code box in a schematic and go (that's what I've been doing).
Here's some links to get you started:
http://http://musicdsp.org/archive.php
http://www.kvraudio.com/forum/viewforum.php?f=33
http://dspguru.com/
...and of course:
http://flowstone.guru/
The majority of the source code you'll come across is C++, but it's not that hard to translate. For a good example, see Martin's implementation of "Mystran's cheap filter". The ZDF Ladder posted there has the original code included so you can easily compare the two.
Here's some links to get you started:
http://http://musicdsp.org/archive.php
http://www.kvraudio.com/forum/viewforum.php?f=33
http://dspguru.com/
...and of course:
http://flowstone.guru/
The majority of the source code you'll come across is C++, but it's not that hard to translate. For a good example, see Martin's implementation of "Mystran's cheap filter". The ZDF Ladder posted there has the original code included so you can easily compare the two.
- noisenerd
- Posts: 69
- Joined: Sun Feb 14, 2016 11:31 pm
Re: Oscillators
just to be clear, if you want to focus on for stream operations, you should use the FS dsp code or assembler (which is its not so readable) deeper view which allows you to optimize at a lower level...
ruby mainly is used for Gui design or controller calculation, you also can use it for stream in a bufferbased way, but generally thats better to do as dsp then with ruby...
maybe it would be posssible to move the last posts here into a new thread in the general section! it has nothing to do with the original thread....
ruby mainly is used for Gui design or controller calculation, you also can use it for stream in a bufferbased way, but generally thats better to do as dsp then with ruby...
maybe it would be posssible to move the last posts here into a new thread in the general section! it has nothing to do with the original thread....
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Oscillators
Hey Guys,
Thanks so much for responding. Yeah, sorry, you're right. This should be moved into a new thread since it has nothing to do with oscillators. Since even posting my question, I've realized that DSP and the Assembler are the better ways of doing audio. I'm having a problem with algorithms. I can't find a source that will explain how to learn the basics and build upon those. From what I've researched, FS' DSP language is its own monster. It appears similar to C++ but it isn't. There are different syntax. Also, with the Assembler, it's SSE on x86, which again has very little resources on how to learn translation. Again, I just got the replies and haven't checked the sources you suggested, but if I can't find out how to code properly from there, are there one or two sites that will help?
PS, just finished an effect VST and found out it's not compatible with Mac. So disappointing. FS is great for now, but I want to build things that are compatible for machines that every music producer uses. Any quick tips on where to start with that as well? Thanks so much guys!
Thanks so much for responding. Yeah, sorry, you're right. This should be moved into a new thread since it has nothing to do with oscillators. Since even posting my question, I've realized that DSP and the Assembler are the better ways of doing audio. I'm having a problem with algorithms. I can't find a source that will explain how to learn the basics and build upon those. From what I've researched, FS' DSP language is its own monster. It appears similar to C++ but it isn't. There are different syntax. Also, with the Assembler, it's SSE on x86, which again has very little resources on how to learn translation. Again, I just got the replies and haven't checked the sources you suggested, but if I can't find out how to code properly from there, are there one or two sites that will help?
PS, just finished an effect VST and found out it's not compatible with Mac. So disappointing. FS is great for now, but I want to build things that are compatible for machines that every music producer uses. Any quick tips on where to start with that as well? Thanks so much guys!
- ChristienSebastien
- Posts: 3
- Joined: Thu Feb 18, 2016 10:44 pm
Re: Oscillators
ChristienSebastien wrote:Hey guys,
I've built some really simple effects in flowstone, but want to take the next leap into something others will want to use in production, and from what I'm reading it's kind of like looking at a huge calculus answer and working backwards to find the actual problem..
[color=#FF4000]Yeah, that was my first impression of Flowstone. Also, where's that "Ruby Guide to Audio Programming" ?
How do these guys learn this stuff ?
What I do is download as many fsm's as possible, dissect 'em, see how others build their projects.
Also, use the 'scope to look at different signals in the schematics.
I've built some really top grade plugs (VSTs) with Flowstone using these methods.
You don't need Ruby or C++, etc. to build 'em.
I hope this helps !
ROXY [/color]
-
rocknrollkat - Posts: 213
- Joined: Mon Jan 04, 2016 7:04 pm
- Location: Oakland Gardens, New York City, U.S.A.
Waveshape Oscillator
Time for a little update.
Today I am posting an oscillator which I quite like. Although it has no counterpart in the analog domain, it actually reminds me of a warm Moog sound. It delivers harmonics with an exponential amplitude falloff:
a_n = a_0*q^n with |q| < 1 and n = 1, 2, 3, ...
The parameter q determines the overtone richness or timbre. In the schematic, there is a separate input for this parameter which may be modulated while a note is playing. Aliasing is kept to a low level if you don't exceed q_max = (1 - f)^4. This limit is built in in the schematic below.
I have included a very basic demo synth for you to get a quick idea.
Have fun!
Today I am posting an oscillator which I quite like. Although it has no counterpart in the analog domain, it actually reminds me of a warm Moog sound. It delivers harmonics with an exponential amplitude falloff:
a_n = a_0*q^n with |q| < 1 and n = 1, 2, 3, ...
The parameter q determines the overtone richness or timbre. In the schematic, there is a separate input for this parameter which may be modulated while a note is playing. Aliasing is kept to a low level if you don't exceed q_max = (1 - f)^4. This limit is built in in the schematic below.
I have included a very basic demo synth for you to get a quick idea.
Have fun!
- Attachments
-
- waveshapeOscWithPhase.fsm
- Edit: Added normalized variant.
Second Edit: Added variants with phase inputs. - (48.73 KiB) Downloaded 1635 times
Last edited by martinvicanek on Fri Feb 02, 2018 10:07 am, edited 2 times in total.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Oscillators
This is a lovely oscillator Martin!
I note that at higher Q values the amplitude falls off considerably at higher keyboard pitches. I’m guessing this is unavoidable, but I wondered if the level could be normalised before it gets outside the oscillator. This would be to avoid clipping and such in any processing that follows on.
Many thanks, as always, for sharing your work with us. You are the master!
Cheers
Spogg
I note that at higher Q values the amplitude falls off considerably at higher keyboard pitches. I’m guessing this is unavoidable, but I wondered if the level could be normalised before it gets outside the oscillator. This would be to avoid clipping and such in any processing that follows on.
Many thanks, as always, for sharing your work with us. You are the master!
Cheers
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Oscillators
Hi Martin,
Looking at your latest oscillator, I notice your peak meter, which I tested and it's spot on, as you may imagine.
No surprise there.
I would suggest adding a pulse counter like mine so that you can count pulses that flash so fast the human eye misses them.
If you're interested, I'll knock one up for you to horse around with.
Okay, now a question.
In your peak meter you use the same dB converter I came up with, but you divide by 20, I multiply by .05.
I was taught decades ago that computers don't like to divide, they like to multiply.
Dividing took up too many clock cycles.
With today's computers, I would guess that this doesn't matter any more, but old habits die hard, if at all.
I've included both lashups, what are your thoughts ?
ROXY
Looking at your latest oscillator, I notice your peak meter, which I tested and it's spot on, as you may imagine.
No surprise there.
I would suggest adding a pulse counter like mine so that you can count pulses that flash so fast the human eye misses them.
If you're interested, I'll knock one up for you to horse around with.
Okay, now a question.
In your peak meter you use the same dB converter I came up with, but you divide by 20, I multiply by .05.
I was taught decades ago that computers don't like to divide, they like to multiply.
Dividing took up too many clock cycles.
With today's computers, I would guess that this doesn't matter any more, but old habits die hard, if at all.
I've included both lashups, what are your thoughts ?
ROXY
- Attachments
-
- Converter Comparison.fsm
- Divide or multiply, that is the question !
- (887 Bytes) Downloaded 1510 times
-
rocknrollkat - Posts: 213
- Joined: Mon Jan 04, 2016 7:04 pm
- Location: Oakland Gardens, New York City, U.S.A.
Re: Oscillators
rocknrollkat wrote:In your peak meter you use the same dB converter I came up with, but you divide by 20, I multiply by .05.
I was taught decades ago that computers don't like to divide, they like to multiply.
Dividing took up too many clock cycles.
Green calculations are only calculated if you change them, otherwise are static, so they dont use so much cpu and makes no real difference. If you divide in a stream then yeah, you want to optimize the problem and use multiplication instead of dividing where you can.
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Who is online
Users browsing this forum: No registered users and 49 guests