Hello,
As it’s known by now (or not known enough ) I’m doing a freeze pedal using Pi+Elk. The VST is ready and tested, it’s a simple mono → mono thing with 3 parameters, and the code it’s all really trivial stuff except one malloc() and one free() call in the setActive() callback, and a roundf() somewhere. If needed, I can give you the source code (it will be publicly released under GPL3 anyway, I’d just avoid making it public before I see the prototype pedal working).
I managed to build it for Elk without issues, but I am having problems launching Sushi (Sika image v. 0.1.3).
Here’s the contents of the configuration file:
{
"host_config" : {
"samplerate" : 48000
},
"tracks" : [
{
"name" : "main",
"mode" : "stereo",
"inputs" : [
{
"engine_bus" : 0,
"track_bus" : 0
}
],
"outputs" : [
{
"engine_bus" : 0,
"track_bus" : 0
}
],
"plugins" : [
{
"uid" : "Freeze",
"path" : "/home/mind/plugins/freeze-vst3/freeze.vst3",
"name" : "freeze",
"type" : "vst3x"
}
]
}
]
}
With the RASPA backend I get a segafult and no log or any other info, this is the whole output:
raspberrypi3-64:~$ sushi -l debug -r -c config_files/config_freeze.json
SUSHI - Sensus Universal Sound Host Interface
Copyright 2016-2018 MIND Music Labs, Stockholm
Segmentation fault
Using JACK I get:
raspberrypi3-64:~$ sushi -l debug -j -c config_files/config_freeze.json
SUSHI - Sensus Universal Sound Host Interface
Copyright 2016-2018 MIND Music Labs, Stockholm
Failed to load tracks from Json config file
and
[2019-11-27 22:54:20.888] [warning] #############################
[2019-11-27 22:54:20.888] [warning] Started Mind Logger!
[2019-11-27 22:54:20.888] [warning] #############################
[2019-11-27 22:54:20.959] [info] [main] Setting up Jack audio frontend
[2019-11-27 22:54:20.959] [error] Sushi was not built with Jack support!
[2019-11-27 22:54:20.959] [info] [jsonconfig] Setting engine sample rate to 48000
[2019-11-27 22:54:20.961] [debug] [engine] Succesfully registered processor main.
[2019-11-27 22:54:20.961] [info] [engine] Track main successfully added to engine
[2019-11-27 22:54:20.961] [debug] [jsonconfig] Successfully added track "main" to the engine
[2019-11-27 22:54:20.961] [error] [jsonconfig] Error connection input bus to track "main", error 10
Using the dummy backend:
raspberrypi3-64:~$ sushi -l debug -d -c config_files/config_freeze.json
SUSHI - Sensus Universal Sound Host Interface
Copyright 2016-2018 MIND Music Labs, Stockholm
Failed to load Event list from Json config file
and
[2019-11-27 22:54:57.994] [warning] #############################
[2019-11-27 22:54:57.994] [warning] Started Mind Logger!
[2019-11-27 22:54:57.994] [warning] #############################
[2019-11-27 22:54:58.064] [info] [main] Setting up dummy audio frontend
[2019-11-27 22:54:58.064] [info] [jsonconfig] Setting engine sample rate to 48000
[2019-11-27 22:54:58.066] [debug] [engine] Succesfully registered processor main.
[2019-11-27 22:54:58.066] [info] [engine] Track main successfully added to engine
[2019-11-27 22:54:58.066] [debug] [jsonconfig] Successfully added track "main" to the engine
[2019-11-27 22:54:58.066] [info] [engine] Connected inputs 0 to channel 0 of track "main"
[2019-11-27 22:54:58.066] [info] [engine] Connected inputs 1 to channel 1 of track "main"
[2019-11-27 22:54:58.066] [info] [engine] Connected channel 0 of track "main" to output 0
[2019-11-27 22:54:58.066] [info] [engine] Connected channel 1 of track "main" to output 1
[2019-11-27 22:54:58.070] [info] [vst3] Querying plugin Freeze of type Audio Module Class
[2019-11-27 22:54:58.070] [info] [vst3] Creating plugin Freeze
[2019-11-27 22:54:58.070] [info] [vst3] Plugin has 1 audio input buffers and 1 audio output buffers
[2019-11-27 22:54:58.070] [info] [vst3] Vst3 wrapper (Freeze) has 1 inputs and 1 outputs
[2019-11-27 22:54:58.070] [info] [vst3] Plugin has 0 event input buffers and 0 event output buffers
[2019-11-27 22:54:58.070] [info] [vst3] Vst3 wrapper (Freeze) setting up 1 inputs and 1 outputs
[2019-11-27 22:54:58.070] [info] [vst3] Registered parameter Dry, id 100
[2019-11-27 22:54:58.070] [info] [vst3] Registered parameter Wet, id 101
[2019-11-27 22:54:58.070] [info] [vst3] Registered parameter Freeze, id 102
[2019-11-27 22:54:58.070] [info] [vst3] No unit info or program change parameter
[2019-11-27 22:54:58.070] [info] [vst3] Looking for presets in: /home/mind/.vst3/presets/dangelo.audio/Freeze
[2019-11-27 22:54:58.071] [info] [vst3] Looking for presets in: /usr/share/vst3/presets/dangelo.audio/Freeze
[2019-11-27 22:54:58.071] [info] [vst3] Looking for presets in: /usr/local/share/vst3/presets/dangelo.audio/Freeze
[2019-11-27 22:54:58.071] [info] [vst3] Looking for presets in: /usr/bin/vst3/presets/dangelo.audio/Freeze
[2019-11-27 22:54:58.071] [debug] [engine] Succesfully registered processor freeze.
[2019-11-27 22:54:58.071] [debug] [jsonconfig] Successfully added Plugin "freeze" to Chain "main"
[2019-11-27 22:54:58.071] [debug] [jsonconfig] Successfully added Track main to the engine
[2019-11-27 22:54:58.071] [info] [jsonconfig] Successfully configured engine with tracks in JSON config file "config_files/config_freeze.json"
[2019-11-27 22:54:58.073] [info] [jsonconfig] Config file does not have MIDI definitions
[2019-11-27 22:54:58.074] [info] [jsonconfig] Config file does not have CV/Gate definitions
[2019-11-27 22:54:58.075] [info] [jsonconfig] Config file does not have any Event definitions
Please help.