mirror of
https://github.com/RavenX8/companion-module-voicemod.git
synced 2026-04-04 05:18:53 -04:00
### Added
- preset for hold to beep (basically the 'censor beep')
This commit is contained in:
39
presets.js
Normal file
39
presets.js
Normal file
@@ -0,0 +1,39 @@
|
||||
const { combineRgb } = require('@companion-module/base')
|
||||
|
||||
module.exports = async function (self) {
|
||||
const presets = {}
|
||||
presets[`beep`] = {
|
||||
type: 'button',
|
||||
category: 'Sounds',
|
||||
name: 'Beep!',
|
||||
style: {
|
||||
text: `Beep!`,
|
||||
size: '24',
|
||||
color: combineRgb(255, 255, 255),
|
||||
bgcolor: combineRgb(0, 0, 0),
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
down: [
|
||||
{
|
||||
actionId: 'set_beep_sound',
|
||||
options: {
|
||||
beepEnabled: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
up: [
|
||||
{
|
||||
actionId: 'set_beep_sound',
|
||||
options: {
|
||||
beepEnabled: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
feedbacks: [],
|
||||
}
|
||||
|
||||
self.setPresetDefinitions(presets)
|
||||
}
|
||||
Reference in New Issue
Block a user