vMix Forums
»
General
»
General Discussion
»
Shortcut/API to play audio file
Rank: Member
Groups: Registered
Joined: 3/13/2022(UTC) Posts: 20 Thanks: 14 times
|
I am using APIs to run shortcuts for me. I want an API to play an audio file that is input 100. I haven’t figured out how to make it work.
Am I on the right track here…?
I added an audio input.
I clicked Audio for the input 100 to enable the input audio.
I created a shortcut for input 100, but I’m not sure what the function should be. It can’t be cut or fade, etc because input 100 is audio only and I don’t want to change what’s on the screen.
I thought maybe it should be an overlay. So I enabled overlay 4 for input 100.
If I click the play button for input 100, it plays just fine. I tried every function related to Overlay4 and all of the audio functions. I pointed them to input 100. None of them played the audio in input 100.
Can someone please tell me how to make a shortcut to play an audio input so I give the command to my API?
Thanks for taking the time to read this. I look forward to your replies.
DJ
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 555
Thanks: 62 times Was thanked: 130 time(s) in 118 post(s)
|
The function to play an input is... "Play". :) Depending on what you are trying to achieve, you can also add "Restart" first to your shortcut, so to make sure the input starts from the beginning.
|
1 user thanked dmwkr for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 3/13/2022(UTC) Posts: 20 Thanks: 14 times
|
Originally Posted by: dmwkr The function to play an input is... "Play". :) Depending on what you are trying to achieve, you can also add "Restart" first to your shortcut, so to make sure the input starts from the beginning. It worked! Many thanks!
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Shortcut/API to play audio file
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close