AdelaideSky / GoXlr-Macos

Simple driver app for the GoXlr... On Macos.
https://www.adesky.fr/GoXlr-MacOS/
GNU General Public License v3.0
160 stars 7 forks source link

Any way to map an output to a virtual sound source? #8

Closed brymon68 closed 2 years ago

brymon68 commented 2 years ago

First off, this project is incredible!

I think I know the answer to this question but is there no way (currently) to map an output (such as game, system, etc) to a virtual interface? Basically I am trying to mimic functionality on windows where you can map a slider to Spotify app, a video game, etc.

AdelaideSky commented 2 years ago

Infact yes it's kinda possible ! But only if you spend money for it (or if you break some laws) !

For now, you have to use SoundSource by RogueAmoeba: it's the only "serious" software that i found that can select witch app go to witch output...

I wish I could bundle a way to do the same thing within the app but i'm already trying WITHOUT ANY SUCCESS :'((((( to add support for the broadcast mix and chat mic !

brymon68 commented 2 years ago

That makes sense! I actually was already using RogueAmoeba but using trial version so guessing that is why those sources weren't showing up in Goxlr-MacOS. I will give that a try. Thank you so much @Adelenade

brymon68 commented 2 years ago

Edit: Reopening this as maybe I am still confused....

So I ended up purchasing RogueAmoeba Sound Source and perhaps I am doing something wrong but there is just a single audio source listed which is: GoXLR. Not sure if there is another way to map audio sources to sliders? For instance I want one slider to control firefox, one slider to control Spotify, etc. but I only have once choice in soundsource and that is 'GoXLR'. Is there additional setup?

Also, this will greatly augment my workflow so happy to sponsor for this work if you have a rough estimate of what it will take.

AdelaideSky commented 2 years ago

Whooops ! Forgot to answer to this !

Oh okay ! Do you created the audio outputs (with the button inside the settings tab of the app) ? If yes, so go to "Audio midi setup" app and look for the missing audio devices ! When you find them, if I guessed right, you see something like this:

image

Then you just have to check the "GoXLR" item you see in the list and uncheck the other grey GoXLR item (normally it's now "Offline Device").

So if it solves your issue then it's a bug with CoreAudio that I have sometimes when I plug my goxlr in ! I don't really know how to fix it because normally the device has the same identity but sometimes it doesn't link to the virtual devices !

And what do you mean by "what it will take" ? xD You can of course sponsor me but it's open source so you don't really need to donate to use the project ! For now I'm coding the v2 to be more optimised and complete but I have to wait a bit for the daemon to support fully the GoXLR to really finish my work ! Oh and I have to ask for help on the audio part to fully support the goxlr ! I tried to do it by my own but it's too complicated for my level xD

brymon68 commented 2 years ago

Thank you @Adelenade I will try this tonight and follow up.

brymon68 commented 2 years ago

Hi @Adelenade,

Following up. Here is what I have so far:

My audio output settings looks like:

Screen Shot 2022-07-19 at 8 16 49 AM

My 'Audio Midi setup' looks like:

Screen Shot 2022-07-19 at 8 15 53 AM

Now, when you say:

Do you created the audio outputs (with the button inside the settings tab of the app) ?

I am not sure which settings app you mean? Sound Source? MacOS system preferences?

If yes, so go to "Audio midi setup" app and look for the missing audio devices ! When you find them, if I guessed right, you see something like this:

I am able to create an 'Aggregate Device' in Audio Midi Setup if that is what you mean which looks like this:

Screen Shot 2022-07-19 at 8 21 57 AM

But I still do not see the various channels to output audio to in Sound Source application.

Screen Shot 2022-07-19 at 8 23 35 AM
AdelaideSky commented 2 years ago

Oh then I see, you have to select the goxlr as the system output ( not in sound source ) and then go to the settings tab of the goxlr panel app. There is a button called "create audio outputs", click on that, make sure you selected the goxlr as system output and it will create all the devices for you !

brymon68 commented 2 years ago

@Adelenade - That worked!!!! WOOO!!!! This is awesome!!! Do you think this should be reflected in README? I am happy to submit a PR

AdelaideSky commented 2 years ago

Infact it's already in the readme in the installation tab XDDD

But I will think about a easier way to create these devices. I may wait for a custom driver that will be WAAAAAY better than what we have now but I have to ask for help, it's just too hard for me xD

brymon68 commented 2 years ago

Infact it's already in the readme in the installation tab XDDD

But I will think about a easier way to create these devices. I may wait for a custom driver that will be WAAAAAY better than what we have now but I have to ask for help, it's just too hard for me xD

Go to the settings tab and click on "Create audio outputs".

If only I knew how to read 😃

Thank you again