Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NAM plugin

This plugin puts a real amplifier behind your guitar and bass tracks. A track plays its notes as a clean guitar, the plugin runs that sound through a capture of a real amp, then through a speaker cabinet, and what reaches your speakers sounds like a miked-up amp instead of a General MIDI guitar patch.

The captures are NAM profiles, made with the open-source Neural Amp Modeler. They are the same files that a growing number of professional pedals and amp modellers load. You pick one per track in the Track tab’s Amp Model section (How to use it shows where), and get the files yourself: thousands are free to download. The plugin downloads nothing.

This plugin needs the MIDI plugin, which makes the clean guitar sound that the amp shapes. See its manual.

Amp modelling and amp profiling

There are two ways to make a computer sound like a guitar amp.

Modelling works like an engineer would. Someone studies an amp’s circuit (the tubes, the transformer, the tone stack, every knob) and writes software that behaves the same way, part by part. Done well, every knob works across its whole range, just like on the real amp. The catch is that each amp takes a lot of expert work, and how close it gets depends on how well the people writing it understood that amp. Line 6’s Helix, Fractal Audio’s Axe-Fx and Boss’s Katana amps are modellers.

Profiling (also called capturing) treats the amp as a black box. You play a set of test signals through a real amp, set up exactly how you like it, and record what comes out. Software then works out what the amp did to the signal and builds something that does the same to anything you play into it. It needs no knowledge of the circuit, anyone who owns the amp can do it in minutes, and the result is very close to that amp at that setting. The catch is the other side of the same coin: a profile is a snapshot. Turn the real amp’s gain knob, and you need another profile.

If you have used a Kemper Profiler, you know profiling: Christoph Kemper’s box, first shown at NAMM in 2011, sends test tones through your amp and builds a profile from what comes back, and it made “profiling” a household word for guitarists. Neural DSP’s Quad Cortex calls the same idea Neural Capture, and IK Multimedia’s ToneX does it too. Many units now do both: the Quad Cortex has models and captures, and Fractal’s Axe-Fx III, a modeller, now loads NAM captures as well.

What a NAM profile is

Neural Amp Modeler (NAM) is profiling done with a neural network, and done in the open. Steven Atkinson, a machine-learning researcher and guitarist, started it in 2019 and published everything: the plugin, the training code and the file format, under the MIT licence.

Making a NAM profile goes like this. You play a few minutes of a standard test file through your amp (or pedal, or whole rig) and record what comes out. A neural network is then trained to turn the test file into the recording, sample by sample. When it gets that right, it has learnt how the amp responds, and it can do the same to any guitar you feed it. The trained network is saved as a .nam file: that file is the profile.

A profile can capture a single pedal, an amp’s preamp, a whole amp, or an amp with its cabinet and microphone. In 2026 NAM got a second generation of its network, called A2, which is lighter and more accurate; older profiles are called A1 and still play.

Because the format is open, profiles are shared freely. TONE3000 (it used to be called ToneHunt) hosts tens of thousands of them, from famous amps to boutique pedals, each with its licence.

Same files as the pedals the pros use

NAM started as a computer plugin, but in the last couple of years hardware makers have built it into their own gear, so the same .nam files now run on a pedalboard:

  • Darkglass’s Anagram, a flagship bass multi-effects unit, was the first big maker’s unit to load NAM profiles.
  • Fractal Audio’s Axe-Fx III, a fixture in professional rigs for years, loads NAM A2 profiles in a NAM Player block since its firmware 33.
  • HeadRush’s Prime, Core and Flex Prime load them natively since a firmware update, and Zoom’s Neurig was built around them.
  • Dimehead’s NAM Player is a pedal made only to play NAM profiles on stage.
  • Fender has announced NAM support for its Tone Master Pro.
  • Valeton, Hotone, Mooer and NUX pedals load them too, some after converting them with the maker’s own software.

