Skip to content

NAM and IR uploads ​

How user AMP (NAM) models and user IRs get onto the pedal: the chunked SysEx transfer, reading slots back, delete and rename, and what the 2048 uploaded floats are.

Status

Both imports work end to end and are verified on hardware. The transport is rebuilt byte for byte from every captured import: upload.rs (Chunk, data_frames, Reassembler, UserAmpInfo, user_amp_upload, user_ir_upload) and Device::import_user_amp / delete_user_amp / import_user_ir. Library guide: User AMP and IR slots.

At a glance ​

User AMP (NAM)User IR
Slots0–9 = USER AMP 01–10 = AMP models 30–390–9 = USER IR 01–10 = CAB models 30–39
Data command0x58, sub 10x10, sub 0
Slot in the headerByte 1Byte 0
Name record0x58 sub 3, sent before the data0x09, sent after the data
Data2048 f32 = 8192 bytes, 61 chunks2048 f32 = 8192 bytes, 61 chunks
What the pedal playsFirst 512 taps of each of two filtersFirst 384 taps

Chunk format ​

Every upload is a series of SysEx writes, each acked (dir 3, echoing the header) before the next. The body after <dir> is one packed stream:

text
unpacked = 12-byte header | data …

header:  [0] 0   [1] slot   [2] sub-command   [3] 0   [4..8] byte offset (u32 LE)   [8..12] total length (u32 LE)
Header bytesFieldNotes
00, or the IR slot0x10 IR data puts the slot here
1NAM slot, or 00x58 puts the slot here
2Sub-commandSee user AMP sub-commands; 0 for IR data
30
4–7Byte offsetu32 little-endian
8–11Total lengthu32 little-endian: 8192 for model data, 128 for an AMP slot-info record, 0 for header-only requests
  • Data chunks carry 136 bytes = 34 f32 (little-endian); the last one is shorter.
  • Offsets are plain byte offsets: 0, 136, 272 … 8160.
  • Every upload so far is exactly 2048 f32 = 8192 bytes, in 61 chunks (60 × 136 + 32 bytes). Frames are 178 bytes, the last 59.
  • Header-only frames use the same header: the slot-info record (total 128), read-info and delete requests.
  • Transfer time: about 100 ms over USB. The long wait in the official app is the conversion. Over Bluetooth each of the ~62 chunks waits for its ack: NAM 10.5 s, IR 12.4 s.
  • Check before sending: slot 0–9, exactly 2048 values, all finite (upload::check).

User AMP (NAM) ​

Sub-commands ​

The unpacked header byte 2. For slots 0–9 the packed header's second MIDI byte is slot << 1 and its third is sub << 2 (slot 1, sub 4 → 00 02 10).

SubThird MIDI bytedirMeaning
0000 (read)Read one data chunk back (below)
1041 (write)Data chunk
2080 (read)Answers with the slot-info record, like sub 4
30C1 (write)Write slot info (128-byte record)
4100 (read)Read slot info (reply: the 128-byte record)
6181 (write)Delete slot

Import ​

  1. Select the slot's amp model: B1 01 <30 + slot> (the official app does this just before the upload).
  2. Write the slot-info record (sub 3, total 128) with the name and factor. Wait for the ack.
  3. Write the 61 data chunks (sub 1, total 8192), each waiting for its ack.

Captured import (Fender Super Reverb NAM → USER AMP 01):

text
→ B1 01 1E                        select amp model 30 (USER AMP 01), before the upload
→ 70 58 01 <info, total 128>      write slot info      ← 70 58 03 <header> ack
→ 70 58 01 <data, offset 0>       data chunk 0         ← ack (echoes the header)
→ … 61 data chunks in total, offsets 0, 136 … 8160 …
  • No re-read: the app doesn't read the slot back after an import.
  • Deterministic: importing the same file twice produced byte-identical info and data, so captures are valid test vectors.

Delete ​

text
→ 70 58 01 00 00 18 00 00 00 00 00 00 00 00 00 00 00     sub 6, slot 0
← 70 58 03 03

The app then re-reads the slot info, which comes back as an empty slot ("USER AMP NN").

User IR ​

