- Place the element on the page
- Use the action start/stop the detection
- Access the states or listen to the events
Actions :
- start_detection : start to listen to voice activity
- stop_detecting : stop detecting silence and reinitialize the plugin
States :
- isDetecting : whether the detection in on or off (yes/no)
- status : text value status : waiting, initializing, ready, listening, stopped
- detected_silence : yes/no
- silence_start : date of silence started
- speech_started : yes/no
- noise_level : decimal number indicating level of noise (you can do a nice effect with a progress bar, check demo)
Events :
- detection_started : first event to be triggered, as soon as you start the detection
- speech_started : when the user started to speak once the detection started
- silence_detected : when a silence of more than X seconds is detected by the plugin
- detection_stopped : when to detection is stopped
Check the demo editor here for implementation :
https://bubble.io/page?type=page&name=silence-detector&id=vima-plugins-demo&test_plugin=1711626003857x891728059889090600_current&tab=tabs-1Try the demo here :
https://vima-plugins-demo.bubbleapps.io/version-test/silence-detectorany bug or suggestion ?
[email protected]