OxiGuitar uses the same technology. It loads the same .nam files, unchanged, and runs them with Rust libraries that are checked sample by sample against NAM’s own reference code: NeuralAmpModeler-rs where it can, and nam-rs elsewhere. Both read A1 and A2 profiles. A profile you like on your computer here is the one you would load into one of those pedals.

What a cab IR is

A guitar amp doesn’t make its sound alone. Its speakers, the wooden box they sit in, the microphone in front of them and the room around them all shape it, and most of the difference between a harsh, fizzy direct sound and a “real” recorded guitar happens there.

A cab IR (cabinet impulse response) captures that part. You play a very short click, or a sweep, through a speaker cabinet and record it with a microphone. The recording shows exactly how the cabinet, the speaker, the microphone and its position colour every frequency. Any sound can then be passed through that recording, a calculation called convolution, and it comes out as if it had been played through that cabinet and miked the same way. An IR is a plain .wav file, usually a fraction of a second long. It is the same idea as a convolution reverb, which captures a whole room.

Most NAM profiles capture the amp alone, without its cabinet, so you add a cab IR after it. That is why the plugin has two choices: the amp (a .nam file) and the cabinet (a .wav file). Four cabinets come built in, so you hear something good before you collect any of your own. A profile that already includes its cabinet needs none, and the plugin can tell.

In short

TermWhat it isIn OxiGuitar
Amp modellingSoftware that simulates an amp’s circuitNot this plugin
Amp profiling, capturingLearning one real amp’s sound from test signalsWhat NAM does
NAM profileA .nam file: a trained neural network that sounds like one amp, pedal or rigThe model list in the Amp Model section
Cab IRA .wav file: the sound of a speaker cabinet, mikedThe cabinet list in the Amp Model section

A profile expects a clean guitar, like a real amp does. How to use it says how to give it one.

How to use it

1. Get some models

The plugin plays files you bring. Before you start, put at least one amp model in the nam folder:

SystemThe nam folder
Linux~/.local/share/oxiguitar/nam/
macOS~/Library/Application Support/OxiGuitar/nam/
Windows%APPDATA%\OxiGuitar\nam\
OxiGuitar’s Flatpak~/.var/app/io.github.mateusrdp.OxiGuitar/data/oxiguitar/nam/
  • Amp models are .nam files. TONE3000 has thousands for free, from famous amps to boutique pedals. Each page says what it captures and its licence. A “full rig” or “with cab” capture already includes its cabinet.
  • Cabinets are .wav impulse responses. You don’t need any to start: four come built in. Speaker makers and many sites offer free ones.

Subfolders are fine, up to five deep, so you can keep Amps/, Pedals/ and Cabs/ apart.

2. Turn the amp on for a track

  1. Click a note of a guitar or bass track, and choose the Track tab on the right.
  2. Scroll down to Amp Model and pick a model from your files in the first list. Picking one turns the amp on; the power button beside the list turns it on (green) and off (red).
  3. Pick a cabinet in the list beside the speaker icon: From the model uses none if the model has its own and the default built-in cabinet otherwise; None turns it off; or pick one of the four built-in cabinets or a .wav of your own.

If your nam folder has no models, or no cabinets of your own, a dialog says so once and tells you where to put them:

3. Feed it a clean guitar

A real amp expects a clean guitar, and so does a profile. If the track’s instrument is already a distorted guitar, the amp distorts a distorted sound and it turns to mush. Set the track’s instrument, at the top of the same tab, to a clean electric guitar.

4. Set the drive and the level

  • Input drives the amp harder or softer, from −24 to +24 dB, like the volume knob on your guitar. More input means more distortion on a crunchy amp.
  • Output sets the track’s level after the amp, so a loud model doesn’t drown the band.

Both work while the song plays, so set them by ear.

Use different amps on different tracks

Each track has its own section. A rhythm guitar through one amp, a lead through another and the bass through a bass amp all play together.

Put the equalizer before or after the amp

