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
Basic Sample Value Question
3 posts
• Page 1 of 1
Basic Sample Value Question
Hi,
Sometimes the basic questions are the most important.
In FS environment, are all audio samples converged to [-1:1], or are there audio sample with a abs value greater than 1?
Thanks,
Rocko
Sometimes the basic questions are the most important.
In FS environment, are all audio samples converged to [-1:1], or are there audio sample with a abs value greater than 1?
Thanks,
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Basic Sample Value Question
Output (and some processing modules in your schematic) requires, that you scale your audio values into the range (-1;+1), not abs (abs just means, that there will be values between 0 and 1 for that case). Everything else depends on you, i.e. you may use unscaled streams inside the schematic.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: Basic Sample Value Question
The is <-1,1> range rather an industry standard. What it means, your soundcard outputs values in this range and expects values in this range. If you exceed this range clipping occurs. However, that happens only inside your soundcard - in your FS schematic you can use any values you like.
Can audio input/output of your plugin be outside <-1,1> range? It should not, but it can. Most DAWS do not clip audio in between plugins, so it it very well possible that your plugin receives signal that is above the range ("in the red area" on the meters), alhough end-user (ie. the mixing engineer) should avoid that. You can also send out such data, but be warned: 1.soundcards will clip if such high input gets to them. 2.some plugins may also have some clipping in them, to prevent such high signals from damaging the soundcard.
And you should do that too. I recommend putting clipper module just before output (and possibly also just after input) and put a warning in a manual that your software clips the audio if it's too hot. Or don't put the clippers there and warn the user, that your software may output sound above 0dBFS ( = outside <-1,1> range) and may damage his/hers gear/hearing if used incorrectly.
Can audio input/output of your plugin be outside <-1,1> range? It should not, but it can. Most DAWS do not clip audio in between plugins, so it it very well possible that your plugin receives signal that is above the range ("in the red area" on the meters), alhough end-user (ie. the mixing engineer) should avoid that. You can also send out such data, but be warned: 1.soundcards will clip if such high input gets to them. 2.some plugins may also have some clipping in them, to prevent such high signals from damaging the soundcard.
And you should do that too. I recommend putting clipper module just before output (and possibly also just after input) and put a warning in a manual that your software clips the audio if it's too hot. Or don't put the clippers there and warn the user, that your software may output sound above 0dBFS ( = outside <-1,1> range) and may damage his/hers gear/hearing if used incorrectly.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 38 guests