Page 1 of 1

Multiple input modules, multiple audio inputs to metamodules

Posted: Thu Jan 19, 2017 2:56 am
by queries
Here's how this might work:

Input modules would broadcast audio input from channels other than 1 (mono) or 1 and 2 (stereo) on whatever sound source SunVox is listening to. Sound source is traditionally sound card, this expands it to either sound card or metamodule input.

Input modules would have a new controller, "channel". When in mono, channel 1 = actual channel 1, channel 2 = actual channel 2, etc.; when in stereo, channel 1 = actual channels 3 and 4, channel 2 = actual channels 3 and 4

Input modules would have a new controller, "source type", which has two options: "audio in" or "metamodule".

When "source type" is in "audio in" mode, you can select between different channels of the sound hardware (or via DLL, see below).

When "source type" is in "metamodule" mode, and the input module is in the topmost project, then it acts as a passthrough, so that you can hook up test instruments inside the metamodule while you're working on it.

When "source type" is in "metamodule" mode, and the input module is active within some level of metamodule, then it does not act as a passthrough, but instead sends the audio coming in for just that channel, based on the order of wiring (similar to the Modulator module). For example, if two signals were coming in, then you would have audio coming in to input modules via channels 1 and 2 for stereo, or 1, 2, 3, and 4 for mono.

As is currently the case for multiple inputs, their mixed audio is still sent to the module selected by the "input module" controller, if that module exists and accepts audio.

How it might be applied:

One practical example would be to send four or more raw operator waveforms into a custom FM synthesis metamodule, where inside they would be filtered and modulated according to whatever multi-operator FM synthesis algorithm was desired.

This would allow some interesting changes: It would free up space in user-defined controllers (no need to select waveform between each operator), and it would also allow for use of more complex waveforms as carriers.

I'm sure there could be a lot of other creative uses of multiple audio channels in metamodules! :wink:

Bonus feature?

Ability to use SunVox DLL in callback mode, to inject multi-channel audio data into the Input modules of the project playing in a slot. (If no input is given during a callback, then that channel is just zeros)

Re: Multiple input modules, multiple audio inputs to metamodules

Posted: Thu Jan 19, 2017 11:26 am
by SawZer
+10,000
Just imagine:
~Stereo Vocoders
~Compressor metamodules w/ sidechaining
~The ability to do processing on multiple independent signals

Re: Multiple input modules, multiple audio inputs to metamodules

Posted: Fri Jan 20, 2017 3:05 pm
by NightRadio
I hope it will be implemented in 1.9.3 or 1.9.4