Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Error in config_neuralpi.json #39

Open
Max-Bld opened this issue Nov 16, 2024 · 0 comments
Open

Schema Error in config_neuralpi.json #39

Max-Bld opened this issue Nov 16, 2024 · 0 comments

Comments

@Max-Bld
Copy link

Max-Bld commented Nov 16, 2024

Hi,

There is a schema error with the actual config_neuralpi.json. Here are the logs:

[2024-11-16 14:01:26.642] [warning] #############################
[2024-11-16 14:01:26.642] [warning]    Started Sushi Logger!
[2024-11-16 14:01:26.642] [warning] #############################
[2024-11-16 14:01:26.710] [info] [plugin_library] Setting base plugin path to: /home/mind/plugins
[2024-11-16 14:01:26.711] [info] [jsonconfig] Setting engine sample rate to 48000.0
[2024-11-16 14:01:26.711] [info] [main] Setting up Xenomai RASPA frontend
[2024-11-16 14:01:26.713] [error] [jsonconfig] Schema validation failure at /tracks/0
[2024-11-16 14:01:26.713] [error] [jsonconfig] Config file /home/mind/config_files/config_neuralpi.json does not follow schema: 1

According to ELK tracks json schema, a track does not have (anymore) a mode key. It has to be replaced with a channels key and value 2 if you want stereo.

Old config_neuralpi.json:

{
    "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"  : "sushi.testing.mono_summing",
					"name" : "mono_summing",
					"type" : "internal"
				},
                {
                    "uid"  : "NeuralPi",
                    "path" : "/home/mind/plugins/NeuralPi.vst3",
                    "name" : "NeuralPi",
                    "type" : "vst3x"
                }
            ]
        }
    ]
}

New one:

{
    "host_config" : {
        "samplerate" : 48000
    },
    "tracks" : [
        {
            "name" : "main",
            "channels" : 2,
            "inputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "outputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "plugins" : [
			    {
				    "uid"  : "sushi.testing.mono_summing",
					"name" : "mono_summing",
					"type" : "internal"
				},
                {
                    "uid"  : "NeuralPi",
                    "path" : "/home/mind/plugins/NeuralPi.vst3",
                    "name" : "NeuralPi",
                    "type" : "vst3x"
                }
            ]
        }
    ]
}

And now, the plugin works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant