Old 06-01-2020, 01:03 PM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,628
Default API: SetAudioDeviceInfo

I would love to have the chance to not only get, but also set the audio-device settings, even if only the things would be settable, who are gettable via GetAudioDeviceInfo()

Our usecase would be in Ultraschall:
We have dozens of users with dozens of audio-devices, who produced a number of potential problems.
We would like to build us some kind of Settings-Troubleshooting-Wizard, which allows us to do stuff like:
1) we set a certain setting with one of the common settings(buffer sizes for instance or audiosystem)
2) we ask the user "Can you hear yourself properly? Yes/No?"
3) if the user said no, we try another common setting
4) we ask again the user "Can you hear yourself? Yes/No?"
etc.

This allows us to give inexperienced users a chance to go through the most common settings that worked for the most.
But to do this, we would need to be able to set these settings somehow.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-05-2020, 04:07 PM   #2
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,875
Default

+1 Great FR. Being able to set the audio device within a script can also be handy when someone switches devices a lot!
Phazma is offline   Reply With Quote
Old 06-05-2020, 04:19 PM   #3
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,175
Default

+1
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Old 06-05-2020, 11:33 PM   #4
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 1,128
Default

Agreed
lexaproductions is offline   Reply With Quote
Old 06-06-2020, 12:53 AM   #5
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,185
Default

I'd also find this handy.
I have one desk/interface by the drums and another by the monitors so I'm constantly switching between the two.
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 02-02-2021, 09:15 AM   #6
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Just a friendly +1 bump
Klangfarben is offline   Reply With Quote
Old 02-11-2022, 12:45 PM   #7
mPony
Human being with feelings
 
Join Date: Aug 2009
Location: on the east coat of Canada
Posts: 7
Default

I haven't posted on here since 2009 but yeah I'd definitely really like this function added, please. I'm a heathen who uses his PC for Reaper and for websurfing and ASIO definitely DOES NOT like to play audio from my web browser. A macro that could switch from ASIO to WaveOut would be super handy, and SetAudioDeviceInfo() would do the trick.
mPony is offline   Reply With Quote
Old 03-05-2022, 10:09 AM   #8
Jae.Thomas
Human being with feelings
 
Join Date: Jun 2006
Posts: 22,572
Default

I was thinking of using this to process at 96k by using dummy audio (my fireface seems to have issues changing sample rate on the fly, as well as latency)

+1

Would love to change audio configs with a script
Jae.Thomas is offline   Reply With Quote
Old 03-25-2022, 12:56 AM   #9
BenjyO
Human being with feelings
 
Join Date: Nov 2011
Posts: 308
Default

+1
__________________
Check out some of my music
BenjyO is offline   Reply With Quote
Old 03-25-2022, 08:38 AM   #10
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

yes please please please! this has been asked by a lot of other users and other threads.
__________________
🙏🏻
deeb is offline   Reply With Quote
Old 03-25-2022, 08:57 AM   #11
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,185
Default

Did you see this hack in the meantime?
You'll need to edit the code for your interfaces but it's a possible workaround:
https://forum.cockos.com/showpost.ph...4&postcount=26

And here's the full thread:
https://forum.cockos.com/showthread.php?t=264010

Bonus points for adding the checkmarks to show which one is activated
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 03-25-2022, 09:32 AM   #12
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

i'll try it later! i don't see anything related with buffer size in the script tho, which for me is the thing ... Thanks
__________________
🙏🏻
deeb is offline   Reply With Quote
Old 03-25-2022, 09:41 AM   #13
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,185
Default

It's in the full thread.. and on reapack. Search for "block"
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 02-05-2023, 07:36 AM   #14
mlprod
Human being with feelings
 
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,343
Default

Changing audio device with scripting is something really useful I think. So, yes please!
__________________
Magnus Lindberg Productions - VRTKL Audio - Redmount Studios
magnuslindberg.com
mlprod is offline   Reply With Quote
Old 02-22-2023, 09:07 PM   #15
dyross
Human being with feelings
 
Join Date: Jan 2023
Posts: 68
Default

I routinely switch between several specific audio devices on mac "External Headphones" and "Audient id14".

It would be great to have an action for each so I can use keybindings rather than a bunch of clicks.
dyross is online now   Reply With Quote
Old 02-23-2023, 02:04 AM   #16
wastee
Human being with feelings
 
Join Date: Mar 2015
Location: Mainland China
Posts: 157
Default

Though it can be done in JS API reascript. But it will be nice if REAPER has API.
wastee is offline   Reply With Quote
Old 02-23-2023, 11:21 AM   #17
dyross
Human being with feelings
 
Join Date: Jan 2023
Posts: 68
Default

Quote:
Originally Posted by wastee View Post
Though it can be done in JS API reascript. But it will be nice if REAPER has API.
Thanks for the tip! Any pointer to examples of doing this? I use the JS API, but can't find it in the docs. Thanks!
dyross is online now   Reply With Quote
Old 02-23-2023, 11:27 AM   #18
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,185
Default

Quote:
Originally Posted by dyross View Post
Thanks for the tip! Any pointer to examples of doing this? I use the JS API, but can't find it in the docs. Thanks!
Here's the link again to the script that worked for my interfaces. Try tweaking that

https://forum.cockos.com/showpost.ph...4&postcount=26
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 02-23-2023, 01:54 PM   #19
dyross
Human being with feelings
 
Join Date: Jan 2023
Posts: 68
Default

Quote:
Originally Posted by Triode View Post
Here's the link again to the script that worked for my interfaces. Try tweaking that

https://forum.cockos.com/showpost.ph...4&postcount=26
Amazing, thanks!
dyross is online now   Reply With Quote
Old 11-18-2023, 09:34 AM   #20
lovetap
Human being with feelings
 
Join Date: Nov 2021
Posts: 1
Default

Another +1, this would be nice
lovetap is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.