IDEAS home Printed from https://ideas.repec.org/a/tec/techni/v12y2023i1p15-22.html
   My bibliography  Save this article

Recurrence relation for real-time audio fading

Author

Listed:
  • Lucian Lupsa-Tataru

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.

Suggested Citation

  • Lucian Lupsa-Tataru, 2023. "Recurrence relation for real-time audio fading," Technium, Technium Science, vol. 12(1), pages 15-22.
  • Handle: RePEc:tec:techni:v:12:y:2023:i:1:p:15-22
    DOI: 10.47577/technium.v12i.9328
    as

    Download full text from publisher

    File URL: https://techniumscience.com/index.php/technium/article/view/9328/3410
    Download Restriction: no

    File URL: https://techniumscience.com/index.php/technium/article/view/9328
    Download Restriction: no

    File URL: https://libkey.io/10.47577/technium.v12i.9328?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    JEL classification:

    • R00 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - General - - - General
    • Z0 - Other Special Topics - - General

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tec:techni:v:12:y:2023:i:1:p:15-22. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Ana Maria Golita (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.