Import ​

  1. Select the slot's cab model: B1 02 <30 + slot> (the app may show the CAB page first with B1 3B 02).
  2. Write the 61 data chunks to 0x10 (slot in header byte 0, sub 0, total 8192), each waiting for its ack.
  3. Write the 0x09 name record. The pedal sends CC B0 7E <slot>, then the ack.
text
→ B1 02 1E+slot                                            select the slot's cab model (USER IR 01 = 30)
→ 70 10 01 <data, sub 0, offset, total 8192>   ×61         each ← 70 10 03 <header> ack
→ 70 09 01 <slot> <packed: 01 00 00 00, 32-byte name>      ← B0 7E <slot>, then 70 09 03 00…
  • Name record: the 4-byte field is 01 00 00 00 in every import seen (eleven of them), then a 32-byte name.
  • Name length: the official app uses the file name without its extension, cut to 16 characters. The record has room for 31.
  • Checked byte for byte against imports into all ten slots (captures/logs/02-ir-tests.log, tests/ir_import.rs).
  • Delete IR (0x16): in 02-ir-tests.log the app sometimes sent 70 16 01 <slot> a few seconds before importing into that slot (0x16). What it does to the slot is unverified; open-stomp's import doesn't send it.

Renaming a slot ​

The official app has no rename, but each name lives in its own record: the AMP slot-info write (sub 3) that starts an import, and the IR 0x09 name write that ends one.

  • Rename = send only that record. It renames the slot and leaves the sound alone.
  • Tested 2026-10-22 on USER AMP 10 and USER IR 10: a sweep through each block, recorded before and after the rename, differs by at most 0.09 dB (rig noise). The new names read back after reconnecting. Then all twenty slots were renamed the same way.
  • open-stomp: Device::rename_user_amp / rename_user_ir send the record and re-read the slot. Names are cut to 31 characters; non-ASCII becomes ?.

Reading a slot back ​

The pedal sends a user slot's data back, though the official app never asks (it has no export). Found by probing on 2026-11-19 (firmware V1.1.1, USB).

A read (dir 0) with the usual header and no data returns the chunk at that offset, in a dir 2 reply laid out exactly like an upload chunk (header + up to 136 bytes):

text
→ 70 58 00 <packed: 00 <slot> 00 00 | offset | total 8192>    ← 70 58 02 <packed: 00 <slot> 00 00 | offset | 8192 | 136 bytes>
→ 70 10 00 <packed: <slot> 00 00 00 | offset | total 8192>    ← 70 10 02 <packed: <slot> 00 00 00 | offset | 8192 | 136 bytes>
NAMIR
Command0x58 sub 00x10 sub 0
SlotHeader byte 1Header byte 0
First request, slot 9F0 00 21 7A 70 58 00 00 12 00 00 00 00 00 00 00 00 00 01 00 00 F7F0 00 21 7A 70 10 00 09 00 00 00 00 00 00 00 00 00 00 01 00 00 F7
  • Byte for byte: reading all 61 chunks of USER AMP 10 and USER IR 10 gave back exactly the floats uploaded there, in about 60 ms per slot.
  • Full backup: with the AMP slot-info record (sub 4, for the factor) that is everything an import writes, so a slot can be backed up and restored exactly. The .nam file itself never reaches the pedal.
  • Only reads were sent while probing (dir 0, subs 0, 1, 2 and 4).
  • Avoid a bare 70 10 00 <slot>: it answers with a header whose byte 0 has bit 7 set and FF data.
  • open-stomp: upload::user_amp_read / user_ir_read build the 61 requests, Device::read_user_amp / read_user_ir queue them, and a Reassembler collects the replies (in any order).

Data format ​

Both uploads are 2048 little-endian f32s, stored time-reversed. The pedal ignores most of them.

User AMP data ​

