Beat Mangler X is an automatic splice and stutter instrument that generates variations of a looped sample. This instrument is a descendant of the beat mangler Jean-Luc and I designed back in 2007. We’ve created several versions since, with today’s example having a reduced set of features compared to its ancestors. It supports random splicing, stereo stuttering and splice enveloping. The randomness of the instrument is controlled in the score; The user sets the odds that a random splice or stutter will occur. Though it shares many qualities of the built-in opcodes bbcutm and bbcuts, it definitely has its own personality. Since it is also coded in Csound, the internals of the instrument are exposed, and can easily be modified. For example, adding random pitch control.
There are two main principles used to drive the mangler. 1) Using a phasor to read through a stored loop in memory. 2) Using random for musical purposes. These will be covered this week as we continue with more synthesizer fundamentals tutorials.
Download beat_mangler_x.csd here.
For the source material of the audio example, we used the infamous Amen Break, “a brief drum solo performed in 1969 by Gregory Cylvester “G. C.” Coleman in the song “Amen, Brother” performed by the 1960s funk and soul outfit The Winstons.” You can acquire the loop in Step 1 of the Audio Tuts article Make a Crazy Drum and Bass Breakbeat by Slicing and Dicing in FL Studio. The loop itself has a fascinating history, which the following video makes apparent:
[youtube]http://www.youtube.com/watch?v=5SaFTm2bcac&feature=player_embedded [/youtube]
If you want to play with the instrument, which I highly recommend, try modifying the csd file in the following ways and see how far you can get: Load in a different loop, change the tempo, and play with the various p-fields. And of course, ask questions if you have any.
Very cool
Pingback: The Csound Blog » Random
Pingback: The Csound Blog » diskin2
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.10 (double samples) Feb 5 2010
libsndfile-1.0.21
UnifiedCSD: /home/g/gist608940-18c006e792cfadebe0e8250680cc1e7518c25637/beat_mangler_x.csd
STARTING FILE
Creating orchestra
Creating score
orchname: /tmp/filekSUw9E.orc
scorename: /tmp/file1uRBG8.sco
rtaudio: PortAudio module enabled … using blocking interface
rtmidi: PortMIDI module enabled
orch compiler:
Macro definition for loop_left
Macro definition for loop_right
119 lines read
instr 1
error: no legal opcode, line 35:
gibit filebit gS_sample
instr 2
1 syntax errors in orchestra. compilation invalid
Compiler errors:
–> error: no legal opcode, line 35:
:(
@tehk The filebit opcode was added to Csound in 5.11. If you upgrade, Beat Mangler X should work.