Constructor
new MotionInput()
- Source:
Example
import * as lfo from 'waves-lfo';
import * as lfoMotion from 'lfo-motion';
const motionInput = new lfoMotion.source.MotionInput();
const logger = new lfo.sink.Logger({ time: false, data: true });
motionInput.connect(logger);
motionInput.init()
.then(() => motionInput.start())
.catch(err => console.log(err.stack));
Methods
start()
Start the stream.
- Source:
stop()
Stop the stream.
- Source: