Audio cross-fade implementation via rational functions
Autor: | Lucian Lupsa-Tataru |
---|---|
Rok vydání: | 2021 |
Předmět: |
JavaScript
audio fade-out Computer science Physics QC1-999 ComputerSystemsOrganization_COMPUTER-COMMUNICATIONNETWORKS Mechanics of engineering. Applied mechanics audio cross-fade TA349-359 Data_CODINGANDINFORMATIONTHEORY Rational function HTML5 audio fade-in Computer Science::Performance real-time computing Computer Science::Sound Computer Science::Multimedia Computer Science::Networking and Internet Architecture Fade Algorithm Computer Science::Information Theory |
Zdroj: | Technium, Vol 3, Iss 5 (2021) |
ISSN: | 2668-778X |
DOI: | 10.47577/technium.v3i5.3881 |
Popis: | Implementation of the cross-fade audio effect requires shaping the fade profile for a certain audio content that is to be faded out, as well as customizing the audio fade for an additional audio content, which is to be faded in, with the purpose of achieving a smooth transition between the two different audio contents. Similar to the case of applying adjustable fades, the audio cross-fades are usually carried out in the off-line mode, by employing various transcendental functions to shape the audio fades (both fade-out and fade-in effects). To improve the computational capabilities by minimizing the delay between receiving the position within the cross-fade effect and returning both the volume of the faded out section and the volume of the faded in one, we consider that, during the cross-fade effect, the audio volume of each of the two overlapping sections is the output of a rational function i.e. a mapping defined by a rational fraction. A plain HTML5/JavaScript implementation, prepared to be tested in any major browser, is advanced in the paper in order to highlight the suitability of the suggested approach to audio cross-fade customization with real-time computing. |
Databáze: | OpenAIRE |
Externí odkaz: |