summaryrefslogtreecommitdiffstats
path: root/arts/examples/example_pscale.arts
blob: 6f364135cf363e4b42ab09549138168a2974b7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name=example_pscale
module=Arts::Synth_SEQUENCE
{
  id=10
  x=1
  y=1
  port=speed
  {
    id=11
    audio_data=0.50000
  }
  port=seq
  {
    id=12
    string_data=C-4;D-4;E-4;F-4;G-4;A-4;B-4;C-5;
  }
  port=frequency
  {
    id=13
    connect_to=21
  }
  port=pos
  {
    id=14
    connect_to=34
  }
}
module=Arts::Synth_AMAN_PLAY
{
  id=15
  x=1
  y=8
  port=title
  {
    id=16
    string_data=Pscale
  }
  port=autoRestoreID
  {
    id=17
    string_data=Pscale
  }
  port=left
  {
    id=18
    connect_to=35
  }
  port=right
  {
    id=19
    connect_to=35
  }
}
module=Arts::Synth_FREQUENCY
{
  id=20
  x=1
  y=3
  port=frequency
  {
    id=21
    connect_to=13
  }
  port=pos
  {
    id=22
    connect_to=24
  }
}
module=Arts::Synth_WAVE_SIN
{
  id=23
  x=1
  y=5
  port=pos
  {
    id=24
    connect_to=22
  }
  port=outvalue
  {
    id=25
    connect_to=33
  }
}
module=Arts::Synth_PSCALE
{
  id=31
  x=5
  y=6
  port=top
  {
    id=32
    audio_data=0.50000
  }
  port=invalue
  {
    id=33
    connect_to=25
  }
  port=pos
  {
    id=34
    connect_to=14
  }
  port=outvalue
  {
    id=35
    connect_to=18
    connect_to=19
  }
}