Recurrence relation for real-time audio fading

Main Article Content

Lucian Lupsa-Tataru
https://orcid.org/0000-0002-3320-9850

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. 


IMG9328.jpg


Article Details

How to Cite
Lupsa-Tataru, L. (2023). Recurrence relation for real-time audio fading. Technium: Romanian Journal of Applied Sciences and Technology, 12, 15–22. https://doi.org/10.47577/technium.v12i.9328
Section
Articles

References

S. LANGFORD: Digital Audio Editing. Correcting and Enhancing Audio in Pro Tools, Logic Pro, Cubase, and Studio One. Burlington, MA, USA, Focal Press, 2014.

W. JACKSON: Digital Audio Editing Fundamentals. Get Started with Digital Audio Development and Distribution. Berkeley, CA, USA, Apress Media 2015. doi: 10.1007/978-1-4842-1648-4

J. D. REISS, A. McPHERSON: Audio Effects. Theory, Implementation and Application. Boca Raton, FL, USA, CRC Press, 2015.

C. SCHRODER: The Book of Audacity. Record, Edit, Mix, and Master with the Free Audio Editor. San Francisco, CA, USA, No Starch Press, 2011.

The Audacity Team: Audacity(R) Free, Open Source, Cross-platform Audio Software. Audacity Manual, 2023. Adjustable Fade. https://manual.audacityteam.org/man/adjustable_fade.html

R. L. BLEIDT et al.: Building the world’s most complex TV network: a test bed for broadcasting immersive and interactive audio. SMPTE Motion Imaging Journal, 126 (5), 26-34 (2017). doi: 10.5594/JMI.2017.2698618

K. LIANG, B. SEO, A. KRYCZKA, R. ZIMMERMANN: IDM: An indirect dissemination mechanism for spatial voice interaction in networked virtual environments. IEEE Transactions on Parallel and Distributed Systems, 24 (2), 356-367 (2013). doi: 10.1109/TPDS.2012.91

I. DEVLIN: HTML5 Multimedia. Develop and Design. Berkeley, CA, USA, Peachpit Press, 2012.

N. HELYER, D. WOO, F. VERONESI: Artful media. The sonic nomadic: exploring mobile surround-sound interactions. IEEE MultiMedia, 16 (2), 12-15 (2009). doi: 10.1109/MMUL.2009.38

K. KIM, J. SEO, S. BEACK, K. KANG, M. HAHN: Spatial audio object coding with two-step coding structure for interactive audio service. IEEE Transactions on Multimedia, 13 (6), 1208-1216 (2011). doi: 10.1109/TMM.2011.2168197

E. LOELIGER, T. STOCKMAN: Wayfinding without visual cues: evaluation of an interactive audio map system. Interacting with Computers, 26 (5), 403-416 (2014). doi: 10.1093/iwc/iwt042

L. ZENG, M. MIAO, G. WEBER: Interactive audio-haptic map explorer on a tactile display. Interacting with Computers, 27 (4), 413-429 (2015). doi: 10.1093/iwc/iwu006

B. YU, J. HU, M. FUNK, R. H. LIANG, M. XUE, L. FEIJS: RESonance: lightweight, room-scale audio-visual biofeedback for immersive relaxation training. IEEE Access, 6, 38336-38347 (2018). doi: 10.1109/ACCESS.2018.2853406

M. SWEET: Writing Interactive Music for Video Games. A Composer’s Guide. Upper Saddle River, NJ, USA, Addison-Wesley Professional, 2014.

L. LUPSA-TATARU: Novel technique of customizing the audio fade-out shape. Applied Computer Science, 14 (3), 5-14 (2018). doi: 10.23743/acs-2018-17

L. LUPSA-TATARU: Piecewise-defined function for effectively implementing the audio volume automation. Technium: Romanian Journal of Applied Sciences and Technology, 4 (9), 12-22 (2022). doi: 10.47577/technium.v4i9.7331

A. BURNS, A. WELLINGS: Timing events and execution-time control. In: Concurrent and Real-Time Programming in Ada. Cambridge, Cambridge University Press, 2007, 361-390. doi: 10.1017/CBO9780511611230.016

T. ABDELLATIF, J. COMBAZ, J. SIFAKIS: Rigorous implementation of real-time systems - from theory to application. Mathematical Structures in Computer Science, 23 (4), 882-914 (2013). doi: 10.1017/S096012951200028X

D. FLANAGAN: JavaScript: The Definitive Guide, 7th Edition: Master the World’s Most-Used Programming Language. Sebastopol, CA, USA, O’Reilly Media, 2020.

Similar Articles

<< < 2 3 4 5 6 7 8 9 10 11 > >> 

You may also start an advanced similarity search for this article.