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

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!

DSP related issues, mathematics, processing and techniques

i´m a beginner, help please!

Postby gvalletto » Tue Dec 31, 2013 2:13 am

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.
User avatar
gvalletto
 
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina

Re: i´m a beginner, help please!

Postby nix » Tue Dec 31, 2013 3:04 am

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
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: i´m a beginner, help please!

Postby gvalletto » Tue Dec 31, 2013 3:50 am

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.
User avatar
gvalletto
 
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina

Re: i´m a beginner, help please!

Postby nix » Tue Dec 31, 2013 6:03 am

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?
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: i´m a beginner, help please!

Postby gvalletto » Tue Dec 31, 2013 6:43 am

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!
User avatar
gvalletto
 
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina

Re: i´m a beginner, help please!

Postby RJHollins » Tue Dec 31, 2013 6:52 am

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
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: i´m a beginner, help please!

Postby gvalletto » Thu Jan 02, 2014 1:30 am

Thanks again RJ,
I´ll see these links with care, I have a lot to learn...
Best regards,
Gustavo
User avatar
gvalletto
 
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina


Return to DSP

Who is online

Users browsing this forum: No registered users and 58 guests