# \#audio

**URL:** https://discourse.julialang.org/tag/audio/714.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [State of Audio DSP & Feature Extraction in Julia: Gaps, Priorities, and Future Directions](https://discourse.julialang.org/t/state-of-audio-dsp-feature-extraction-in-julia-gaps-priorities-and-future-directions/138722)

<div class="topic-metadata">

**Author:** [@blah\_blah.jl](https://discourse.julialang.org/u/blah_blah.jl)\
**Replies:** 51\
**Last updated:** [August 20, 2026, 3:24pm UTC](https://discourse.julialang.org/t/state-of-audio-dsp-feature-extraction-in-julia-gaps-priorities-and-future-directions/138722 "2026-08-20T15:24:15Z")

</div>

Hey everyone, ​I’ve been exploring signal processing in Julia and working on some basic DSP and communications tools. As I look into expanding toward audio signal processing, Music Information Retrieval (MIR), and featu…

---

## [Announcing ThinkDSP.jl: a Julia toolkit for signals, spectra, and audio](https://discourse.julialang.org/t/announcing-thinkdsp-jl-a-julia-toolkit-for-signals-spectra-and-audio/138660)

<div class="topic-metadata">

**Author:** [@blah\_blah.jl](https://discourse.julialang.org/u/blah_blah.jl)\
**Replies:** 2\
**Last updated:** [August 7, 2026, 4:01pm UTC](https://discourse.julialang.org/t/announcing-thinkdsp-jl-a-julia-toolkit-for-signals-spectra-and-audio/138660 "2026-08-07T16:01:17Z")

</div>

I have always liked working with DSP in Python. Libraries such as the original Think DSP code make it easy to move from a signal, to a sampled wave, to a spectrum, apply a filter, and reconstruct the result without losin…

---

## [Audio processing in Julia](https://discourse.julialang.org/t/audio-processing-in-julia/35248)

<div class="topic-metadata">

**Author:** [@minifdez11](https://discourse.julialang.org/u/minifdez11)\
**Replies:** 6\
**Last updated:** [February 27, 2026, 4:55pm UTC](https://discourse.julialang.org/t/audio-processing-in-julia/35248 "2026-02-27T16:55:30Z")

</div>

Hi, I want to make some operations with an mp3 file or WAV file, like splitting, but idk how to make it in Julia, i saw that the pkgs LibSndFile.jl, AudioIO.jl and WAV.jl don’t work well, is there any library that will h…

---

## [\[ANN\] WaveFlow.jl: Audio engine in Julia](https://discourse.julialang.org/t/ann-waveflow-jl-audio-engine-in-julia/131490)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 5\
**Last updated:** [August 16, 2025, 5:10pm UTC](https://discourse.julialang.org/t/ann-waveflow-jl-audio-engine-in-julia/131490 "2025-08-16T17:10:04Z")

</div>

Hello guys. I present my new package WaveFlow.jl, a complet audio engine. I’m not an audio engineer but I think it’s pretty good :sweat\_smile: Here are the available features: File loading: Waves can load a wide var…

---

## [Would you sonify your data?](https://discourse.julialang.org/t/would-you-sonify-your-data/116366)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 20\
**Last updated:** [May 13, 2025, 2:57pm UTC](https://discourse.julialang.org/t/would-you-sonify-your-data/116366 "2025-05-13T14:57:45Z")

</div>

Legend \[1\] has it that we might never have discovered the black hole at the center of our galaxy if Karl Jansky had not heard static while listening for weirdness in radio waves. The sound of the geigercounter freaking o…

---

## [Help me learn concurrency: live manipulation of continuous sound](https://discourse.julialang.org/t/help-me-learn-concurrency-live-manipulation-of-continuous-sound/119150)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 9\
**Last updated:** [September 9, 2024, 3:41pm UTC](https://discourse.julialang.org/t/help-me-learn-concurrency-live-manipulation-of-continuous-sound/119150 "2024-09-09T15:41:04Z")

</div>

I have a program here that plays a continuous tone. If you press the ‘r’ key, the pitch rises. If you press ‘f’, the pitch falls. If you press ‘q’, the program quits. The first while loop continuously takes in keyboard i…

---

## ["scrubbing" sound: playing sound from views rather than Arrays](https://discourse.julialang.org/t/scrubbing-sound-playing-sound-from-views-rather-than-arrays/115957)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 0\
**Last updated:** [June 21, 2024, 1:02am UTC](https://discourse.julialang.org/t/scrubbing-sound-playing-sound-from-views-rather-than-arrays/115957 "2024-06-21T01:02:11Z")

</div>

In PortAudio, audio data is just a Nx1 (mono) or Nx2 (stereo) matrix with an associated sample rate. So if you had a sample rate of 44\_100 samples per second, a one-second-long audio will have 44\_100 rows. Say I have tw…

---

## [How to make log-Mel spectrogram?](https://discourse.julialang.org/t/how-to-make-log-mel-spectrogram/97927)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 4:09pm UTC](https://discourse.julialang.org/t/how-to-make-log-mel-spectrogram/97927 "2024-06-19T16:09:05Z")

</div>

The eventual goal is to make a pure Julia Whisper inference, but got stopped before 1st step. Most ingredients of the spectrogram is simply a combination of hanging window and stft: in Julia, we can find them in DSP.j…

---

## [Playing audio files from Julia](https://discourse.julialang.org/t/playing-audio-files-from-julia/109829)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 13\
**Last updated:** [February 7, 2024, 5:08pm UTC](https://discourse.julialang.org/t/playing-audio-files-from-julia/109829 "2024-02-07T17:08:01Z")

</div>

What would be the recommended way to (just) play a MP3 file from Julia? Most related posts was Audio processing in Julia but I wonder if there is anything new, and also if you would know of some cross-platform binaries…

---

## [Can Julia make voice synthesizer using pressure simulation?](https://discourse.julialang.org/t/can-julia-make-voice-synthesizer-using-pressure-simulation/106220)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 5\
**Last updated:** [November 15, 2023, 5:13am UTC](https://discourse.julialang.org/t/can-julia-make-voice-synthesizer-using-pressure-simulation/106220 "2023-11-15T05:13:39Z")

</div>

A good synthetic speaker could talk, sing, and perform lots of stuffs. So, the question today is… would it be possible for Julia to synthesize voice by simulating vibration or even aIr pressure? (Maybe it’s totally j…

---

## [Julia for audio live coding?](https://discourse.julialang.org/t/julia-for-audio-live-coding/101593)

<div class="topic-metadata">

**Author:** [@JTriggerFish](https://discourse.julialang.org/u/JTriggerFish)\
**Replies:** 19\
**Last updated:** [July 23, 2023, 4:30am UTC](https://discourse.julialang.org/t/julia-for-audio-live-coding/101593 "2023-07-23T04:30:20Z")

</div>

Hi all, I’m new to Julia and trying to gauge feasibility with regards to audio live coding. What I would like to do essentially is to use the REPL or the “Run code” function in vscode to create audio callbacks that gene…

---

## [Problem reading some WAV files using WAV.jl](https://discourse.julialang.org/t/problem-reading-some-wav-files-using-wav-jl/99788)

<div class="topic-metadata">

**Author:** [@CosmicSpittle](https://discourse.julialang.org/u/CosmicSpittle)\
**Replies:** 2\
**Last updated:** [June 5, 2023, 1:44pm UTC](https://discourse.julialang.org/t/problem-reading-some-wav-files-using-wav-jl/99788 "2023-06-05T13:44:04Z")

</div>

I have come across a wav file that I cannot read using WAV.jl (or LibSndFile.jl). I can open it in about any other audio program or library (Matlab, R, Raven, Audacity, …). If I read it into Matlab and write it back o…

---

## [Announcing Whisper.jl](https://discourse.julialang.org/t/announcing-whisper-jl/96614)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 7\
**Last updated:** [May 23, 2023, 6:10pm UTC](https://discourse.julialang.org/t/announcing-whisper-jl/96614 "2023-05-23T18:10:57Z")

</div>

I’m very pleased to announce the availability of Whisper.jl, a Julia package to perform speech recognition. It uses the Whisper model developed by OpenAI, and runs the inference on the CPU using Georgi Gerganov’s whisper…

---

## [Processing real-time streaming audio, controlled by a GUI](https://discourse.julialang.org/t/processing-real-time-streaming-audio-controlled-by-a-gui/96692)

<div class="topic-metadata">

**Author:** [@cdevane](https://discourse.julialang.org/u/cdevane)\
**Replies:** 5\
**Last updated:** [April 21, 2023, 6:24am UTC](https://discourse.julialang.org/t/processing-real-time-streaming-audio-controlled-by-a-gui/96692 "2023-04-21T06:24:37Z")

</div>

I’m a relative newcomer to Julia. I’d like to build an app that processes an audio stream in real time, with processing parameters controlled from a GUI. I’m looking for suggestions on how to approach this, or better ye…

---

## [Notification when cell is re-run by the user?](https://discourse.julialang.org/t/notification-when-cell-is-re-run-by-the-user/89414)

<div class="topic-metadata">

**Author:** [@ssfrr](https://discourse.julialang.org/u/ssfrr)\
**Replies:** 3\
**Last updated:** [October 30, 2022, 2:11am UTC](https://discourse.julialang.org/t/notification-when-cell-is-re-run-by-the-user/89414 "2022-10-30T02:11:19Z")

</div>

I’m playing around a bit with Pluto and web-audio. Right now I’m just creating an oscillator with the frequency controlled by a slider. The code I have to do this is: htl""" \<script id="osctest"\> const div = this == nul…

---

## [Record audio without data loss between save files | PortAudio.jl](https://discourse.julialang.org/t/record-audio-without-data-loss-between-save-files-portaudio-jl/85007)

<div class="topic-metadata">

**Author:** [@frsalarcon](https://discourse.julialang.org/u/frsalarcon)\
**Replies:** 1\
**Last updated:** [August 1, 2022, 10:09pm UTC](https://discourse.julialang.org/t/record-audio-without-data-loss-between-save-files-portaudio-jl/85007 "2022-08-01T22:09:05Z")

</div>

Hello everyone! I have a question, is there a way to record audio for example one minute through the following script using portaudio: import LibSndFile using PortAudio: PortAudioStream using SampledSignals: s using Fi…

---

## [Should Julia model audio data like it models image data: with an easy conversion between a matrix and its corresponding media file?](https://discourse.julialang.org/t/should-julia-model-audio-data-like-it-models-image-data-with-an-easy-conversion-between-a-matrix-and-its-corresponding-media-file/84941)

<div class="topic-metadata">

**Author:** [@g2g](https://discourse.julialang.org/u/g2g)\
**Replies:** 0\
**Last updated:** [July 28, 2022, 9:49pm UTC](https://discourse.julialang.org/t/should-julia-model-audio-data-like-it-models-image-data-with-an-easy-conversion-between-a-matrix-and-its-corresponding-media-file/84941 "2022-07-28T21:49:25Z")

</div>

I am using Julia to create a video entry into the Summer of Math Exposition II competition and I wanted to see how difficult it would be to automate all the video editing tasks with Julia and ffmpeg instead of spending h…

---

## [Music packages](https://discourse.julialang.org/t/music-packages/75261)

<div class="topic-metadata">

**Author:** [@Erasmo98](https://discourse.julialang.org/u/Erasmo98)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 4:14am UTC](https://discourse.julialang.org/t/music-packages/75261 "2022-01-27T04:14:19Z")

</div>

Hey there. I haven’t used Julia for a while. I remember that there are several packages for doing different things related to music. I’d like to explore those packages but I don’t remember which were. Making a quick sear…

---

## [\[ANN\] Justly.jl: a package for composing music in just intonation](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706)

<div class="topic-metadata">

**Author:** [@bramtayl](https://discourse.julialang.org/u/bramtayl)\
**Replies:** 3\
**Last updated:** [January 4, 2022, 6:28pm UTC](https://discourse.julialang.org/t/ann-justly-jl-a-package-for-composing-music-in-just-intonation/67706 "2022-01-04T18:28:11Z")

</div>

Hi all, I just published Justly, a package for composing music in just intonation. I’ve written a tutorial in the README. To be able publish it, I’ve written the docs for QML, cross-compiled PulseAudio and its unholy num…

---

## [How could communication with the PortAudio callback work? Maybe 1.7's atomics?](https://discourse.julialang.org/t/how-could-communication-with-the-portaudio-callback-work-maybe-1-7s-atomics/72537)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 0\
**Last updated:** [December 3, 2021, 6:58pm UTC](https://discourse.julialang.org/t/how-could-communication-with-the-portaudio-callback-work-maybe-1-7s-atomics/72537 "2021-12-03T18:58:59Z")

</div>

I would like to play around with PortAudio.jl. My goal is to create some simple functions like sine, saw, or triangle wave generators, maybe some basic filters or delays, and then adjust parameters using a simple GUI or …

---

## [How to play the audiobook .m4b file in julia?](https://discourse.julialang.org/t/how-to-play-the-audiobook-m4b-file-in-julia/69091)

<div class="topic-metadata">

**Author:** [@wuxinyu](https://discourse.julialang.org/u/wuxinyu)\
**Replies:** 3\
**Last updated:** [October 3, 2021, 11:27am UTC](https://discourse.julialang.org/t/how-to-play-the-audiobook-m4b-file-in-julia/69091 "2021-10-03T11:27:53Z")

</div>

I want to play a audio book file xxx.m4b in a web app, but I can’t find a package to handle the m4b file. I find a possible package called ffmpeg but I have no idea how to implement it. How can I play a audio book file i…

---

## [Reading in with WAV yields different result from data exported through Audacity](https://discourse.julialang.org/t/reading-in-with-wav-yields-different-result-from-data-exported-through-audacity/68102)

<div class="topic-metadata">

**Author:** [@Nenndul](https://discourse.julialang.org/u/Nenndul)\
**Replies:** 7\
**Last updated:** [September 14, 2021, 3:41pm UTC](https://discourse.julialang.org/t/reading-in-with-wav-yields-different-result-from-data-exported-through-audacity/68102 "2021-09-14T15:41:46Z")

</div>

I have a simple program that I want to run on a wav file. To test the algorithm I have used audacity’s export function to generate a CSV file, and everything works exactly as expected. But when I use WAV: data, fs = wa…

---

## [\[ANN\] TIDIGITSRecipe.jl: the first Julia-flavoured speech recognition recipe!](https://discourse.julialang.org/t/ann-tidigitsrecipe-jl-the-first-julia-flavoured-speech-recognition-recipe/56070)

<div class="topic-metadata">

**Author:** [@nantonel](https://discourse.julialang.org/u/nantonel)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 8:53am UTC](https://discourse.julialang.org/t/ann-tidigitsrecipe-jl-the-first-julia-flavoured-speech-recognition-recipe/56070 "2021-02-26T08:53:41Z")

</div>

I’m happy to announce TIDIGITSRecipe an entirely Julia-flavoured automatic-speech-recognition (ASR) recipe! The repository comes with a live demo where you can use your own voice to recognise spoken digits in English. …

---

## [\[WIP\] Using Faust in Julia](https://discourse.julialang.org/t/wip-using-faust-in-julia/66271)

<div class="topic-metadata">

**Author:** [@sletz](https://discourse.julialang.org/u/sletz)\
**Replies:** 4\
**Last updated:** [August 20, 2021, 3:52pm UTC](https://discourse.julialang.org/t/wip-using-faust-in-julia/66271 "2021-08-20T15:52:27Z")

</div>

Faust (Functional Audio Stream) is a functional programming language for sound synthesis and audio processing with a strong focus on the design of synthesizers, musical instruments, audio effects, etc. Faust targets high…

---

## [How to save a 24 bit wav file?](https://discourse.julialang.org/t/how-to-save-a-24-bit-wav-file/62583)

<div class="topic-metadata">

**Author:** [@D\_A](https://discourse.julialang.org/u/D_A)\
**Replies:** 3\
**Last updated:** [June 10, 2021, 10:49am UTC](https://discourse.julialang.org/t/how-to-save-a-24-bit-wav-file/62583 "2021-06-10T10:49:14Z")

</div>

Hello, After opening a wav file (24 bit depth) with the LibSndFile library (and not WAV because I get InexactError when reading some files that are opened well with LibSndFile), the data is in 32 bit format (Q0f31 (alia…
