Hi,
I need saturation block which will limit input vector signal values to the upper (in my case 1) and lower saturation values (0). In Simulink it was done with saturation block (see the attachment). Does AWE Designer offer this block?
Regards,
Mike
1:12pm
Hello Mike,
You can do this with our Limiter and Compressor Core modules, further outlined in our Module User's Guide starting on page 17.
Thanks,
Kevin
1:31pm
Great, thanks. One more thing: after that if I need to use "dead zone' module to put signal values between 0 and 0.3 to zero, how is that done in a good way?
3:06pm
Hi Mike,
You could use the Logic modules to compare the signal values (less than or equal to 0.3).
Thanks,
Kevin
2:40pm
As far as I understood it the LogicConstCompare module performs the comparison and outputs 1 if the comparison is true and 0 if it resolves to false. If I want so that output is 0 if the input is between 0 and 0.3 and otherwise it will output the input value between 0.31...1.00. Is there a module/a way to do this?
3:20pm
Hello Mike,
You could multiply the signal with the compare module's output. You could also use the Hysteresis module as well.
Thanks,
Kevin
2:03pm
Hello,
About Hysteresis module (as Audio Weaver Module Guide does not cover this module): is this module limiting signal, let say I put upper threshold as 1 and lower threshold as 0 and the input signal varies between 0 and 100, the output will be always shrinked between [0,1]?
2:59pm
Hello Mike,
If you right click any module and click 'help', it will show you the module's html help page. This will show you information about the module you want to know more about. Here is information from the hysteresis module's help page:
"The hysteresis module implements switching above and below a threshold. The module accepts floating-point inputs and outputs 0 when the signal level is below the threshold and 1 when above. Instead of just a single threshold the module incorporates hysteresis by having separate upper and lower thresholds. The output switches from 0->1 when the input signal rises above the upperThreshold and then stays at 1 until the signal drops below the lowerThreshold. The module is thus above to avoid frequent switching when signal levels are close to the threshold.
If you need just a straightforward comparison against a threshold without hysteresis, use the logic_compare_const_modulue.m.
The module accepts multichannel signals and outputs a separate Boolean value per channel. The module operates on a sample-by-sample basis and the block size of the output equals the block size of the input.
When bypassed, the module continues to process data normally. That is, the module's processing function is called even when it is bypassed."
Thanks,
Kevin