EconPapers    
Economics at your fingertips  
 

Recurrence relation for real-time audio fading

Lucian Lupsa-Tataru ()

Technium, 2023, vol. 12, issue 1, 15-22

Abstract: Starting from shaping the audio fade profile by an invertible rational function, with playback position as the input, we derive a recurrence relation that enables the audio volume updating as long as the time domain discretization is carried out with a constant step size. The resulted recurrence relation yields the audio volume current value as rational function of its previous value only, thus being suitable for efficiently implementing real-time adjustable fades whenever the adopted programming language (or software framework) allows the invocation of timing events. A JavaScript implementation, prepared for straightaway experimentation, and put forward in the paper, highlights the convenience of associating the derived recurrence relation with the "setInterval()" method in order to perform real-time audio fades, which can resemble either the logarithmic shape fade or the fade of exponential shape.

Date: 2023
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://techniumscience.com/index.php/technium/article/view/9328/3410 (application/pdf)
https://techniumscience.com/index.php/technium/article/view/9328 (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tec:techni:v:12:y:2023:i:1:p:15-22

DOI: 10.47577/technium.v12i.9328

Access Statistics for this article

Technium is currently edited by Scurtu Ionut Cristian

More articles in Technium from Technium Science
Bibliographic data for series maintained by Ana Maria Golita ().

 
Page updated 2025-03-20
Handle: RePEc:tec:techni:v:12:y:2023:i:1:p:15-22