FloatsContentsPlayed by the pedal
data[0..512]G1 taps 1023…512No
data[512..1024]G1 taps 511…0Yes (first 512 taps of G1)
data[1024..1536]G2 taps 1023…512No
data[1536..2048]G2 taps 511…0Yes (first 512 taps of G2)
  • The pedal doesn't run NAM natively. It runs a fixed structure, G1 → a fixed saturation → G2:

    text
    y = G2_512 ⊛ f(G1_512 ⊛ x)

    G1 and G2 are the two uploaded filters (512 taps each) and f is a fixed piecewise-linear saturation, the same for every user AMP.

  • How it was found: re-amping a test signal through the pedal and through the real model (tools/pedalsim). This model nulls against the recorded output of the official, open and clean uploads to −23.4 … −24.4 dB, the rig's own repeatability (−24.4 dB between two recordings of the same upload). With all 1024 taps it can't: the clean conversion's 41 Hz response is then off by ~10 dB.

  • Consequence: the truncation is why every 1024-tap conversion so far (the official one included) has excess sub-bass on the pedal: the cut-off tail of a minimum-phase response carries part of its low end.

  • Factor: a scalar in the slot-info record (offset 52), always 1.0. It is not an output gain.

  • open-stomp: convert::PEDAL_TAPS, convert::upload_data (two responses → upload, unused halves zero) and convert::pedal_irs (upload → the responses the pedal runs). Measure::App keeps the app's 1024-tap layout byte for byte; the other modes upload exactly what the pedal runs.

First look at the floats (before the converter was decoded)
  • The test files are NAM 0.7 SlimmableContainers with two WaveNet submodels (3-channel: 1871 weights; 8-channel: 12146 weights). The uploaded floats are not those weights (searched all alignments and float16/32).
  • [0..1023] rises smoothly and exponentially to a large value (~2200): it looked like a lookup table / transfer curve, or a time-reversed filter.
  • [1024..2047] is tiny, with energy rising toward the end: it looked like a time-reversed impulse response.
  • The static analysis shows imagelib callbacks deliver (float* g1, float* g2, float* factor), which suggested filter(s) + static nonlinearity (Wiener/Hammerstein style): g1, g2 = two 1024-float arrays, factor = a scalar in the slot-info record (sub 3). The converter confirmed it.

User IR data ​

FloatsContentsPlayed by the pedal
data[0..1664]IR samples 2047…384No
data[1664..2048]IR samples 383…0Yes (first 384 taps, 8 ms)
  • Layout: data[2047 − k] = g · ir[k], the same reversed layout as the NAM filters.
  • How it was found: probe IRs with impulses at known taps, uploaded to USER IR 10, the CAB block on its own, sweep deconvolution divided by the dry path (tools/pedalsim/ir_reamp_*.py). Impulses at taps 0–383 come back at their uploaded amplitude (within a few %); taps 384, 450, 500, 1000, 1500 and 2040 not at all.
  • Level: the CAB block is about unity. An impulse of 1.0 at tap 0 measures −0.1 … −0.8 dB against the dry path.
  • Consequence: the official conversion's last 1664 samples are never heard, and its gain is computed on a response the pedal doesn't play.
  • open-stomp: ir::PEDAL_IR_TAPS = 384, ir::IR_TAPS = 2048, ir::IR_SAMPLE_RATE = 48000.

Test vectors ​

Captured uploads you can check a converter against, byte for byte.

Test vectors

Not in git (see .gitignore); regenerate them from the logs with tools/decode/nam_extract.py (open-stomp-manager repo):

sh
python3 tools/decode/nam_extract.py captures/logs/01-main-session.log "<marker text>" out.bin
Input fileLog markerOutput
FNDR BFSR VB Edge WRM2 CAB FREE.namNAM import 'FNDRcaptures/files/FNDR.device_floats.bin
Jcm800.nam (from "Marshall Jcm800 + V30 1960.zip")deleted USER AMP NAM (the next import after it)captures/files/Jcm800.device_floats.bin
"percussive verb 1" WAV (IR)imported Jcm800captures/files/ir/IR01.device_floats.bin (gain 12.5344, reproduced to −138 dB)

Conversions ​

How the floats above are computed from a .nam file or a WAV, by the official app and by open-stomp, is in the NAM & IR section: the official NAM conversion, the official IR conversion and open-stomp's own. The API is in Converting NAM models and IRs.

MIT or Apache-2.0. Not affiliated with SORAN.