If you also use the equalizer or the wah-wah plugin, each effect has its own section on the Track tab, in the order they play. The small arrows at the right of a section’s title move it up or down:

Example: the whole window

Architecture and strategy

How it fits into OxiGuitar

The plugin is an effect: it sits on a track after the instrument that plays it, the MIDI plugin. Inside, each track that has an amp gets a small chain:

  1. Input gain, which drives the amp harder or softer, the way your guitar’s volume knob does.
  2. The amp model, the .nam file, run for every sample of sound.
  3. The cabinet, the impulse response, applied by convolution (an FFT, through the rustfft library).
  4. Output gain, the track’s level after the amp.

On the Track tab, effects stand in the order they play. The amp comes first, then the equalizer if you use one, and the arrows beside each section swap them. Settings are saved per track in the song’s .oxg file beside it; the score itself doesn’t change.

The engines

Two Rust libraries run NAM models, and the plugin uses whichever builds on your system. Both are checked against NAM’s own reference code, so every build sounds the same.

  • NeuralAmpModeler-rs, about ten times faster: on ARM64 Linux and Windows, on Apple Silicon Macs, and on x86_64 Linux and Windows in a second file of the release, nam-x86-64-v3.oxp, for processors with AVX2 and FMA. OxiGuitar picks that file by itself when the processor has those features. Its authors call their Windows 11 support experimental.
  • nam-rs everywhere else: Intel Macs and older x86_64 processors, where NeuralAmpModeler-rs can’t build.

A model is a neural network computed for every sample, so it is the heaviest thing OxiGuitar runs. A standard model takes about a fifth to two fifths of a processor core per track with nam-rs, and about a tenth of that with NeuralAmpModeler-rs.

Models are trained at 48 kHz. If your sound device runs at another rate, the track is converted to 48 kHz and back, and OxiGuitar delays the other tracks by the same small amount so everything stays together.

The built-in cabinets

The four built-in cabinets are impulse responses from the BestPlugins Mega Pack 2 by David Fau Casquel, as Guitarix ships them under the GPL. They are named after the amps they were made to go with (an ENGL Retro Tube, an EVH 5150 III, a modified Marshall JMP 2203, a Mesa/Boogie Mark V). The amps’ makers have nothing to do with them.

Current limitations

  • It is heavy on Intel Macs and older x86_64 processors. There, nam-rs is the only engine that builds, and several amp tracks can make an older computer stutter. Lighter models (“lite”, “feather”, “nano”) help.
  • No amp knobs. A profile is a snapshot of one setting. Only Input and Output are offered; there is no gain, bass, middle or treble that changes the amp itself. The equalizer plugin can shape the sound after it.
  • No noise gate, no stereo. The chain is mono and has no gate. Synthesised guitars have no hum to gate, so this rarely matters.
  • It can’t see the Sound section. It doesn’t know whether the track plays a clean or an already distorted guitar, so it only reminds you to feed it a clean one.
  • No browsing or downloading. You find models yourself and drop them in the folder; there is no TONE3000 browser.

Left out on purpose

  • Downloading anything. OxiGuitar never connects to the internet, and that includes fetching models. That rules out a built-in model browser too.
  • Training models. Capturing your own amp needs the real amp, a recording setup and NAM’s trainer, which is Python and machine-learning tooling. It is better done with Neural Amp Modeler’s own tools or TONE3000, and the result works here unchanged.
  • Bundling models. Each model has its own licence and author. Shipping any of them would mean choosing for you and taking on their licences; the plugin ships only the four GPL cabinets.
  • A modelling amp. Writing circuit models amp by amp is a different and much bigger project. NAM covers the need with files anyone can make.
  • Forks of the engines. The libraries are used exactly as published. A missing feature is handled in our code or asked for upstream.

