Routing a mono source to stereo target

This forum is for developers of Rack Extensions to discuss the RE SDK, share code, and offer tips to other developers.
Post Reply
User avatar
Murf
RE Developer
Posts: 656
Joined: 21 Jun 2019
Location: Brisbane, Australia
Contact:

08 May 2023

Hi All,
I have just had a RE rejected by Reason because it does not route stereo out to the mix channel when I drag it below a Subtractor.
I have used the same routing parameters as the "SilenceDetectionEffect" example and it only routes mono.
Am I missing a routing hint or some-such?

here are the parameters per the example.

Code: Select all

jbox.add_stereo_audio_routing_pair{
	left = "/audio_inputs/left", 
	right = "/audio_inputs/right"
}

jbox.add_stereo_audio_routing_pair{
	left = "/audio_outputs/left", 
	right = "/audio_outputs/right"
}

jbox.add_stereo_effect_routing_hint{
	type = "true_stereo",
	left_input = "/audio_inputs/left", 
	right_input = "/audio_inputs/right",
	left_output = "/audio_outputs/left", 
	right_output = "/audio_outputs/right"
}

jbox.add_stereo_audio_routing_target{
	signal_type = "normal",
	left = "/audio_inputs/left", 
	right = "/audio_inputs/right",
	auto_route_enable = true
}

jbox.add_stereo_audio_routing_target{
	signal_type = "normal",
	left = "/audio_outputs/left", 
	right = "/audio_outputs/right",
	auto_route_enable = true
}

jbox.set_effect_auto_bypass_routing {
	{"/audio_inputs/left", "/audio_outputs/left"},
	{"/audio_inputs/right", "/audio_outputs/right"}
}

User avatar
Murf
RE Developer
Posts: 656
Joined: 21 Jun 2019
Location: Brisbane, Australia
Contact:

08 May 2023

I think I worked it out, I used "spreading" instead of "true_stereo" in this one:

Code: Select all

jbox.add_stereo_effect_routing_hint{
	type = "true_stereo",
	left_input = "/audio_inputs/left", 
	right_input = "/audio_inputs/right",
	left_output = "/audio_outputs/left", 
	right_output = "/audio_outputs/right"
}

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest