Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 21st, 2012  |  syntax: None  |  size: 0.83 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # This is a comment
  2.  
  3. # Plain constant:
  4. Dummystring = "foobar"
  5.  
  6. # Parameters to be injected from outside (CLI or another processor) and their respective types:
  7. Parameters {
  8.     target_file: string,
  9.     integration_time: uint32
  10. }
  11.  
  12. # Declare the type and name of input streams, default names are input1 and input2, additional names can be used
  13. Input {
  14.     input1: double,
  15.     input2: double
  16. }
  17.  
  18. Properties {
  19.     operation_mode: streamed|buffered,
  20.     space_dimensions:1
  21. }
  22.  
  23. Children {
  24.     dest: waveFileWriter(target: target_file),
  25.     rms: rms(integration_time: integration_time),
  26.     modulator: modulator(astringparameter: Dummystring)
  27. }
  28.  
  29. Connections {
  30.     input1 > rms.input1,
  31.     input2 > rms.input2,
  32.     rms.output1 > modulator.input1,
  33.     rms.output2 > modulator.input2,
  34.     modulator.output1 > dest.input1,
  35.     modulator.output2 > dest.input2
  36. }