v8hd
Version:
Control interface for Roland V-8HD video switchers
18 lines (17 loc) • 576 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const src_1 = require("../src");
/**
* Example demonstrating basic usage of Roland V-8HD controller
*/
// Create new controller instance
const v8hd = new src_1.RolandV8HD();
console.log('Connected to Roland V-8HD');
// Configure transition type and speed
v8hd.setTransitionType(src_1.TransitionType.MIX);
v8hd.setMixWipeTime(1.5); // 1.5 second transition time
// Execute a transition
v8hd.setAutoButton(src_1.ButtonState.ON);
// Clean up when done
v8hd.close();
console.log('Connection closed');