Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Uses  





2 How it works  





3 Commonly used shaping functions  



3.1  Polynomials  







4 Problems associated with waveshapers  





5 Sources  














Waveshaper






Français
Português
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Inelectronic music, waveshaping is a type of distortion synthesis in which complex spectra are produced from simple tones by altering the shape of the waveforms.[1]

Uses[edit]

Waveshapers are used mainly by electronic musicians to achieve an extra-abrasive sound. This effect is most used to enhance the sound of a music synthesizer by altering the waveform or vowel. Rock musicians may also use a waveshaper for heavy distortion of a guitar or bass. Some synthesizers or virtual software instruments have built-in waveshapers. The effect can make instruments sound noisy or overdriven.

In digital modeling of analog audio equipment such as tube amplifiers, waveshaping is used to introduce a static, or memoryless, nonlinearity to approximate the transfer characteristic of a vacuum tubeordiode limiter.[2]

How it works[edit]

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 functionortransfer function, to the input signal (the term shaping function is preferred to avoid confusion with the transfer function from systems theory).[3] The function can be any function at all.

Mathematically, the operation is defined by the waveshaper equation

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.[4] This parameter a is often used as a constant gain factor called the distortion index.[5] 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.

Commonly used shaping functions[edit]

Sin, arctan, polynomial functions, or piecewise functions (such as the hard clipping function) are commonly used as waveshaping transfer functions. It is also possible to use table-driven functions, consisting of discrete points with some degree of interpolation or linear segments.

Polynomials[edit]

Apolynomial is a function of the form

Polynomial functions are convenient as shaping functions because, when given a single sinusoid as input, a polynomial of degree N will only introduce up to the Nth harmonic of the sinusoid. To prove this, consider a sinusoid used as input to the general polynomial.

Next, use the inverse Euler's formula to obtain complex sinusoids.

Finally, use the binomial formula to transform back to trigonometric form and find coefficients for each harmonic.

From the above equation, several observations can be made about the effect of a polynomial shaping function on a single sinusoid:

Problems associated with waveshapers[edit]

The sound produced by digital waveshapers tends to be harsh and unattractive, because of problems with aliasing. Waveshaping is a non-linear operation, so it's hard to generalize about the effect of a waveshaping function on an input signal. The mathematics of non-linear operations on audio signals is difficult, and not well understood. The effect will be amplitude-dependent, among other things. But generally, waveshapers—particularly those with sharp corners (e.g., some derivatives are discontinuous) -- tend to introduce large numbers of high frequency harmonics. If these introduced harmonics exceed the Nyquist limit, then they will be heard as harsh inharmonic content with a distinctly metallic sound in the output signal. Oversampling can somewhat but not completely alleviate this problem, depending on how fast the introduced harmonics fall off[citation needed].

With relatively simple, and relatively smooth waveshaping functions (sin(a*x), atan(a*x), polynomial functions, for example), this procedure may reduce aliased content in the harmonic signal to the point that it is musically acceptable[citation needed]. But waveshaping functions other than polynomial waveshaping functions will introduce an infinite number of harmonics into the signal, some which may audibly alias even at the supersampled frequency[citation needed].

Sources[edit]

  1. ^ Charles Dodge and Thomas A. Jersey (1997). Computer Music: Synthesis, Composition, and Performance, "Glossary", p.438. ISBN 0-02-864682-7.
  • ^ Yeh, David T. and Pakarinen, Jyri (2009). "A Review of Digital Techniques for Modeling Vacuum-Tube Guitar Amplifiers", Computer Music Journal, 33:2, pp. 89-90
  • ^ http://www.music.mcgill.ca/~gary/courses/2012/307/week12/node2.html [dead link]
  • ^ Le Brun, Marc (1979). "Digital Waveshaping Synthesis", Journal of the Audio Engineering Society, 27:4, p. 250
  • ^ http://www.music.mcgill.ca/~gary/courses/2012/307/week12/node4.html [dead link]

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Waveshaper&oldid=1229702825"

    Category: 
    Electronic music
    Hidden categories: 
    All articles with dead external links
    Articles with dead external links from February 2022
    All articles with unsourced statements
    Articles with unsourced statements from June 2024
     



    This page was last edited on 18 June 2024, at 07:47 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki