| 1 | |
| 2 | <refentry id="bbcuts"> |
| 3 | <indexterm id="IndexBbcuts"><primary>bbcuts</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>bbcuts</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>bbcuts</refname> |
| 13 | <refpurpose> |
| 14 | Generates breakbeat-style cut-ups of a stereo audio stream. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | The BreakBeat Cutter automatically generates cut-ups of a source audio stream in the style of drum and bass/jungle breakbeat manipulations. There are two versions, for mono (<emphasis>bbcutm</emphasis>) or stereo (<emphasis>bbcuts</emphasis>) sources. Whilst originally based on breakbeat cutting, the opcode can be applied to any type of source audio. |
| 22 | </para> |
| 23 | |
| 24 | <para> |
| 25 | The prototypical cut sequence favoured over one bar with eighth note subdivisions would be |
| 26 | |
| 27 | <literallayout> |
| 28 | 3+ 3R + 2 |
| 29 | </literallayout> |
| 30 | |
| 31 | where we take a 3 unit block from the source's start, repeat it, then 2 units from the 7th and 8th eighth notes of the source. |
| 32 | </para> |
| 33 | |
| 34 | <para> |
| 35 | We talk of rendering phrases (a sequence of cuts before reaching a new phrase at the beginning of a bar) and units (as subdivision th notes). |
| 36 | </para> |
| 37 | |
| 38 | <para> |
| 39 | The opcode comes most alive when multiple synchronised versions are used simultaneously. |
| 40 | </para> |
| 41 | </refsect1> |
| 42 | |
| 43 | <refsect1> |
| 44 | <title>Syntax</title> |
| 45 | <synopsis>a1,a2 <command>bbcuts</command> asource1, asource2, ibps, isubdiv, ibarlength, iphrasebars, \ |
| 46 | inumrepeats [, istutterspeed] [, istutterchance] [, ienvchoice]</synopsis> |
| 47 | </refsect1> |
| 48 | |
| 49 | <refsect1> |
| 50 | <title>Initialization</title> |
| 51 | <para> |
| 52 | <emphasis>ibps</emphasis> -- Tempo to cut at, in beats per second. |
| 53 | </para> |
| 54 | |
| 55 | <para> |
| 56 | <emphasis>isubdiv</emphasis> -- Subdivisions unit, for a bar. So 8 is eighth notes (of a 4/4 bar). |
| 57 | </para> |
| 58 | |
| 59 | <para> |
| 60 | <emphasis>ibarlength</emphasis> -- How many beats per bar. Set to 4 for default 4/4 bar behaviour. |
| 61 | </para> |
| 62 | |
| 63 | <para> |
| 64 | <emphasis>iphrasebars</emphasis> -- The output cuts are generated in phrases, each phrase is up to iphrasebars long |
| 65 | </para> |
| 66 | |
| 67 | <para> |
| 68 | <emphasis>inumrepeats</emphasis> -- In normal use the algorithm would allow up to one additional repeat of a given cut at a time. This parameter allows that to be changed. Value 1 is normal- up to one extra repeat. 0 would avoid repeating, and you would always get back the original source except for enveloping and stuttering. |
| 69 | </para> |
| 70 | |
| 71 | <para> |
| 72 | <emphasis>istutterspeed</emphasis> -- (optional, default=1) The stutter can be an integer multiple of the subdivision speed. For instance, if subdiv is 8 (quavers) and stutterspeed is 2, then the stutter is in semiquavers (sixteenth notes= subdiv 16). The default is 1. |
| 73 | </para> |
| 74 | |
| 75 | <para> |
| 76 | <emphasis>istutterchance</emphasis> -- (optional, default=0) The tail of a phrase has this chance of becoming a single repeating one unit cell stutter (0.0 to 1.0). The default is 0. |
| 77 | </para> |
| 78 | |
| 79 | <para> |
| 80 | <emphasis>ienvchoice</emphasis> -- (optional, default=1) choose 1 for on (exponential envelope for cut grains) or 0 for off. Off will cause clicking, but may give good noisy results, especially for percussive sources. The default is 1, on. |
| 81 | </para> |
| 82 | </refsect1> |
| 83 | |
| 84 | <refsect1> |
| 85 | <title>Performance</title> |
| 86 | <para> |
| 87 | <emphasis>asource</emphasis> -- The audio signal to be cut up. This version runs in real-time without knowledge of future audio. |
| 88 | </para> |
| 89 | </refsect1> |
| 90 | |
| 91 | <refsect1> |
| 92 | <title>Examples</title> |
| 93 | <para> |
| 94 | Here is an example of the bbcuts opcode. It uses the file <ulink url="examples/bbcuts.csd"><citetitle>bbcuts.csd</citetitle></ulink>. |
| 95 | |
| 96 | <example> |
| 97 | <title>Example of the bbcuts opcode.</title> |
| 98 | |
| 99 | |
| 100 | |
| 101 | <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para> |
| 102 | <xi:include href="examples-xml/bbcuts.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 103 | </example> |
| 104 | </para> |
| 105 | </refsect1> |
| 106 | |
| 107 | <refsect1> |
| 108 | <title>See also</title> |
| 109 | <para><link linkend="SiggenSample"><citetitle>Sample Playback</citetitle></link></para> |
| 110 | </refsect1> |
| 111 | |
| 112 | <refsect1> |
| 113 | <title>Credits</title> |
| 114 | <para> |
| 115 | <simplelist> |
| 116 | <member>Author: Nick Collins</member> |
| 117 | <member>London</member> |
| 118 | <member>August 2001</member> |
| 119 | </simplelist> |
| 120 | </para> |
| 121 | <para>New in version 4.13</para> |
| 122 | </refsect1> |
| 123 | </refentry> |