Functions

Every function of the module, by area.

All 83 functions of the module. Audio is passed around as an audio buffer: every function that changes audio returns a new buffer and leaves the one you gave it alone.

FunctionArea
audioAddTimeline mixingPlace a sound on a timeline track
audioAutomateModulation and automationMoves a track's volume or balance over the time of the timeline, as the fader of a mixing desk is moved during a mix: a swell, a fade out, a sound that travels from left to right.
audioBeatsTimeline mixingList moments on the beat grid of a timeline, in seconds
audioBpmAnalysisDetect the tempo of audio and where its beats fall
audioChannelsFiles and editingConvert an audio buffer between mono and stereo.
audioChorusEffectsThicken and widen an audio buffer with a chorus
audioCompressLoudness and dynamicsReduce the dynamic range of audio with a compressor
audioConcatFiles and editingJoin audio buffers end to end.
audioConvolveEffectsPlays a sound through the recorded echo of a real space: a church, a stairwell, a spring or a plate.
audioCreditsSpeech and subtitlesWrites the credits for the voices you use, to put on an about page or in the notices of a product.
audioCurveAtModulation and automationReads the value of a curve from audioCurve() or an LFO from audioLfo() at a time.
audioCurveModulation and automationMakes a value that moves from point to point over time: a fade of any shape, a filter sweep, a glide.
audioDecodeWeb deliveryReads audio from memory, for example an upload, a database column or the body of an HTTP response.
audioDelayEffectsAdd an echo to an audio buffer
audioDetectSilenceAnalysisFind the silent stretches of audio
audioDrumSynthesisSynthesise a drum hit
audioDuckTimeline mixingDuck a timeline track while another track is loud, like music under a voice-over
audioEncodeWeb deliveryTurns audio into the bytes of an audio file without touching the disk, for sending in a web response, storing in a database or handing to another service.
audioEnvelopeSynthesisShape the volume of a sound with an attack and an exponential decay
audioEqLoudness and dynamicsShape the tone of audio with parametric equalizer bands
audioFadeFiles and editingFade an audio buffer in and out.
audioFfmpegInstallFFmpeg and videoDownload FFmpeg for this computer into the bx-audio home, checked against a pinned checksum
audioFfmpegFFmpeg and videoFind FFmpeg on this computer and say what it can do: OGG, Opus, AAC and video files need it
audioFftAnalysisGet the frequency spectrum of one window of audio
audioFilterSynthesisFilter an audio buffer with a low-pass, high-pass, band-pass or notch filter
audioFitToTime and pitchChange the length of audio to a number of seconds without changing its pitch
audioFreqSynthesisConvert a note name or MIDI number to a frequency in Hz
audioGainFiles and editingChange the volume of an audio buffer.
audioHttpResponseWeb deliveryWorks out what to send for a request for audio.
audioInfoFiles and editingDescribes some audio.
audioLfoModulation and automationMakes a low frequency oscillator: a value that swings between center - depth and center + depth, a number of times a second.
audioLicensesSpeech and subtitlesList the licenses of the offered voices and what each asks of you.
audioLimitLoudness and dynamicsStop audio from going above a ceiling with a look-ahead limiter
audioLoadFiles and editingReads an audio file fully into memory.
audioLoopifyGame audioMake a sound loop seamlessly by blending its end into its start
audioLoudnessLoudness and dynamicsMeasure the loudness of audio as EBU R128 does: integrated LUFS, loudness range, true peak
audioMarkersFFmpeg and videoWrite markers (points in time with labels) as JSON, CSV, a Resolve EDL, SRT, WebVTT, FFmpeg chapters or a YouTube chapter list
audioMasterLoudness and dynamicsMaster audio for delivery: reach a loudness target with a true-peak ceiling, optionally gluing the mix with light compression
audioMixFiles and editingAdd audio buffers together so they play at the same time
audioMixerGame audioOpen a real time mixer that plays many sounds at once with volume, pan, pitch, loops and buses, the way a game needs
audioModulateModulation and automationChanges a sound while it plays.
audioMuxFFmpeg and videoPut audio on a video file, copying the picture without re-encoding it
audioNoiseSynthesisGenerate repeatable noise
audioNormalizeLoudnessLoudness and dynamicsSet the integrated loudness of audio to a target in LUFS, keeping peaks under a true-peak ceiling
audioNormalizeFiles and editingScale an audio buffer so its peak hits a target level.
audioNoteSynthesisPlays one note, or a chord, of an instrument made with audioSampler(), and gives it back as audio to place on a timeline with audioAdd().
audioOscSynthesisGenerate a tone with an oscillator
audioPanFiles and editingPosition an audio buffer in the stereo field.
audioPitchTime and pitchChange the pitch of audio without changing its length
audioPlayGame audioPlay audio through the speakers
audioPumpTimeline mixingDuck a timeline track at given moments, like a kick drum sidechain
audioRenderTimeline mixingMix a timeline down to one audio buffer
audioResampleFiles and editingChange the sample rate of an audio buffer.
audioReverbEffectsAdd reverb to an audio buffer
audioReverseFiles and editingReverse an audio buffer.
audioSamplerSynthesisMakes an instrument out of a recording, such as a piano note, a vocal "ah", a guitar pluck, a drum hit or a synth pad.
audioSaturateEffectsRound off peaks with a warm limiting curve
audioSaveFiles and editingWrites an audio buffer to a file, replacing any existing file.
audioSilenceFiles and editingCreates an audio buffer filled with silence.
audioSpeakCuesSpeech and subtitlesSpeak a text piece by piece and return the audio with the time each caption line is spoken
audioSpeakSpeech and subtitlesTurn text into speech with an installed Piper or Kokoro voice, installing the engine and the voice on first use
audioSpectrogramImageAnalysisDraws which frequencies are in a sound and when: time runs across, frequency up (low at the bottom, on a log scale like hearing) and loudness is the color.
audioSpectrogramAnalysisGet the band levels of audio over time, for drawing or analysis
audioSpectrumAnalysisGet the level of audio in log spaced frequency bands, in dB
audioSpeechStatusSpeech and subtitlesDescribe the text to speech setup: where it lives, whether the engine is installed, and which voices are
audioSpriteGame audioJoin named sounds into one audio sprite with a map of where each starts, the way Howler.js and game engines load effects
audioStorageClearStorageDelete downloaded engine, voices, FFmpeg or cached files from the bx-audio home
audioStorageStorageShow where bx-audio keeps its downloaded engine, voices and tools, and how big they are
audioStretchTime and pitchChange the speed of audio without changing its pitch
audioSubtitlesSpeech and subtitlesWrite captions as SRT or WebVTT subtitles for a video
audioSweepSynthesisGenerate a sine that glides from one pitch to another
audioTagsFiles and editingReads the tags of an audio file, or changes them.
audioTimelineTimeline mixingCreate a multi track timeline for mixing sounds
audioTrackGainTimeline mixingSet the volume of a whole timeline track
audioTrimSilenceAnalysisCut the silence off the start and the end of audio
audioTrimFiles and editingCut a section out of an audio buffer.
audioVariationsGame audioMake several slightly different copies of a sound, so repeated effects do not sound the same
audioVoiceInstallSpeech and subtitlesDownload a voice, or the text to speech engine itself, and check it
audioVoiceRemoveSpeech and subtitlesDelete an installed voice, or the text to speech engine, from disk
audioVoicesSpeech and subtitlesList the voices of the collection, with their licenses and what you can do with each
audioWaveformImageAnalysisDraws how loud a sound is over time, the way a player or an editor shows it.
audioWaveformFiles and editingSummarize audio as a list of peak levels for drawing a waveform.
videoInfoFFmpeg and videoDescribe any audio or video file with FFprobe: length, size, and the video and audio streams
Edit this page Download Markdown Last updated Nov 26, 2026, 11:36:03 AM Report an issue