Remote triggering of audio file linked to button #12
-
Hi, I have a project where I require the audio linked to a toggle button to sound when the state changes from 0 to 1. At present, I can remotely trigger a button state using an OSC address, and the button state changes in the Ctrl window as expected. This button also has an audio file linked to it that sounds when the button is toggled within the app, ie. being pressed. I need to be able to trigger the same sound file when the state change is made remotely using OSC. The application this is being used for is part of a butler system in a bar/restaurant. When someone presses a physical button on a table, the relevant button in the Ctrl illuminates (ie. table 11). The audio is required to alert the bar staff to the button press if they are not looking at the Ctrl screen. Many thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@bailesandlight I have queued a build (249) for testing in TestFlight which allows control of buttons using the OSC API. You will now be able to trigger buttons using the By default all defined protocols will be sent when triggering however, you can limit this to one or more. For example:
Let us know how you get on. |
Beta Was this translation helpful? Give feedback.
-
Hi Matt,
Works perfectly for our uses, thank you.
You'll be pleased to hear I backed up the workspace too!
…On Wed, 24 Mar 2021 at 17:09, Matt Didon ***@***.***> wrote:
@bailesandlight <https://github.com/bailesandlight> Please ensure you
backup your workspaces before installing the version from TestFlight as
data maybe otherwise lost.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGK6EB5IVR6B6LKA73K4BYDTFIMETANCNFSM4ZKNH4DQ>
.
--
*Ben Bailes*
Co-founder + Creative Director
07817 242985
020 8050 7025
bailesandlight.com
Bailes and Light Ltd is registered in England No. 9969027. Registered
Office: Aldborough Hall Farm, Aldborough Road North, Ilford IG2 7TD.
|
Beta Was this translation helpful? Give feedback.
@bailesandlight I have queued a build (249) for testing in TestFlight which allows control of buttons using the OSC API.
You will now be able to trigger buttons using the
/trigger <state> <[protocols]>
endpoint. For example, to set a toggle button to the on state you would send/ctrl/control/<uid>/trigger 1
.By default all defined protocols will be sent when triggering however, you can limit this to one or more. For example:
/ctrl/control/<uid>/trigger audio
/ctrl/control/<uid>/trigger audio osc
/ctrl/control/<uid>/trigger 1 audio osc
Let us know how you get on.