summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_pitchshift.arts
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/example_pitchshift.arts')
-rw-r--r--arts/examples/example_pitchshift.arts69
1 files changed, 69 insertions, 0 deletions
diff --git a/arts/examples/example_pitchshift.arts b/arts/examples/example_pitchshift.arts
new file mode 100644
index 00000000..5126e54b
--- /dev/null
+++ b/arts/examples/example_pitchshift.arts
@@ -0,0 +1,69 @@
+name=example_pitchshift
+module=Arts::Synth_BUS_DOWNLINK
+{
+ id=23
+ x=1
+ y=1
+ port=busname
+ {
+ id=24
+ string_data=Pitch Shift
+ }
+ port=left
+ {
+ id=25
+ connect_to=34
+ }
+ port=right
+ {
+ id=26
+ }
+}
+module=Arts::Synth_BUS_UPLINK
+{
+ id=27
+ x=1
+ y=5
+ port=busname
+ {
+ id=28
+ string_data=out_soundcard
+ }
+ port=left
+ {
+ id=29
+ connect_to=35
+ }
+ port=right
+ {
+ id=30
+ connect_to=35
+ }
+}
+module=Arts::Synth_PITCH_SHIFT
+{
+ id=31
+ x=1
+ y=3
+ port=speed
+ {
+ id=32
+ audio_data=0.75000
+ }
+ port=frequency
+ {
+ id=33
+ audio_data=10.00000
+ }
+ port=invalue
+ {
+ id=34
+ connect_to=25
+ }
+ port=outvalue
+ {
+ id=35
+ connect_to=29
+ connect_to=30
+ }
+}