Hi everyone,
I’m trying to run the Neural Amp Modeler LV2 plugin on a Raspberry Pi 4 with Elk Audio OS installed and an HiFiBerry DAC+ ADC Pro as audio interface.
I followed the official documentation and several examples, but when launching Sushi with my JSON configuration (e.g. conf.json) I get these two errors:
mind@elk-pi:~$ sushi -c conf.json
Invalid frontend configuration. Reactive, or None, are not supported when standalone.
and when I try the recommended alternative form:
mind@elk-pi:~$ sushi -r -c conf.json
Error reading host config, check logs for details.
Here is the JSON file I’m using:
{
“host_config”: {
“samplerate”: 48000,
“block_size”: 128,
“playing_mode”: “playing”,
“frontend”: “raspa”
},
“tracks”: [
{
“name”: “guitar_amp”,
“type”: “audio”,
“audio_inputs”: [
{ “name”: “input_l”, “device”: “hw:0,0”, “channel”: 0 },
{ “name”: “input_r”, “device”: “hw:0,0”, “channel”: 1 }
],
“audio_outputs”: [
{ “name”: “output_l”, “device”: “hw:0,0”, “channel”: 0 },
{ “name”: “output_r”, “device”: “hw:0,0”, “channel”: 1 }
],
“plugin_instances”: [
{
“instance_id”: “nam_amp”,
“uri”: “GitHub - mikeoliphant/neural-amp-modeler-lv2: Neural Amp Modeler LV2 plugin”,
“type”: “lv2”,
“parameters”: {
“model_file”: “/home/mind/my_nam.nam”
}
}
],
“connections”: [
{ “source”: “input_l”, “target”: “nam_amp” },
{ “source”: “input_r”, “target”: “nam_amp” },
{ “source”: “nam_amp”, “target”: “output_l” },
{ “source”: “nam_amp”, “target”: “output_r” }
]
}
]
}
However Sushi immediately throws the “Invalid frontend configuration” error, and with -r it says “Error reading host config” without loading the track.
I checked the official docs and the forum, but I’m not sure whether:
my JSON structure is wrong (e.g. using audio_inputs vs inputs, or plugin_instances vs plugins),
the plugin URI is incorrect (NAM LV2 doesn’t appear in lv2ls),
the frontend “raspa” is not valid for this setup,
or if Sushi is rejecting the file for another structural reason.
Does anyone know what the correct json structure should be for loading an LV2 plugin on Elk OS?
Or what could cause Sushi to fail reading the host configuration?
Any reference to the official documentation or working examples would be very helpful.
Thanks in advance!