UNPKG

propres-control

Version:

A wrapper for controlling ProPresenter using the MIDI module

14 lines (9 loc) 333 B
const propresControl = require('./'); propresControl.open(); let index = 0; setInterval(function(){ // propresControl.selectPlaylist((index ++ % 3) + 1); // propresControl.selectPlaylistItem((index ++ % 3) + 1); propresControl.triggerSlide((index ++ % 3) + 1); // propresControl.selectMediaPlaylist(1); }, 3000);