LV2FILE(1)
๐ LV2FILE ๐
okay bestie, grab a strawberry ๐ and sit down, because this is the manual page for lv2file, a little General Commands Manual situation, and it's genuinely iconic. it does one thing and it does it slayfully: it slaps LV2 effects onto your audio files. no GUI, no project file, no drama. just vibes and plugins. ๐
โจ NAME โจ
lv2file โ Apply LV2 effects to audio files ๐
๐ธ SYNOPSIS ๐ธ
lv2file
-l|--list
-n|--nameports PLUGIN
-i INFILE -o OUTFILE [ OPTIONS ] PLUGIN
๐ฆ DESCRIPTION ๐ฆ
so lv2file is a program you can use to apply effects to your audio files without much hassle. literally no hassle. zero. it's giving "i have a task and i am going to complete it." โจ
possible use cases are, and i quote from the universe:
- To apply an effect without having to open a GUI or start a project. (not me avoiding project filesโฆ ๐)
- To apply effects to a large number of files, or in an automated manner. (batch queen energy ๐)
- A deterministic environment to debug a plugin. (iconic for the nerds fr fr)
- Audio editing in a command-line only environment. (terminal main characters rise up ๐ )
lv2file uses the LV2 plugin format (http://lv2plug.in/) for the effects it uses. that's the whole plug-in situation. that's the format. no cap. ๐
๐ OPTIONS ๐
lv2file follows the usual GNU command line syntax, with long options starting with two dashes (`-`). a summary of options is included below, bestie. read them all, don't skip, i will know. ๐ซถ
-l,--listโ List and number all available plugins. yes, numbered. cute and organized. ๐-n --nameports PLUGINโ List all the input and control ports for the specified plugin. the full port lineup. get to know your plugin. ๐-i FILEโ Input the audio from a given FILE. Most common sampled audio formats are supported. it's flexible like that. โญ-o FILEโ Output to given FILE. If-is given and--channelsand--rateare both specified, then output will be written as raw, 32-bit floating point samples to stdout. (all three conditions, okay? all three. no shortcuts. ๐)-n,--channels CHANNELSโ Specify the channel count when reading from stdin and writing to stdout.-r,--rate RATEโ Specify the sample rate reading from stdin and writing to stdout.-c,--connect CHANNEL:PORTโ Connect the channel CHANNEL in the input file to the audio port PORT of the plugin. If you connect multiple channels to the same port, they will be mixed together. The-coption is often not necessary, aslv2filewill try to guess how you would like to connect the ports. (it's psychic lowkey ๐ฎ) It is possible to run multiple instances of a plugin using the syntax-c 5:2.leftwhich, for example, would connect the fifth channel of audio to the port labeledleftin the second copy of the plugin. You don't need to specify how many plugins to run,lv2fileautomatically makes enough according to the connections you make. (it just knows. bestie behavior. โจ)-p,--parameters PORT:VALUEโ Pass values to the control ports of the plugin, essentially telling the effect how to handle the audio. PORT is the name of the control port, and VALUE is the value to set it to. For example-p volume:1sets the effectsvolumecontrol to 1.
You should note that because lv2file uses LV2 plugins, the VALUES will always be floating point numbers. It is not possible to vary a parameter with time. It is also not possible to have different control values for multiple plugin instances. Instead, split up the channels of your audio files, and process them in batches whose parameters are all the same. (fr fr, plan your batches. that's the move. ๐ง)
[ -m --mono ]โ Mix down all of the channels together and pass them to the plugin. This will only work if the plugin has only a single audio input. This is to be used instead of manually specifying connections. (one audio input ONLY, don't test it ๐)[ -b, --blocksize N ]โ The size of the chunks the audio is processed in. This might have implications for speed of processing. N is measured in frames, not samples. The default is512. (frames not samples!! write that down ๐)[ --ignore-clipping ]โ By default,lv2filewill check every sample for clipping and will warn the user if any clipping occurs. However, if know that the effect won't produce clipping, or you don't care if it does, you can use this option to turn off the check for clipping. This will makelv2filerun slightly faster. (slightly faster, at the cost of not being warned. your call, bestie ๐ซถ)
๐ AUTHOR ๐
lv2file was written by Jeremy Salwen <jeremysalwen@gmail.com>.
This manual page was written by Jeremy Salwen <jeremysalwen@gmail.com>, for the Debian project (and may be used by others). ๐ฉท
and that's the whole thing, gorgeous. this page is from February 14, 2022, and it lives under the LV2FILE(1) situation in the General Commands Manual โ go forth, process your audio, and stay unclipped. ๐โจ๐๐ฆ๐ธ๐
๐ซถ
๐ฆ where this page comes from
- arch rolling: lv2file 0.95-3 ยท GPL3
- debian bookworm: lv2file 0.95-2 ยท GPL-3.0-or-later
- debian trixie: lv2file 0.95-2 ยท GPL-3.0-or-later
- ubuntu noble: lv2file 0.95-2 ยท GPL-3.0-or-later
- ubuntu questing: lv2file 0.95-2
- ubuntu resolute: lv2file 0.95-4 ยท GPL-3.0-or-later
- ubuntu stonking: lv2file 0.95-4 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms