WaveShaping Example 2
Illustrates the use of the Wave Shaper block for performing distortion via wave shaping with an arbitrary user-programmable shaping function. For this example, the ASCII file "distort.txt" (in the wwtables/demo directory) contains an arbitrary wave shaping function (based on Bessel functions) stored as a wavetable which can be imported into the Wave Shaper block via its file I/O dialog box. The "distort.txt" file was actually written using MATLAB (see the "wwxample7.m" script in the wwmatlab directory), but could also be created by hand using a text editor.
Try creating and importing your own wave shaping functions !
[Ref. "The Computer Music Tutorial", Curtis Roads, The MIT Press, 1996.]
WaveShaping Example 2 Illustrates the use of the Wave Shaper block for performing distortion via wave shaping with an arbitrary user-programmable shaping function. For this example, the ASCII file "distort.txt" (in the wwtables/demo directory) contains an arbitrary wave shaping function (based on Bessel functions) stored as a wavetable which can be imported into the Wave Shaper block via its file I/O dialog box. The "distort.txt" file was actually written using MATLAB (see the "wwxample7.m" script in the wwmatlab directory), but could also be created by hand using a text editor. Try creating and importing your own wave shaping functions ! [Ref. "The Computer Music Tutorial", Curtis Roads, The MIT Press, 1996.]