summaryrefslogtreecommitdiff
path: root/rotord/bin
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/bin')
-rw-r--r--rotord/bin/examplegraph.json102
1 files changed, 102 insertions, 0 deletions
diff --git a/rotord/bin/examplegraph.json b/rotord/bin/examplegraph.json
new file mode 100644
index 0000000..596fcdc
--- /dev/null
+++ b/rotord/bin/examplegraph.json
@@ -0,0 +1,102 @@
+ {
+ title: "Lights Down @Rotor",
+ audio: "filename",
+ id:,
+ type: 'patchBay',
+ nodeDefinitions: [
+ {
+ title: 'Video Loader',
+ type: 'video_loader',
+ inputs: 'fixed',
+ output: 'image',
+ description: 'loads a video file',
+ attributes: [
+ {
+ type: 'string',
+ title: 'Filename'
+ },
+ {
+ title: 'Mode',
+ name: 'mode',
+ type: 'enum',
+ value: 'still',
+ options: ['still', 'blend'],
+ description: 'video playback speed'
+ }
+ ],
+ parameters: [
+ {
+ title: 'Frame Rate',
+ name: 'framerate',
+ type: 'number',
+ value: '0',
+ min: '0',
+ max: '10',
+ description: 'frame rate override'
+ },
+ {
+ title: 'Speed',
+ name: 'speed',
+ type: 'number',
+ value: '1',
+ min: '0',
+ max: '10',
+ description: 'video playback speed'
+ }
+ ],
+ metadata: {
+ imageUrl: 'images/loader.svg',
+ },
+ },
+
+ {
+ title: 'Video Cycler',
+ type: 'video_cycler',
+ description: 'Cycles through video inputs according to selector signal',
+ inputs: 'duplicatable',
+ image_input: [
+ {
+ description: 'Input 1'
+ }
+ ],
+ signal_input: [
+ {
+ description: 'selector'
+ }
+ ],
+ metadata: {
+ imageUrl: 'images/cycler.svg'
+ }
+ },
+ {
+ title: 'Audio Analysis',
+ type: 'audio_analysis',
+ inputs: 'fixed',
+ description: 'analyse audio and output',
+ output: 'signal',
+ attributes: [
+ {
+ title: 'Analyser Plugin',
+ name: 'analyser',
+ type: 'enum',
+ value: 'barbeattracker',
+ options: ['barbeattracker', 'segmenter'],
+ }
+ ],
+ parameters: [
+ {
+ title: 'Output Number',
+ name: 'outputNo',
+ type: 'number',
+ value: '0',
+ min: '0',
+ max: '10',
+ description: 'plugin output to use'
+ }
+ ],
+ metadata: {
+ imageUrl: 'images/audio.svg'
+ }
+ },
+ ]
+ } \ No newline at end of file