4
This directory contains example arts modules. The examples fall into
7
1. Effects which can be used as reusable building blocks (named
10
2. Standalone examples illustrating how to use each of the built-in
11
arts modules (named example_*.arts). These typically send some
12
output to a sound card.
14
3. Instruments built from lower level arts modules (named
15
instrument_*.arts). These following a standard convention for
16
input and output ports so they can be used by a (future) instrument
19
4. Mixer elements used for creating mixers, including graphical
20
controls (named mixer_element_*.arts).
22
5. Templates for creating new modules (names template_*.arts).
24
6. Miscellaneous modules that don't fit into any of the above
27
Detailed Description Of Each Module
28
-----------------------------------
33
example_stereo_beep.arts
35
Generates a 440Hz sine wave tone in the left channel and an 880Hz sine
36
wave tone in the right channel, and sends it to the sound card
37
output. This is referenced in the aRts documentation.
41
Generates a 440 Hz sine wave.
45
Generates a 440 Hz pulse wave with a 20% duty cycle.
49
Generates a 440 Hz sawtooth wave.
53
Generates a 440 Hz square wave.
57
Generates a 440 Hz triangle wave.
61
Generates white noise.
65
Generates a dual tone by producing 697 and 1209 Hz sine waves, scaling
66
them by 0.5, and adding them together. This is the DTMF tone for the
67
digit "1" on a telephone keypad.
69
example_atan_saturate.arts
71
Runs a triangle wave through the atan saturate filter.
73
example_autopanner.arts
75
Uses an autopanner to pan a 400 Hz sine wave between the left and
76
right speakers at a 2 Hz rate.
78
example_brickwall.arts
80
Scales a sine wave by a factor of 5 and then runs it through a
85
Downlinks from a bus called "Bus" and uplinks to the bus
86
"out_soundcard" with the left and right channels reversed.
90
Downlinks from a bus called "Delay", uplinks the right channel through
91
a 0.5 second cdelay, and the left channel unchanged. You can use
92
artscontrol to connect the effect to a sound player and observe the
97
This is the same as example_cdelay but used the delay effect.
99
example_capture_wav.arts
101
This uses the Synth_CAPTURE_WAV to save a 400 Hz sine wave as a wav
102
file. Run the module for a few seconds, and then examine the file
103
created in /tmp. You can play the file with a player such as kaiman.
107
This uses the Data module to generate a constant stream of the value
108
"3" and sends it to a Debug module to periodically display it. It
109
also contains a Nil module, illustrating how it can be used to
114
Shows how to create a simple instrument sound using the Envelope Adsr
115
module, repetitively triggered by a square wave.
119
This uses the FM Source module to generate a 440 Hz sine
120
wave which is frequency modulated at a 5 Hz rate.
122
example_freeverb.arts
124
This connects the Freeverb effect from a bus downlink to a bus
125
outlink. You can use artscontrol to connect the effect to a sound
126
player and observe the results.
130
This implements a simple flanger effect (it doesn't appear
131
to work yet, though).
135
This structure combines the two channels from a bus into
136
one, passes it though the Moog VCF filter, and sends
137
it out the out_soundcard bus.
139
example_pitch_shift.arts
141
This structure passes the left channel of sound card data through the
142
Pitch Shift effect. Adjust the speed parameter to vary the effect.
146
This structure passes a white noise generator though an RC filter and
147
out to the sound card. By viewing the FFT Scope display in artscontrol
148
you can see how this varies from an unfiltered noise waveform.
150
example_sequence.arts
152
This demonstrates the Sequence module by playing a sequence of notes.
154
example_shelve_cutoff.arts
156
This structure passes a white noise generator though a Shelve Cutoff
157
filter and out to the sound card. By viewing the FFT Scope display in
158
artscontrol you can see how this varies from an unfiltered noise
161
example_equalizer.arts
163
This demonstrates the Std_Equalizer module. It boosts the low and high
168
This demonstrates the Tremolo effect. It modulates the left and right
169
channels using a 10 Hz tremolo.
173
This example mixes 440 and 880 Hz sine waves using a cross fader.
174
Adjust the value of the cross fader's percentage input from -1 to 1 to
175
control the mixing of the two signals.
179
This illustrates the Pscale module (I'm not sure if this is a
182
example_play_wav.arts
184
This illustrates the Play Wave module. You will need to
185
enter the full path to a .wav file as the filename
188
example_multi_add.arts
190
This shows the Multi Add module which accepts any number of inputs. It
191
sums three Data modules which produce inputs of 1, 2, and 3, and
192
displays the result 6.
197
instrument_flexible_slide.arts
199
instrument_flexible_slide_GUI.arts
201
instrument_fm_horn.arts
203
instrument_full_square.arts
205
instrument_moog_vcf_tune.arts
207
instrument_moog_vcf_tune_GUI.arts
209
instrument_neworgan.arts
211
instrument_nokind.arts
213
instrument_organ2.arts
215
instrument_simple_sin.arts
217
instrument_simple_square.arts
219
instrument_simple_tri.arts
221
instrument_slide.arts
223
instrument_slide1.arts
225
instrument_square.arts
234
effect_delay_alone.arts
236
effect_flanger_alone.arts
241
template_Empty_Structure.arts
243
template_Instrument.arts
245
template_Instrument_GUI.arts
247
template_Mixer_Element.arts
252
mixer_element_simple.arts
254
mixer_element_eq.arts
256
mixer_element_eqfx.arts