Where you can help

  • Speed on Intel Macs and older processors. Anything that makes nam-rs faster, or lets NeuralAmpModeler-rs build there, helps the most people. That work happens in those libraries’ own repositories.
  • A noise gate or a simple tone stack in the chain, if you can do it without allocating memory on the audio thread (src/lib.rs, src/convolve.rs).
  • Listening. Compare a model here with the same model in NAM’s own plugin and tell us if anything sounds different.
  • A NAM capture we may publish. We’d love one sample model whose licence lets us use it in the manual’s examples.

Every change needs its tests and a row on the Features page; the Testing page says how to run them.

Requirements and assumptions

Requirements

  • OxiGuitar 0.25 or later (plugin interface 3.0). Version 0.4 of the plugin works with OxiGuitar 0.20 and later. See the OxiGuitar manual.
  • The MIDI plugin, installed. OxiGuitar won’t use this plugin without it. See its manual.
  • Windows, macOS or Linux.
  • A computer with room to spare. If playback stutters, use the amp on fewer tracks or pick lighter models, labelled “lite”, “feather” or “nano”.

Assumptions

  • You bring your own amp models. Check each one’s licence before you share what you play through it.
  • The track feeds the amp a clean sound. The plugin can’t see the Sound section, so it only reminds you.
  • Settings are saved per track beside the score, in its .oxg file. The score itself doesn’t change. A missing model file plays without it, and the footer says so.

Installing

You need OxiGuitar first: its manual says how to get it. This page is about the NAM plugin.

From a release

Each release on the releases page has a zip for each system (Linux, Windows and macOS; Linux and Windows for x86_64 and ARM64), a .deb, an .rpm and a Flatpak for Linux, a setup program for Windows that installs for you alone (no administrator password), a .pkg for macOS that does the same, and a SHA256SUMS file to check the downloads against. Take the file that matches your system.

Copying the file yourself

A plugin is a single file ending in .oxp. Unzip the release for your system and put nam.oxp in your plugins folder:

SystemYour plugins folder
Linux~/.local/share/oxiguitar/plugins/
macOS~/Library/Application Support/OxiGuitar/plugins/
Windows%APPDATA%\OxiGuitar\plugins\

Start OxiGuitar again. Tools → Plugins… lists what it found. The same menu switches a plugin off, and deleting the file removes it.

On macOS, a plugin file you downloaded yourself may be refused as coming from an unverified developer. Clear the download mark and start OxiGuitar again:

