Multiple audio inputs support issue in EXE project

For general discussion related FlowStone
Post Reply
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Multiple audio inputs support issue in EXE project

Post by kortezzzz »

This is one of those days that FS drives me crazy :evil:

I'm trying really hard to add a support for multiple audio inputs (that comes from the asio driver) in my exe. project.
Inside FS everything works smoothly and nice. But the trebles start after exporting to exe application:

Seems like you should add to the project the exact amount of blue inputs as your audio interface has, or the whole thing won't work and start to make horrible noises and buzzes before the application crashes. For instance, if your audio interface has 4 physical inputs (I'm using using asio4all) and you add 8 blue inputs to the project (to support any other interfaces), after exporting the application wouldn't able to route asio driver's 4 input to the first app's 4 blue inputs correctly and would crash.

AFAIK, FS doesn't support audio inputs routing from the asio driver (like DAWs do), but was hoping that maybe it would work for me somehow. Yet can't find any reliable solution for this. Does anyone has any similar experience and can share some suggestions?
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Multiple audio inputs support issue in EXE project

Post by RJHollins »

Not sure what you're using, but here's an example from my toolbox stash.
Audio Selector example.fsm
(1.21 KiB) Downloaded 910 times
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Multiple audio inputs support issue in EXE project

Post by kortezzzz »

I've finally figured it out :)

The problem was at how you set the order of your midi\blue inputs in the schematic.
As I can see, when you mix both midi and audio inputs, the midi should be always the last one or the asio driver would try to connect it self to it, since it doesn't able to recognize which input is audio input and which is midi.

The schematic below shows how to set things correctly. I would love if you please export it to exe. file and try to test it with your audio interface, using a mic. or other audio inputs.
Attachments
(Audio Selector_multiple outputs example).fsm
(341.62 KiB) Downloaded 855 times
Post Reply