Skip to content

Audio Generation

Terminal window
encfixture audio -o silence.wav
Terminal window
# Sine wave (440Hz)
encfixture audio -t sine -d 5 -o sine.wav
# 1000Hz tone
encfixture audio -t tone -f 1000 -d 3 -o tone.wav
# White noise
encfixture audio -t noise -d 5 -o noise.wav
# Mono, 44100Hz
encfixture audio -t silence -C 1 -s 44100 -o mono.wav
# MP3 format
encfixture audio -t sine -d 5 -o beep.mp3
# FLAC format
encfixture audio -t silence -d 10 -o silence.flac
Flag Short Default Description
--type -t silence Audio type: silence, sine, noise, tone
--duration -d 10 Duration (seconds)
--sample-rate -s 48000 Sample rate (Hz)
--channels -C 2 Number of channels
--frequency -f 440 Frequency (Hz)
--output -o output.wav Output file path (any format supported by ffmpeg)
--no-clobber Fail if the output file already exists instead of overwriting