Skip to main content

user_ir_upload

Function user_ir_upload 

Source
pub fn user_ir_upload(slot: u8, name: &str, data: &[f32]) -> Vec<Vec<u8>>
Expand description

The official app’s user IR import: the data (slot in header byte 0, unlike NAM’s byte 1), then the name. Checked byte for byte against imports into all ten slots (captures/logs/02-ir-tests.log). The app selects the slot’s cab model (host::head(Module::Cab, 30 + slot, true)) just before.