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
i´m a beginner, help please!
7 posts
• Page 1 of 1
i´m a beginner, help please!
I saw some things inside DSP Code modules which I can´t find explanations in the Flowstone User Guide.
For example:
a!=0;
x==3;
what does that mean? Please if you know where there is a complete guide, please let me know.
For example:
a!=0;
x==3;
what does that mean? Please if you know where there is a complete guide, please let me know.
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
Re: i´m a beginner, help please!
G'day mate,
Please delete the triple post,
if u would kindly delete the other 2 threads.
!= is code for 'does not equal'
== I think is defining equals in a conditional statement,
not for defining an object(line of code)
Here is an example of lines that uses both->
a = input != 0 & 4
output= a == 4 & 1
Sorry if that's more confusing,
but if input is more or less than 0, it will output 1
I can pretty much only do conditional statements in the DSP code window,
but it lets you do a lot.
Many happy returns!
Please ask more questions if you'd like
edit-> and a is 4, when input is not 0
Please delete the triple post,
if u would kindly delete the other 2 threads.
!= is code for 'does not equal'
== I think is defining equals in a conditional statement,
not for defining an object(line of code)
Here is an example of lines that uses both->
a = input != 0 & 4
output= a == 4 & 1
Sorry if that's more confusing,
but if input is more or less than 0, it will output 1
I can pretty much only do conditional statements in the DSP code window,
but it lets you do a lot.
Many happy returns!
Please ask more questions if you'd like
edit-> and a is 4, when input is not 0
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: i´m a beginner, help please!
Thanks Nix! I have connection problems here, it its the reason why there´s 3 posts... I´m deleting it.
Well, I have two need:
1- I need to learn more English...
2- Until now I designed some synths with the oscillators that bring SM and FS. But those have no Pulse output. I designed one using DSP code, but it have big aliasing noise on higuer notes.
I downloaded the antialiasing example designed by Andrew J from this forum (search OSC_example_v1.6b.osm)
It´s amazing, but I can´t to make it work fine with my oscillators because I don´t know some things about this.
Well, I have two need:
1- I need to learn more English...
2- Until now I designed some synths with the oscillators that bring SM and FS. But those have no Pulse output. I designed one using DSP code, but it have big aliasing noise on higuer notes.
I downloaded the antialiasing example designed by Andrew J from this forum (search OSC_example_v1.6b.osm)
It´s amazing, but I can´t to make it work fine with my oscillators because I don´t know some things about this.
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
Re: i´m a beginner, help please!
I'm sorry,
I don't know how to oversample,
but if you post the schematic I can have a quick look.
Hopefully someone who knows what they are doing can help.
Maybe also- is it possible to use a low pass filter(somehow)
- just to filter out beyond Nyquist?
I don't know how to oversample,
but if you post the schematic I can have a quick look.
Hopefully someone who knows what they are doing can help.
Maybe also- is it possible to use a low pass filter(somehow)
- just to filter out beyond Nyquist?
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: i´m a beginner, help please!
It isn´t enough to filter near Nyquist because aliasing generates lower frequencies, and those frequencies may vary as the played note. Hence if you filter, for example, a sawtooth to eliminate the harmonics that causes aliasing, the saw is destroyed by lack of harmonics... By texts I read, I understand that we must oversample, then filter to frequencies greater that Nyquist... it sound imposible, but there´s ways to simulate it with programming. And that is the part I don´t understand...
I´ll prepare a scheme next days and I´ll publish here so you can poke around. Have a happy New Year!
I´ll prepare a scheme next days and I´ll publish here so you can poke around. Have a happy New Year!
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
Re: i´m a beginner, help please!
Hi gvalletto,
Not sure you've seen this, but this thread has some 'oversampling' discussion ...
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=1675&hilit=oversample
Not sure you've seen this, but this thread has some 'oversampling' discussion ...
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=1675&hilit=oversample
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: i´m a beginner, help please!
Thanks again RJ,
I´ll see these links with care, I have a lot to learn...
Best regards,
Gustavo
I´ll see these links with care, I have a lot to learn...
Best regards,
Gustavo
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 26 guests