Wave shaping function in simulink, looks like ???
5 views (last 30 days)
Show older comments
I would like to know if anyone could possibly help me "understand" this function, or give direction on how i should assemble the system in the Model builder. what blocks to use, how to assemble them, how to run signal paths, how to analyze the system, etc. pics would help, Thanks
Description of function ; A waveshaper is an audio effect that changes an audio signal by mapping an input signal to the output signal by applying a fixed or variable mathematical function, called the shaping function or transfer function, to the input signal (the term shaping function is preferred to avoid confusion with the transfer function from systems theory). The function can be any function at all.
Mathematically, the operation is defined by the waveshaper equation y=f(a(t)x(t)) where f is the shaping function, x(t) is the input function, and a(t) is the index function, which in general may vary as a function of time. This parameter a is often used as a constant gain factor called the distortion index. In practice, the input to the waveshaper, x, is considered on [-1,1] for digitally sampled signals, and f will be designed such that y is also on [-1,1] to prevent unwanted clipping in software.
0 Comments
Answers (1)
Chinmayi Lanka
on 19 Jan 2017
Edited: Chinmayi Lanka
on 19 Jan 2017
It depends on the function. There are dedicated blocks for each function and depending on the function you wish to use, you can use the appropriate block or a combination of blocks.
Is there a specific function you are looking for?
You can take a look at the blocks available in the Audio System Toolbox to see if they work for your application: http://www.mathworks.com/help/audio/blocklist.html?s_cid=doc_ftr
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!