xattr -d com.apple.quarantine ~/Library/Application\ Support/OxiGuitar/plugins/*.oxp

A plugin installed with the .pkg is not marked this way.

Linux package managers

The package is called oxiguitar-nam. It lives in a signed package repository on GitHub Pages that you add once.

Debian, Ubuntu and relatives:

sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL https://mateusrdp.github.io/oxiguitar-packages/oxiguitar.gpg -o /etc/apt/keyrings/oxiguitar.gpg
sudo curl -fsSL https://mateusrdp.github.io/oxiguitar-packages/oxiguitar.sources -o /etc/apt/sources.list.d/oxiguitar.sources
sudo apt update
sudo apt install oxiguitar-nam

Fedora and relatives:

sudo curl -fsSL https://mateusrdp.github.io/oxiguitar-packages/oxiguitar.repo -o /etc/yum.repos.d/oxiguitar.repo
sudo dnf install oxiguitar-nam

Normal system updates keep the plugin current from then on.

OxiGuitar’s Flatpak is a sandbox that cannot see the system’s plugin folders, so it needs the plugin as a Flatpak extension. Flathub comes first because Flatpak takes its runtime from there:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists oxiguitar https://mateusrdp.github.io/oxiguitar-packages/flatpak/oxiguitar.flatpakrepo
flatpak install oxiguitar io.github.mateusrdp.OxiGuitar.Plugin.nam

flatpak update keeps it current and flatpak remove takes it away.

Features and their tests

Everything the amp-model plugin does, and the tests that check it. The test names are the ones cargo test prints. scripts/test-all.py fails when a feature here names no test, or names a test that doesn’t exist, so a new feature gets its row and its tests in the same pull request (the Testing page says how to run them).

FeatureWhat it doesTests
Amp models on a trackA .nam model plays a track through an amp, in pieces of any size, as NeuralAmpModeler-rs (or nam-rs) computes it.engine::tests::models_play_whatever_the_pieces_are, engine::tests::the_facts_are_nam_rs_s, host::our_nam_plugin_runs_a_model_in_real_time
Two builds, one soundA second file for x86_64 processors with AVX2 and FMA, on Linux and Windows, which OxiGuitar picks where the processor has them; the two manifests differ only in that.host::the_nam_build_for_x86_64_v3_processors_runs_in_real_time_and_is_chosen, tests::the_two_manifests_differ_only_in_their_conditions
Models at their own rateModels run at 48 kHz; on a device at another rate the track goes there and back, whole and at its level, late only by the latency OxiGuitar makes up for.resample::tests::a_whole_signal_keeps_its_pitch_and_level, resample::tests::a_stream_there_and_back_comes_back_whole_and_late_by_its_latency, host::our_nam_plugin_converts_the_rate_for_its_model
CabinetsFour built-in impulse responses, or any .wav of the user’s; read as nam-rs reads them, brought to one level, convolved with no latency.wav::tests::the_shipped_responses_read, wav::tests::the_first_channel_of_each_format, wav::tests::damage_is_refused_with_a_sentence, engine::tests::a_cabinet_is_read_as_nam_rs_reads_it, convolve::tests::responses_are_brought_to_one_level, convolve::tests::it_matches_the_plain_sum_with_no_latency_in_pieces_of_any_size, convolve::tests::a_short_response_needs_no_partitions
Input and OutputDrive and level from -24 to +24 dB, followed while the song plays and gliding there; another model or cabinet waits for the next start.tests::levels_follow_and_files_wait, tests::a_level_glides, settings::tests::wrong_values_keep_their_defaults
The nam folderModels and responses found in the nam folder and four folders below it; a name that would leave the folder is refused.files::tests::models_and_responses_are_found_inside_folders, files::tests::folders_are_looked_into_five_deep_and_no_deeper, files::tests::names_leaving_the_folder_are_refused
Says what the folder lacksNo model, or no cabinet of the user’s (unless the model has its own), is advised with a link to this manual.advice::what_the_nam_folder_lacks_is_advised
The Amp Model section of the Track tabA power button beside the model list (green on, red off), the cabinet list beside a speaker icon, input and output levels; no captions; a missing model stays shown. Drawn by ui/nam.slint, which compiles with what the plugin sets and hears.section::tests::a_missing_model_stays_shown_and_none_comes_first, section::tests::the_switch_turns_the_amp_on, section::tests::the_section_picks_the_model_the_cabinet_and_the_levels, section::tests::the_slint_file_has_what_the_section_sets_and_hears
Saved with the trackSettings round trip and keep keys this version doesn’t know; wrong values keep their defaults.settings::tests::settings_round_trip_and_keep_unknown_keys, settings::tests::wrong_values_keep_their_defaults
A working plugin fileThe .oxp file loads in OxiGuitar’s host and plays in real time, and keeps the plugin contract with the newest release of OxiGuitar.host::our_nam_plugin_runs_a_model_in_real_time, oxiguitar_plugin_checks::the_manifest_matches_the_plugin, stage:contract (latest core)

Testing

Every test of this repository runs with one command, on your own machine, and anyone can run it. When something fails, it tells you how to report it.

Run everything

python3 scripts/test-all.py

On Windows, type python instead of python3 if that’s what you have.

You need:

  • Rust, from rustup (the version in Cargo.toml’s rust-version or newer);
  • git, and Python 3.8 or newer (nothing to install with pip);
  • on Linux, the libraries a build needs: libasound2-dev, libpipewire-0.3-dev and libclang-dev on Debian and Ubuntu (alsa-lib-devel, pipewire-devel and clang-devel on Fedora);

It runs:

  1. every Rust test of the repository (cargo test over the whole workspace), with a progress bar;
  2. the plugin against the newest release of OxiGuitar: it fetches that release’s source with git (once per release, kept in a cache folder every OxiGuitar repository on your machine shares: ~/.cache/oxiguitar-test-all, ~/Library/Caches/oxiguitar-test-all on macOS, %LOCALAPPDATA%\oxiguitar-test-all on Windows, or OXIGUITAR_TEST_CACHE), builds its oxiguitar-cli and oxiguitar-plugin-test, builds this repository’s plugin file for your system and runs the plugin contract on it;
  3. a check of the Features page: every feature names a test, and every test it names exists.

It tests the system and processor it runs on, and only those (as Rust sees them: rustc -vV’s host). Tests for other systems are left out and the summary says so; they are not failures.

What you get

A line per stage while it runs, then the result. In target/test-all/<date>-<time>/:

  • summary.md: the result, your system, what failed and why, short enough to paste into a GitHub issue;
  • test-all.log: everything that happened, every command and its output;

The script exits with 0 when everything passed, 1 when something failed, and 2 when it couldn’t start.

When something fails

  1. Update to the newest develop (git checkout develop && git pull) and run it again: it may be fixed already.
  2. Look for an issue about the same test at github.com/mateusrdp/oxiguitar-nam/issues.
  3. Otherwise open one: call it test-all: <the first failing test>, paste the whole summary.md, and attach test-all.log (drag it onto the text box; zip it first if it’s over 25 MB). Read the log first: it has your folder names, so change anything you’d rather keep private.
  4. You can also give summary.md and test-all.log to a language model along with this repository and ask it to find the cause.

Options

  • --release: an optimised test build: slower to build, faster corpus tests.
  • --ignore-rust-version: for a Rust older than rust-version (unsupported, but handy).
  • --core DIR: test against a checkout of OxiGuitar you already have, instead of its newest release; --core-version v0.21.5 picks a release.
  • --out DIR: where the results go.

Adding a feature

A new feature comes with its tests and a row on the Features page, in the same pull request; a new corpus test uses tests/support/corpus.rs. The script fails until the row names tests that exist.

Credits

The NAM plugin is a thin layer over other people’s remarkable work. Thank you to every project below, and especially to Steven Atkinson and the Neural Amp Modeler community for making amp capture open to everyone.

Code we use

ProjectAuthorsWhat it does hereLicence
OxiGuitar’s plugin SDK (oxiguitar-plugin)Mateus Rocha de Paula and the OxiGuitar contributorsThe plugin interfaceMIT OR Apache-2.0
NeuralAmpModeler-rsFábio Henrique de Lima SilvaRuns NAM models on ARM64 Linux and Windows, Apple Silicon, and x86-64-v3 Linux and WindowsApache-2.0
nam-rsOpenSauce and contributorsRuns NAM models everywhere elseMIT
RustFFTElliott Mahler and contributorsThe cabinet convolutionMIT OR Apache-2.0
Rust and its standard libraryThe Rust ProjectEverythingMIT OR Apache-2.0

Both engines follow Neural Amp Modeler and NeuralAmpModelerCore by Steven Atkinson (MIT), the reference that defines what a .nam file means, and are checked against it.

Sounds and data

AssetAuthorsUseLicence
Four cabinet impulse responses of the BestPlugins Mega Pack 2, as Guitarix ships themDavid Fau CasquelThe built-in cabinets (irs/)GPL-2.0-or-later
Two test models from NeuralAmpModelerCoreSteven AtkinsonTests only (fixtures/nam/), never shippedMIT

Tools

ToolUse
mdBookBuilds this manual
cargo-denyChecks the licences of everything we build with

Thanks

To TONE3000 and everyone who shares their captures there for free, to the Guitarix project for keeping those cabinets available under the GPL, and to everyone who tries the plugin and tells us what they hear.