Wave shaping function in simulink, looks like ???

2 vues (au cours des 30 derniers jours)
Brent Cartwright
Brent Cartwright le 15 Jan 2017
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.

Réponses (1)

Chinmayi Lanka
Chinmayi Lanka le 19 Jan 2017
Modifié(e) : Chinmayi Lanka le 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
  1 commentaire
Brent Cartwright
Brent Cartwright le 19 Jan 2017
y = f(a(t) * x(t))
working with y = f(x(t)) to simplify.
i set the formula like so up to this point to attempt to sculpt a sinusoid...see pic.

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by