Skip to content

Instantly share code, notes, and snippets.

@m4rw3r
Created April 5, 2012 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m4rw3r/2309608 to your computer and use it in GitHub Desktop.
Save m4rw3r/2309608 to your computer and use it in GitHub Desktop.
# This is a comment
# Plain constant:
Dummystring = "foobar"
# Parameters to be injected from outside (CLI or another processor) and their respective types:
Parameters {
target_file: string,
integration_time: uint32
}
# Declare the type and name of input streams, default names are input1 and input2, additional names can be used
Input {
input1: double,
input2: double
}
Properties {
operation_mode: streamed|buffered,
space_dimensions:1
}
Children {
dest: waveFileWriter(target: target_file),
rms: rms(integration_time: integration_time),
modulator: modulator(astringparameter: Dummystring)
}
Connections {
input1 > rms.input1,
input2 > rms.input2,
rms.output1 > modulator.input1,
rms.output2 > modulator.input2,
modulator.output1 > dest.input1,
modulator.output2 > dest.input2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment