Make available for gh
parent
ed6550bf6f
commit
eeba16ccca
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lmms-project>
|
||||||
|
<lmms-project creator="LMMS" version="21" type="instrumenttracksettings" creatorversion="1.3.0-alpha.1.144+g3d7ef9fa4">
|
||||||
|
<head/>
|
||||||
|
<instrumenttracksettings name="latin_brass01" muted="0" solo="0" type="0" mutedBeforeSolo="0">
|
||||||
|
<instrumenttrack basenote="69" vol="100" fxch="0" enablecc="0" lastkey="127" range_import="1" pitchrange="33" pitch="-1216" firstkey="0" keymap="0" enabled="0" pan="0" usemasterpitch="1" scale="0">
|
||||||
|
<midicontrollers cc95="0" cc120="0" cc84="0" cc102="0" cc18="0" cc61="0" cc56="0" cc1="0" cc118="0" cc47="0" cc23="0" cc87="0" cc38="0" cc5="0" cc20="0" cc19="0" cc115="0" cc41="0" cc123="0" cc34="0" cc26="0" cc65="0" cc126="0" cc49="0" cc68="0" cc42="0" cc119="0" cc15="0" cc9="0" cc53="0" cc0="0" cc57="0" cc44="0" cc31="0" cc55="0" cc33="0" cc50="0" cc4="0" cc97="0" cc51="0" cc83="0" cc114="0" cc14="0" cc39="0" cc66="0" cc82="0" cc13="0" cc103="0" cc12="0" cc86="0" cc111="0" cc80="0" cc121="0" cc37="0" cc25="0" cc22="0" cc67="0" cc72="0" cc45="0" cc58="0" cc69="0" cc75="0" cc8="0" cc11="0" cc27="0" cc112="0" cc100="0" cc124="0" cc125="0" cc59="0" cc108="0" cc109="0" cc43="0" cc92="0" cc30="0" cc77="0" cc24="0" cc113="0" cc127="0" cc46="0" cc81="0" cc88="0" cc122="0" cc3="0" cc16="0" cc73="0" cc2="0" cc110="0" cc52="0" cc21="0" cc99="0" cc63="0" cc62="0" cc116="0" cc35="0" cc74="0" cc93="0" cc117="0" cc76="0" cc107="0" cc98="0" cc64="0" cc10="0" cc79="0" cc17="0" cc71="0" cc94="0" cc70="0" cc7="0" cc40="0" cc104="0" cc36="0" cc105="0" cc29="0" cc89="0" cc28="0" cc6="0" cc60="0" cc32="0" cc85="0" cc54="0" cc78="0" cc48="0" cc91="0" cc106="0" cc90="0" cc96="0" cc101="0"/>
|
||||||
|
<instrument name="audiofileprocessor">
|
||||||
|
<audiofileprocessor lframe="0.19800021" eframe="0.2030002" sframe="0.098999999" src="factorysample:latin/latin_brass01.ogg" looped="0" reversed="0" amp="476" stutter="0" interp="1">
|
||||||
|
<key/>
|
||||||
|
</audiofileprocessor>
|
||||||
|
</instrument>
|
||||||
|
<eldata fcut="14000" fres="0.5" ftype="0" fwet="0">
|
||||||
|
<elvol hold="0.5" lspd="0.1" x100="0" sustain="0.5" ctlenvamt="0" pdel="0" lpdel="0" latt="0" amt="0" lspd_denominator="4" lspd_syncmode="0" att="0" lspd_numerator="4" userwavefile="" dec="0.5" lamt="0" lshp="0" rel="0.1"/>
|
||||||
|
<elcut hold="0.5" lspd="0.1" x100="0" sustain="0.5" ctlenvamt="0" pdel="0" lpdel="0" latt="0" amt="0" lspd_denominator="4" lspd_syncmode="0" att="0" lspd_numerator="4" userwavefile="" dec="0.5" lamt="0" lshp="0" rel="0.1"/>
|
||||||
|
<elres hold="0.5" lspd="0.1" x100="0" sustain="0.5" ctlenvamt="0" pdel="0" lpdel="0" latt="0" amt="0" lspd_denominator="4" lspd_syncmode="0" att="0" lspd_numerator="4" userwavefile="" dec="0.5" lamt="0" lshp="0" rel="0.1"/>
|
||||||
|
</eldata>
|
||||||
|
<chordcreator chordrange="1" chord-enabled="0" chord="0"/>
|
||||||
|
<arpeggiator arprange="1" arpgate="100" arprepeats="1" arpcycle="0" arpmode="0" arpskip="0" arp-enabled="0" arptime_denominator="4" arptime_numerator="4" arptime="200" arp="0" arpmiss="0" arptime_syncmode="0" arpdir="0"/>
|
||||||
|
<fxchain numofeffects="0" enabled="0"/>
|
||||||
|
</instrumenttrack>
|
||||||
|
</instrumenttracksettings>
|
||||||
|
</lmms-project>
|
||||||
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lmms-project>
|
||||||
|
<lmms-project version="21" type="instrumenttracksettings" creatorversion="1.3.0-alpha.1.144+g3d7ef9fa4" creator="LMMS">
|
||||||
|
<head/>
|
||||||
|
<instrumenttracksettings mutedBeforeSolo="0" name="LB302" type="0" solo="0" muted="0">
|
||||||
|
<instrumenttrack basenote="69" lastkey="127" pitchrange="2" usemasterpitch="1" scale="0" keymap="0" pan="0" fxch="1" range_import="1" vol="42.400002" firstkey="0" pitch="138" enabled="0" enablecc="0">
|
||||||
|
<midicontrollers cc126="0" cc89="0" cc92="0" cc19="0" cc45="0" cc104="0" cc53="0" cc27="0" cc66="0" cc64="0" cc48="0" cc73="0" cc75="0" cc107="0" cc46="0" cc90="0" cc24="0" cc81="0" cc82="0" cc1="0" cc37="0" cc78="0" cc71="0" cc87="0" cc50="0" cc16="0" cc123="0" cc117="0" cc4="0" cc43="0" cc61="0" cc122="0" cc109="0" cc85="0" cc34="0" cc67="0" cc101="0" cc115="0" cc0="0" cc96="0" cc29="0" cc9="0" cc55="0" cc103="0" cc47="0" cc10="0" cc62="0" cc8="0" cc35="0" cc127="0" cc14="0" cc5="0" cc31="0" cc65="0" cc36="0" cc91="0" cc84="0" cc57="0" cc56="0" cc52="0" cc3="0" cc18="0" cc120="0" cc30="0" cc86="0" cc121="0" cc74="0" cc25="0" cc83="0" cc99="0" cc111="0" cc49="0" cc6="0" cc39="0" cc38="0" cc58="0" cc13="0" cc72="0" cc80="0" cc93="0" cc105="0" cc60="0" cc28="0" cc97="0" cc26="0" cc63="0" cc108="0" cc21="0" cc124="0" cc100="0" cc110="0" cc116="0" cc7="0" cc119="0" cc125="0" cc41="0" cc15="0" cc98="0" cc40="0" cc17="0" cc22="0" cc70="0" cc77="0" cc12="0" cc59="0" cc106="0" cc68="0" cc51="0" cc42="0" cc94="0" cc23="0" cc11="0" cc118="0" cc113="0" cc33="0" cc112="0" cc44="0" cc69="0" cc114="0" cc76="0" cc54="0" cc20="0" cc2="0" cc79="0" cc95="0" cc88="0" cc102="0" cc32="0"/>
|
||||||
|
<instrument name="lb302">
|
||||||
|
<lb302 vcf_mod="1" slide="0" dead="0" vcf_dec="1" vcf_cut="0.32499999" db24="0" shape="10" dist="0.039999999" vcf_res="1.25" slide_dec="1">
|
||||||
|
<key/>
|
||||||
|
</lb302>
|
||||||
|
</instrument>
|
||||||
|
<eldata ftype="0" fres="0.5" fwet="0" fcut="14000">
|
||||||
|
<elvol lspd_syncmode="0" ctlenvamt="0" att="0" dec="0.5" lshp="0" userwavefile="" lspd="0.1" hold="0.5" amt="0" lpdel="0" rel="0.1" sustain="0.5" lspd_numerator="4" lamt="0" pdel="0" x100="0" lspd_denominator="4" latt="0"/>
|
||||||
|
<elcut lspd_syncmode="0" ctlenvamt="0" att="0" dec="0.5" lshp="0" userwavefile="" lspd="0.1" hold="0.5" amt="0" lpdel="0" rel="0.1" sustain="0.5" lspd_numerator="4" lamt="0" pdel="0" x100="0" lspd_denominator="4" latt="0"/>
|
||||||
|
<elres lspd_syncmode="0" ctlenvamt="0" att="0" dec="0.5" lshp="0" userwavefile="" lspd="0.1" hold="0.5" amt="0" lpdel="0" rel="0.1" sustain="0.5" lspd_numerator="4" lamt="0" pdel="0" x100="0" lspd_denominator="4" latt="0"/>
|
||||||
|
</eldata>
|
||||||
|
<chordcreator chordrange="1" chord-enabled="0" chord="0"/>
|
||||||
|
<arpeggiator arpmode="0" arpmiss="0" arpdir="0" arp-enabled="0" arprange="1" arp="0" arprepeats="1" arpcycle="0" arptime="200" arpskip="0" arptime_syncmode="0" arptime_denominator="4" arpgate="100" arptime_numerator="4"/>
|
||||||
|
<fxchain numofeffects="1" enabled="1">
|
||||||
|
<effect autoquit_numerator="4" name="lv2effect" autoquit="1" on="1" autoquit_denominator="4" autoquit_syncmode="0" wet="0.38999999" gate="0">
|
||||||
|
<lv2controls>
|
||||||
|
<models type="1" unused_bw="0" damp="83" fb="31.92" delay="24" bw="20" lpf="112.68" time="63" hpf="5" size="64" unused_er="0"/>
|
||||||
|
</lv2controls>
|
||||||
|
<key>
|
||||||
|
<attribute name="uri" value="http://zynaddsubfx.sourceforge.net/fx#Reverb"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
</fxchain>
|
||||||
|
</instrumenttrack>
|
||||||
|
</instrumenttracksettings>
|
||||||
|
</lmms-project>
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lmms-project>
|
||||||
|
<lmms-project version="21" creator="LMMS" creatorversion="1.3.0-alpha.1.144+g3d7ef9fa4" type="instrumenttracksettings">
|
||||||
|
<head/>
|
||||||
|
<instrumenttracksettings name="Storage" muted="0" solo="0" mutedBeforeSolo="0" type="0">
|
||||||
|
<instrumenttrack lastkey="127" pitch="-1532" pitchrange="33" fxch="0" scale="0" enabled="0" pan="0" basenote="69" keymap="0" usemasterpitch="1" range_import="1" firstkey="0" enablecc="0" vol="20">
|
||||||
|
<midicontrollers cc35="0" cc121="0" cc97="0" cc55="0" cc72="0" cc25="0" cc3="0" cc14="0" cc78="0" cc21="0" cc16="0" cc100="0" cc105="0" cc82="0" cc1="0" cc83="0" cc84="0" cc126="0" cc40="0" cc64="0" cc113="0" cc44="0" cc69="0" cc6="0" cc115="0" cc92="0" cc42="0" cc116="0" cc12="0" cc34="0" cc112="0" cc66="0" cc76="0" cc36="0" cc15="0" cc56="0" cc63="0" cc81="0" cc86="0" cc125="0" cc80="0" cc114="0" cc8="0" cc19="0" cc94="0" cc31="0" cc88="0" cc26="0" cc33="0" cc41="0" cc47="0" cc89="0" cc93="0" cc70="0" cc13="0" cc106="0" cc79="0" cc48="0" cc10="0" cc110="0" cc20="0" cc51="0" cc54="0" cc68="0" cc95="0" cc23="0" cc91="0" cc73="0" cc99="0" cc45="0" cc50="0" cc57="0" cc9="0" cc61="0" cc109="0" cc111="0" cc58="0" cc77="0" cc59="0" cc30="0" cc38="0" cc118="0" cc5="0" cc17="0" cc124="0" cc53="0" cc18="0" cc127="0" cc11="0" cc7="0" cc27="0" cc120="0" cc49="0" cc22="0" cc108="0" cc90="0" cc43="0" cc96="0" cc37="0" cc98="0" cc87="0" cc102="0" cc123="0" cc119="0" cc52="0" cc71="0" cc104="0" cc107="0" cc32="0" cc60="0" cc4="0" cc122="0" cc2="0" cc65="0" cc28="0" cc62="0" cc29="0" cc46="0" cc67="0" cc103="0" cc0="0" cc39="0" cc117="0" cc75="0" cc24="0" cc74="0" cc101="0" cc85="0"/>
|
||||||
|
<instrument name="monstro">
|
||||||
|
<monstro p3e1="0" v3l1="0" o1crs="0" o2spo="0" l1phs="0" o3wav1="0" v1l1="0" v2e1="0" o3pan="0" e2rel_syncmode="0" s3e1="0" o3vol="33" e1att_denominator="4" s3l1="0" o2wav="0" f1e2="0" v1e2="0" l2phs="0" e2hol_syncmode="0" o1ssr="0" f3e1="0" e2hol="0" o3wav2="0" o1ftl="0" l1rat_numerator="4" l2rat_denominator="4" e1hol_denominator="4" e2dec_numerator="4" o3crs="0" v2l2="0" o1ftr="0" e2hol_denominator="4" o1ssf="0" p3e2="0" w1e1="0" f3l1="0" e1att="0" o1pw="50" e2dec_denominator="4" e2rel="0" l1att_denominator="4" o2ftr="0" w1l2="0" e2sus="1" f2e2="0" p3l1="0" e1dec_syncmode="0" l2wav="0" l2rat_numerator="4" o1pan="0" o3syn="0" o3sub="0" f1l1="0" p1l1="0" l1att="0" e1dec_numerator="4" e2pre_denominator="4" e1pre_numerator="4" e2rel_numerator="4" p1e1="0" e1hol="0" e1rel="0" f2e1="0" o2pan="0" e2att_syncmode="0" w1l1="0" e1att_numerator="4" v1e1="0" v2l1="0" p2e1="0" e2rel_denominator="4" o2synr="0" l2att_syncmode="0" o1vol="33" l1att_syncmode="0" l2att_denominator="4" e2pre_syncmode="0" w1e2="0" o3spo="0" e2dec_syncmode="0" e1slo="0" v1l2="0" v3l2="0" e1rel_numerator="4" p2l1="0" l1rat="1" l2rat_syncmode="0" e2dec="0" l2rat="1" l1att_numerator="4" v2e2="0" l1rat_denominator="4" e2pre="0" l2att="0" o3synr="0" e2hol_numerator="4" f1l2="0" o1spo="0" l1rat_syncmode="0" e1rel_syncmode="0" f3l2="0" e2pre_numerator="4" e2att_denominator="4" o2vol="33" l1wav="0" v3e2="0" e2att="0" f3e2="0" o2ftl="0" p3l2="0" o23mo="0" e1rel_denominator="4" p1e2="0" s3e2="0" p2l2="0" f1e1="0" s3l2="0" l2att_numerator="4" p2e2="0" e2slo="0" o2syn="0" e1dec="0" e1att_syncmode="0" o2crs="0" e1pre_syncmode="0" p1l2="0" e1hol_numerator="4" e1pre_denominator="4" v3e1="0" e2att_numerator="4" f2l1="0" e1pre="0" e1hol_syncmode="0" e1dec_denominator="4" e1sus="1" f2l2="0">
|
||||||
|
<key/>
|
||||||
|
</monstro>
|
||||||
|
</instrument>
|
||||||
|
<eldata fwet="0" fres="0.5" ftype="0" fcut="14000">
|
||||||
|
<elvol lspd_syncmode="0" amt="1" lspd_numerator="4" lamt="0" lpdel="0" rel="0.1" lspd="0.1" pdel="0" hold="0.5" ctlenvamt="0" lspd_denominator="4" userwavefile="" x100="0" att="0" dec="0.5" sustain="0.5" latt="0" lshp="0"/>
|
||||||
|
<elcut lspd_syncmode="0" amt="0" lspd_numerator="4" lamt="0" lpdel="0" rel="0.1" lspd="0.1" pdel="0" hold="0.5" ctlenvamt="0" lspd_denominator="4" userwavefile="" x100="0" att="0" dec="0.5" sustain="0.5" latt="0" lshp="0"/>
|
||||||
|
<elres lspd_syncmode="0" amt="0" lspd_numerator="4" lamt="0" lpdel="0" rel="0.1" lspd="0.1" pdel="0" hold="0.5" ctlenvamt="0" lspd_denominator="4" userwavefile="" x100="0" att="0" dec="0.5" sustain="0.5" latt="0" lshp="0"/>
|
||||||
|
</eldata>
|
||||||
|
<chordcreator chord-enabled="0" chordrange="1" chord="0"/>
|
||||||
|
<arpeggiator arp-enabled="0" arpmode="0" arp="0" arprange="1" arptime_denominator="4" arpdir="0" arptime_syncmode="0" arpgate="100" arpskip="0" arptime_numerator="4" arptime="200" arprepeats="1" arpcycle="0" arpmiss="0"/>
|
||||||
|
<fxchain numofeffects="0" enabled="0"/>
|
||||||
|
</instrumenttrack>
|
||||||
|
</instrumenttracksettings>
|
||||||
|
</lmms-project>
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lmms-project>
|
||||||
|
<lmms-project version="1.0" type="instrumenttracksettings" creatorversion="1.2.2" creator="LMMS">
|
||||||
|
<head/>
|
||||||
|
<instrumenttracksettings muted="0" name="Nescaline" type="0" solo="1">
|
||||||
|
<instrumenttrack pitch="-1532" basenote="57" vol="64.8" fxch="0" pan="0" pitchrange="33" usemasterpitch="1">
|
||||||
|
<instrument name="nes">
|
||||||
|
<nes vol="0.58" envloop2="0" crs2="12" envlen4="0" envon1="1" envon2="1" sweep2="0" vibr="0" dc2="1" nmode4="0" swamt1="0" envon4="0" dc1="0" crs3="1" nq4="1" envlen2="0" nswp4="0" on2="1" nfrqmode4="0" envloop1="0" swrate2="0" on4="0" vol4="15" on3="0" sweep1="0" vol1="15" envlen1="3" crs1="0" swrate1="0" vol3="15" on1="1" vol2="15" swamt2="0" envloop4="0" nfreq4="0"/>
|
||||||
|
</instrument>
|
||||||
|
<eldata ftype="0" fcut="14000" fwet="0" fres="0.5">
|
||||||
|
<elvol userwavefile="" latt="0" att="0" lshp="0" dec="0.5" hold="0.5" ctlenvamt="0" sustain="0.5" lspd_denominator="4" rel="0.1" amt="1" lspd_syncmode="0" x100="0" lspd="0.1" lpdel="0" lspd_numerator="4" lamt="0" pdel="0"/>
|
||||||
|
<elcut userwavefile="" latt="0" att="0" lshp="0" dec="0.5" hold="0.5" ctlenvamt="0" sustain="0.5" lspd_denominator="4" rel="0.1" amt="0" lspd_syncmode="0" x100="0" lspd="0.1" lpdel="0" lspd_numerator="4" lamt="0" pdel="0"/>
|
||||||
|
<elres userwavefile="" latt="0" att="0" lshp="0" dec="0.5" hold="0.5" ctlenvamt="0" sustain="0.5" lspd_denominator="4" rel="0.1" amt="0" lspd_syncmode="0" x100="0" lspd="0.1" lpdel="0" lspd_numerator="4" lamt="0" pdel="0"/>
|
||||||
|
</eldata>
|
||||||
|
<chordcreator chord-enabled="0" chord="0" chordrange="1"/>
|
||||||
|
<arpeggiator arpskip="0" arpdir="0" arptime_denominator="4" arptime="200" arprange="1" arp="0" arpgate="100" arp-enabled="0" arpmiss="0" arpmode="0" arpcycle="0" arptime_syncmode="0" arptime_numerator="4"/>
|
||||||
|
<midiport inputchannel="0" inputcontroller="0" readable="0" basevelocity="63" outputchannel="1" fixedoutputvelocity="-1" writable="0" fixedinputvelocity="-1" outputcontroller="0" fixedoutputnote="-1" outputprogram="1"/>
|
||||||
|
<fxchain enabled="1" numofeffects="1">
|
||||||
|
<effect autoquit="1" on="1" name="ladspaeffect" autoquit_denominator="4" wet="1" autoquit_syncmode="0" autoquit_numerator="4" gate="0">
|
||||||
|
<ladspacontrols ports="4" link="1">
|
||||||
|
<port00 data_denominator="4" data_syncmode="0" data="248.75" data_numerator="4" link="1"/>
|
||||||
|
<port01 data="0.32875" link="1"/>
|
||||||
|
<port10 data_denominator="4" data_syncmode="0" data="248.75" data_numerator="4"/>
|
||||||
|
<port11 data="0.32875"/>
|
||||||
|
</ladspacontrols>
|
||||||
|
<key>
|
||||||
|
<attribute name="file" value="cmt"/>
|
||||||
|
<attribute name="plugin" value="delay_1s"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
</fxchain>
|
||||||
|
</instrumenttrack>
|
||||||
|
</instrumenttracksettings>
|
||||||
|
</lmms-project>
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lmms-project>
|
||||||
|
<lmms-project version="21" type="instrumenttracksettings" creatorversion="1.3.0-alpha.1.144+g3d7ef9fa4" creator="LMMS">
|
||||||
|
<head/>
|
||||||
|
<instrumenttracksettings type="0" name="Nescaline" mutedBeforeSolo="0" solo="0" muted="0">
|
||||||
|
<instrumenttrack keymap="0" vol="140" usemasterpitch="1" pitch="-1532" range_import="1" basenote="69" pan="-40" firstkey="0" lastkey="127" enablecc="0" enabled="0" fxch="0" pitchrange="33" scale="0">
|
||||||
|
<midicontrollers cc59="0" cc0="0" cc38="0" cc31="0" cc22="0" cc94="0" cc109="0" cc117="0" cc90="0" cc98="0" cc63="0" cc27="0" cc121="0" cc99="0" cc83="0" cc53="0" cc49="0" cc40="0" cc68="0" cc88="0" cc116="0" cc5="0" cc36="0" cc54="0" cc1="0" cc21="0" cc86="0" cc64="0" cc19="0" cc20="0" cc91="0" cc43="0" cc77="0" cc101="0" cc7="0" cc4="0" cc11="0" cc115="0" cc12="0" cc118="0" cc93="0" cc39="0" cc100="0" cc55="0" cc44="0" cc3="0" cc75="0" cc125="0" cc107="0" cc30="0" cc24="0" cc16="0" cc112="0" cc51="0" cc41="0" cc29="0" cc46="0" cc23="0" cc110="0" cc67="0" cc18="0" cc2="0" cc26="0" cc33="0" cc57="0" cc84="0" cc35="0" cc114="0" cc70="0" cc72="0" cc103="0" cc120="0" cc6="0" cc62="0" cc58="0" cc85="0" cc123="0" cc78="0" cc82="0" cc108="0" cc34="0" cc76="0" cc111="0" cc106="0" cc9="0" cc71="0" cc42="0" cc79="0" cc45="0" cc37="0" cc56="0" cc14="0" cc17="0" cc105="0" cc52="0" cc65="0" cc124="0" cc61="0" cc81="0" cc104="0" cc13="0" cc32="0" cc113="0" cc73="0" cc102="0" cc47="0" cc15="0" cc50="0" cc127="0" cc8="0" cc10="0" cc48="0" cc119="0" cc96="0" cc28="0" cc126="0" cc74="0" cc25="0" cc60="0" cc80="0" cc97="0" cc87="0" cc92="0" cc122="0" cc69="0" cc66="0" cc89="0" cc95="0"/>
|
||||||
|
<instrument name="nes">
|
||||||
|
<nes envlen4="0" vol="0.57999998" envloop4="0" crs1="0" swamt1="0" envloop1="0" envlen2="0" on2="1" nq4="1" sweep2="0" swrate1="0" envon2="1" on4="0" vol3="15" crs3="1" nmode4="0" nfreq4="0" nswp4="0" crs2="12" envlen1="3" envon1="1" dc1="0" dc2="1" sweep1="0" swamt2="0" swrate2="0" vibr="0" on1="1" envloop2="0" vol1="15" envon4="0" vol2="15" nfrqmode4="0" vol4="15" on3="0">
|
||||||
|
<key/>
|
||||||
|
</nes>
|
||||||
|
</instrument>
|
||||||
|
<eldata fwet="0" fcut="14000" fres="0.5" ftype="0">
|
||||||
|
<elvol lshp="0" x100="0" lspd="0.1" rel="0.1" ctlenvamt="0" lspd_syncmode="0" latt="0" dec="0.5" lamt="0" hold="0.5" lspd_denominator="4" lpdel="0" pdel="0" userwavefile="" att="0" sustain="0.5" amt="1" lspd_numerator="4"/>
|
||||||
|
<elcut lshp="0" x100="0" lspd="0.1" rel="0.1" ctlenvamt="0" lspd_syncmode="0" latt="0" dec="0.5" lamt="0" hold="0.5" lspd_denominator="4" lpdel="0" pdel="0" userwavefile="" att="0" sustain="0.5" amt="0" lspd_numerator="4"/>
|
||||||
|
<elres lshp="0" x100="0" lspd="0.1" rel="0.1" ctlenvamt="0" lspd_syncmode="0" latt="0" dec="0.5" lamt="0" hold="0.5" lspd_denominator="4" lpdel="0" pdel="0" userwavefile="" att="0" sustain="0.5" amt="0" lspd_numerator="4"/>
|
||||||
|
</eldata>
|
||||||
|
<chordcreator chord-enabled="0" chord="0" chordrange="1"/>
|
||||||
|
<arpeggiator arpmiss="0" arpcycle="0" arpgate="100" arp-enabled="0" arp="0" arptime_denominator="4" arpskip="0" arpdir="0" arptime_numerator="4" arptime="200" arpmode="0" arptime_syncmode="0" arprange="1" arprepeats="1"/>
|
||||||
|
<fxchain numofeffects="1" enabled="1">
|
||||||
|
<effect gate="0" on="1" autoquit_syncmode="0" name="ladspaeffect" wet="1" autoquit_numerator="4" autoquit="1" autoquit_denominator="4">
|
||||||
|
<ladspacontrols link="1" ports="4">
|
||||||
|
<port00 data_numerator="4" link="1" data_syncmode="0" data="248.75" data_denominator="4"/>
|
||||||
|
<port01 link="1" data="0.32875001"/>
|
||||||
|
<port10 data_numerator="4" data_syncmode="0" data="248.75" data_denominator="4"/>
|
||||||
|
<port11 data="0.32875001"/>
|
||||||
|
</ladspacontrols>
|
||||||
|
<key>
|
||||||
|
<attribute name="file" value="cmt"/>
|
||||||
|
<attribute name="plugin" value="delay_1s"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
</fxchain>
|
||||||
|
</instrumenttrack>
|
||||||
|
</instrumenttracksettings>
|
||||||
|
</lmms-project>
|
||||||
@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lmms-project>
|
||||||
|
<lmms-project creator="LMMS" version="21" creatorversion="1.3.0-alpha.1.144+g3d7ef9fa4" type="instrumenttracksettings">
|
||||||
|
<head/>
|
||||||
|
<instrumenttracksettings mutedBeforeSolo="0" muted="0" solo="0" type="0" name="SID">
|
||||||
|
<instrumenttrack fxch="2" basenote="69" vol="146.40001" scale="0" keymap="0" enabled="0" firstkey="0" pitchrange="2" pitch="-9" lastkey="127" usemasterpitch="1" range_import="1" enablecc="0" pan="0.78740156">
|
||||||
|
<midicontrollers cc31="0" cc83="0" cc42="0" cc49="0" cc103="0" cc70="0" cc88="0" cc29="0" cc60="0" cc72="0" cc63="0" cc105="0" cc115="0" cc126="0" cc122="0" cc4="0" cc77="0" cc67="0" cc76="0" cc37="0" cc11="0" cc52="0" cc120="0" cc123="0" cc34="0" cc111="0" cc112="0" cc22="0" cc51="0" cc80="0" cc45="0" cc38="0" cc0="0" cc86="0" cc17="0" cc10="0" cc74="0" cc23="0" cc93="0" cc50="0" cc64="0" cc13="0" cc3="0" cc113="0" cc15="0" cc59="0" cc79="0" cc8="0" cc18="0" cc1="0" cc96="0" cc21="0" cc7="0" cc20="0" cc85="0" cc104="0" cc25="0" cc82="0" cc24="0" cc43="0" cc58="0" cc44="0" cc40="0" cc84="0" cc121="0" cc26="0" cc98="0" cc90="0" cc94="0" cc12="0" cc33="0" cc92="0" cc71="0" cc101="0" cc118="0" cc28="0" cc16="0" cc100="0" cc2="0" cc32="0" cc55="0" cc65="0" cc27="0" cc57="0" cc62="0" cc107="0" cc41="0" cc125="0" cc109="0" cc124="0" cc47="0" cc9="0" cc36="0" cc69="0" cc108="0" cc54="0" cc19="0" cc89="0" cc73="0" cc114="0" cc102="0" cc97="0" cc46="0" cc30="0" cc61="0" cc81="0" cc95="0" cc6="0" cc87="0" cc5="0" cc119="0" cc99="0" cc66="0" cc75="0" cc116="0" cc56="0" cc48="0" cc35="0" cc91="0" cc68="0" cc117="0" cc127="0" cc110="0" cc78="0" cc39="0" cc53="0" cc106="0" cc14="0"/>
|
||||||
|
<instrument name="sid">
|
||||||
|
<sid pulsewidth1="2048" decay2="8" sustain0="15" attack0="8" ringmod1="0" filtered1="0" pulsewidth2="2048" waveform2="1" coarse2="0" sustain1="15" decay1="8" attack1="8" release0="8" sustain2="15" ringmod0="0" decay0="8" filterFC="1055" voice3Off="0" sync0="0" waveform1="1" filterResonance="15" test0="0" release2="8" sync1="0" volume="15" attack2="8" chipModel="1" coarse1="0" filterMode="2" waveform0="2" filtered2="0" release1="8" test2="0" test1="0" sync2="0" coarse0="0" pulsewidth0="2048" ringmod2="0" filtered0="0">
|
||||||
|
<key/>
|
||||||
|
</sid>
|
||||||
|
</instrument>
|
||||||
|
<eldata fcut="2688" ftype="6" fres="0.25" fwet="0">
|
||||||
|
<elvol lshp="2" latt="0.27600002" lspd_numerator="4" lamt="1" userwavefile="" dec="0.5" att="0" rel="0.1" x100="0" lpdel="0" sustain="0.5" hold="0.5" lspd_denominator="4" ctlenvamt="0" lspd_syncmode="0" pdel="0" lspd="0.133" amt="0"/>
|
||||||
|
<elcut lshp="0" latt="0" lspd_numerator="4" lamt="0" userwavefile="" dec="0.5" att="0" rel="0.1" x100="0" lpdel="0" sustain="0.5" hold="0.5" lspd_denominator="4" ctlenvamt="0" lspd_syncmode="0" pdel="0" lspd="0.1" amt="0"/>
|
||||||
|
<elres lshp="0" latt="0" lspd_numerator="4" lamt="0" userwavefile="" dec="0.5" att="0" rel="0.1" x100="0" lpdel="0" sustain="0.5" hold="0.5" lspd_denominator="4" ctlenvamt="0" lspd_syncmode="0" pdel="0" lspd="0.1" amt="0"/>
|
||||||
|
</eldata>
|
||||||
|
<chordcreator chord="0" chordrange="3" chord-enabled="0"/>
|
||||||
|
<arpeggiator arp-enabled="1" arpcycle="1" arptime_syncmode="0" arpgate="99" arprange="2" arptime_numerator="4" arpmode="0" arpdir="1" arprepeats="3" arpmiss="0" arptime_denominator="4" arptime="432" arp="0" arpskip="0"/>
|
||||||
|
<fxchain enabled="1" numofeffects="4">
|
||||||
|
<effect autoquit_denominator="4" on="1" autoquit_syncmode="0" autoquit="1" autoquit_numerator="4" wet="1" gate="0" name="lv2effect">
|
||||||
|
<lv2controls>
|
||||||
|
<models damp="83" time="63" unused_bw="0" unused_er="0" fb="0" bw="20" delay="24" hpf="5" lpf="85" type="1" size="64"/>
|
||||||
|
</lv2controls>
|
||||||
|
<key>
|
||||||
|
<attribute value="http://zynaddsubfx.sourceforge.net/fx#Reverb" name="uri"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
<effect autoquit_denominator="4" on="1" autoquit_syncmode="0" autoquit="1" autoquit_numerator="4" wet="1" gate="0" name="lv2effect">
|
||||||
|
<lv2controls>
|
||||||
|
<models lforand="0" fb="105" delay="25" lfofreq="38.399998" lrcross="127" lfotype="1" phase="9.1199999" depth="60" lfostereo="62"/>
|
||||||
|
</lv2controls>
|
||||||
|
<key>
|
||||||
|
<attribute value="http://zynaddsubfx.sourceforge.net/fx#AlienWah" name="uri"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
<effect autoquit_denominator="4" on="0" autoquit_syncmode="0" autoquit="1" autoquit_numerator="4" wet="1" gate="0" name="ladspaeffect">
|
||||||
|
<ladspacontrols ports="5">
|
||||||
|
<port00 data="1990"/>
|
||||||
|
<port01 data="33"/>
|
||||||
|
<port02 data="0"/>
|
||||||
|
<port03 data="0.0039999997"/>
|
||||||
|
<port04 data="1"/>
|
||||||
|
</ladspacontrols>
|
||||||
|
<key>
|
||||||
|
<attribute value="vynil_1905" name="file"/>
|
||||||
|
<attribute value="vynil" name="plugin"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
<effect autoquit_denominator="4" on="1" autoquit_syncmode="0" autoquit="1" autoquit_numerator="4" wet="1" gate="0" name="lv2effect">
|
||||||
|
<lv2controls>
|
||||||
|
<models lfo="1" on="1" stereo="180" level_in="1" overlap="0.75" voices="4" dry="0.5" amount="0.5" level_out="1" vphase="64">
|
||||||
|
<freq value="100" id="6555404" scale_type="log"/>
|
||||||
|
<freq2 value="5000" id="7001998" scale_type="log"/>
|
||||||
|
<min_delay value="5" id="3337685" scale_type="log"/>
|
||||||
|
<mod_depth value="6" id="625994" scale_type="log"/>
|
||||||
|
<mod_rate value="0.1" id="1535593" scale_type="log"/>
|
||||||
|
<q value="0.125" id="178958" scale_type="log"/>
|
||||||
|
</models>
|
||||||
|
</lv2controls>
|
||||||
|
<key>
|
||||||
|
<attribute value="http://calf.sourceforge.net/plugins/MultiChorus" name="uri"/>
|
||||||
|
</key>
|
||||||
|
</effect>
|
||||||
|
</fxchain>
|
||||||
|
</instrumenttrack>
|
||||||
|
</instrumenttracksettings>
|
||||||
|
</lmms-project>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
|||||||
|
One of my first SuperCollider tests
|
||||||
|
|
||||||
|
execute in this Order:
|
||||||
|
|
||||||
|
1. Synths and Patterns
|
||||||
|
2. GUI
|
||||||
|
|
||||||
|
You'll be able to start from the GUI
|
||||||
|
|
||||||
|
Comments:
|
||||||
|
Long code a lot of errors... but might give you an impression of handling patterns from a GUI.
|
||||||
|
Still, not everything works... so use it under your own risk.
|
||||||
|
Nowadays I wold do everythong dfferent, maybe more code-efficient ;-) but don't have time to correct all that.
|
||||||
|
|
||||||
|
Enjoy
|
||||||
@ -0,0 +1,495 @@
|
|||||||
|
/*
|
||||||
|
TO DO - 3. Teil (melodien, akkorde und SZ pausen!
|
||||||
|
GUI !!!
|
||||||
|
QC composer outputs
|
||||||
|
|
||||||
|
Snare sound!!!
|
||||||
|
Pattern beliebing auswŠhlen? nich []++[]++[]
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
/////////////////////////////SYNTHS///////////////////////////////////////////
|
||||||
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
SynthDef(\ping, { |out, freq=440, attack=0.001, release=1, amp=0.1, pan|
|
||||||
|
var snd;
|
||||||
|
snd = FSinOsc.ar(freq);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, release, 1, -20), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\peng, { |out, freq=440, attack=0.0001, release=1, amp=0.1, pan, modFreq=111, detune=2, rq=0.8|
|
||||||
|
var snd, mod;
|
||||||
|
mod = SinOsc.ar(modFreq);
|
||||||
|
snd = Saw.ar([freq, freq*Rand(1.45, 1.55)] + modFreq.range(detune.neg, detune)).sum;
|
||||||
|
snd = snd * mod;
|
||||||
|
snd = RHPF.ar(snd, freq/2, rq*2);
|
||||||
|
snd = RLPF.ar(snd, freq*2, rq/2);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, release, 1, -12), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\chord, { |out, freq=440, attack=0.2, sustain=0.2, decay=0.15, amp=0.05, pan, rq=0.25, gate=1|
|
||||||
|
var snd;
|
||||||
|
snd = Pulse.ar(freq + SinOsc.ar([Rand(0.8, 1.2), Rand(0.8, 1.2)]).range(-1,1), Rand(0.1, 0.49));
|
||||||
|
snd = snd * SinOsc.ar(Rand(6.0, 8.2)).range(0.8, 1.0);
|
||||||
|
snd = RLPF.ar(snd, freq, rq/4, 0.1);
|
||||||
|
snd = snd + RHPF.ar(snd, freq, rq*2, 0.075);
|
||||||
|
snd = snd + Blip.ar(freq, 3, 0.05);
|
||||||
|
// snd = snd * EnvGen.ar(Env.adsr(attack, decay, 0.3, sustain), gate, doneAction:2);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, sustain), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp * 2);
|
||||||
|
OffsetOut.ar(0, snd * amp / 2);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\pong, { |out, freq=440, attack=0.1, sustain=1, amp=0.1, pan|
|
||||||
|
var snd;
|
||||||
|
snd = Pulse.ar(freq, 0.1);
|
||||||
|
snd = LPF.ar(snd, freq*4);
|
||||||
|
snd = snd * 0.25 + RLPF.ar(snd, freq, 0.45);
|
||||||
|
snd = snd + RLPF.ar(snd, freq*1.5, 0.1);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, sustain, 1, -8), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
/////////////////////////////DRUMS//////////////////////////////////////////////
|
||||||
|
|
||||||
|
SynthDef(\kick, { |out, ffreq=80, attack=0, release=2, amp=0.1, pan|
|
||||||
|
var snd;
|
||||||
|
snd = SinOsc.ar([ffreq, ffreq*1.01, ffreq*1.03, ffreq*1.06, ffreq*1.1], 0, 0.5).sum;
|
||||||
|
snd = snd + PinkNoise.ar;
|
||||||
|
snd = RLPF.ar(snd, ffreq, 0.1);
|
||||||
|
snd = RLPF.ar(snd, ffreq*2, 0.2);
|
||||||
|
snd = RLPF.ar(snd, ffreq*3, 0.3);
|
||||||
|
snd = RLPF.ar(snd, ffreq*4, 0.4);
|
||||||
|
snd = RLPF.ar(snd, ffreq*5, 0.5);
|
||||||
|
snd = snd + LPF.ar(WhiteNoise.ar, ffreq*6);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, release, 1, -50), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\bass, { |out, freq=100, attack=0.1, release=2, amp=0.1, pan|
|
||||||
|
var snd;
|
||||||
|
snd = SinOsc.ar(XLine.kr(
|
||||||
|
[freq, freq*1.5, freq*2, freq*3],
|
||||||
|
[freq, freq*1.5, freq*2, freq*3]/4,
|
||||||
|
release/2,
|
||||||
|
0,
|
||||||
|
0.5)
|
||||||
|
).sum;
|
||||||
|
snd = RLPF.ar(snd, freq*2/3, 0.1);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, release, 2, -10), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\snare, { |out, ffreq=100, rq=0.5, attack=0, release=0.5, amp=0.1, pan|
|
||||||
|
var snd;
|
||||||
|
snd = WhiteNoise.ar();
|
||||||
|
snd = HPF.ar(snd, ffreq);
|
||||||
|
snd = snd + HPF.ar(snd, ffreq*1.345);
|
||||||
|
snd = snd + HPF.ar(snd, ffreq*2.4567);
|
||||||
|
snd = snd + HPF.ar(snd, ffreq*4.345);
|
||||||
|
snd = LPF.ar(snd, 2000);
|
||||||
|
snd = RHPF.ar(snd, ffreq*2, rq) * 0.2;
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, release, 1, -10), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\hihat, { |out, ffreq=200, rq=0.5, attack=0, release=0.025, amp=0.1, pan|
|
||||||
|
var snd;
|
||||||
|
snd = WhiteNoise.ar();
|
||||||
|
snd = HPF.ar(snd, ffreq);
|
||||||
|
snd = RHPF.ar(snd, ffreq*2, rq);
|
||||||
|
snd = snd * EnvGen.ar(Env.perc(attack, release, 1, -10), doneAction:2);
|
||||||
|
snd = Pan2.ar(snd, pan);
|
||||||
|
OffsetOut.ar(out, snd * amp * 2);
|
||||||
|
OffsetOut.ar(0, snd * amp);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//////////////////////////FX////////////////////////////////////////////////
|
||||||
|
|
||||||
|
SynthDef(\reverbz, { |in=20, out=100, amp=0.1, mix=0.5, rmix=1, room=0.8, damp=0.8|
|
||||||
|
var snd;
|
||||||
|
snd = In.ar(in, 2);
|
||||||
|
snd = FreeVerb2.ar(snd[0], snd[1], rmix, room, damp);
|
||||||
|
XOut.ar(out, mix, snd);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\combzA, { |in=22, out=100, amp=0.1, mix=0.5, maxdelay=5, delay=0.05, decay=0.6|
|
||||||
|
var snd;
|
||||||
|
snd = In.ar(in, 2);
|
||||||
|
snd = CombN.ar(snd, maxdelay, delay, decay);
|
||||||
|
XOut.ar(out, mix, snd);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\combzB, { |in=24, out=100, amp=0.1, mix=0.5, maxdelay=5, delay=0.1, decay=1|
|
||||||
|
var snd;
|
||||||
|
snd = In.ar(in, 2);
|
||||||
|
snd = CombN.ar(snd, maxdelay, delay, decay);
|
||||||
|
XOut.ar(out, mix, snd);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\combzC, { |in=26, out=100, amp=0.1, mix=0.5, maxdelay=5, delay=0.018, decay=0.35|
|
||||||
|
var snd;
|
||||||
|
snd = In.ar(in, 2);
|
||||||
|
snd = CombN.ar(snd, maxdelay, delay, decay);
|
||||||
|
XOut.ar(out, mix, snd);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\mixer, { |in=100, out, amp=0.1, mix=0.5, maxdelay=5, delay=0.111, decay=2|
|
||||||
|
var snd;
|
||||||
|
snd = In.ar(in, 2) * 2;
|
||||||
|
XOut.ar(out, mix, snd);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
SynthDef(\compressor, { |in=0, out, amp=0.1, thresh=0.8, slopeB=1, slopeA=0.1, clampT=0.01, relaxT=0.5|
|
||||||
|
var snd;
|
||||||
|
snd = In.ar(in, 2);
|
||||||
|
snd = Compander.ar(snd, snd, thresh, slopeB, slopeA, clampT, relaxT);
|
||||||
|
ReplaceOut.ar(out, snd);
|
||||||
|
}).store;
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////TESTS////////////////////////////////////////////
|
||||||
|
/*
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
///////////////////////////SCORE///////////////////////////////////////////
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
/*
|
||||||
|
OUT 20/21 -> reverbz
|
||||||
|
OUT 22/23 -> combz (delay) short
|
||||||
|
OUT 24/25 -> combz (delay) long
|
||||||
|
OUT 26/27 -> combz (delay) xtra short
|
||||||
|
|
||||||
|
OUT 100/101 -> mixer
|
||||||
|
*/
|
||||||
|
|
||||||
|
q = q ? ();
|
||||||
|
q.fx = ();
|
||||||
|
q.ping = ();
|
||||||
|
q.pong = ();
|
||||||
|
q.chord = ();
|
||||||
|
q.chords = ();
|
||||||
|
q.buttons = ();
|
||||||
|
|
||||||
|
|
||||||
|
q.fx.reverb = Synth.tail(s, \reverbz);
|
||||||
|
q.fx.combA = Synth.tail(s, \combzA);
|
||||||
|
q.fx.combB = Synth.tail(s, \combzB);
|
||||||
|
q.fx.combC = Synth.tail(s, \combzC);
|
||||||
|
q.mixer = Synth.tail(s, \mixer);
|
||||||
|
q.compressor = Synth.tail(s, \compressor);
|
||||||
|
q.pdef = [ Pdef(\chord), Pdef(\ping), Pdef(\peng) ];
|
||||||
|
q.scale = [ 0,2,4,5,7,9,11 ]-2;
|
||||||
|
|
||||||
|
//---Pings
|
||||||
|
|
||||||
|
q.ping.melodyA = [3,5,7,8, 3,5,7,8, 2,4,6,10, 3,4,6,10];
|
||||||
|
q.ping.melodyB = [5,4,3,1, 0,1,0,1,0, -2,-3]+7;
|
||||||
|
q.ping.melodyC = [-3,-1,3,1]+7;
|
||||||
|
q.ping.melodyD = [0,-2]+7;
|
||||||
|
|
||||||
|
q.ping.rhythmA = 2!16;
|
||||||
|
q.ping.rhythmB = [2,2,2,10, 1,1,1,1,2, 1,9];
|
||||||
|
q.ping.rhythmC = [2,2,2,10];
|
||||||
|
q.ping.rhythmD = [7, 9];
|
||||||
|
|
||||||
|
//---Harmonies
|
||||||
|
//---First Part
|
||||||
|
|
||||||
|
q.chords[0] = [1,8];
|
||||||
|
q.chords[1] = [5,3];
|
||||||
|
q.chords[2] = [1,6,4];
|
||||||
|
q.chords[3] = [4,8];
|
||||||
|
q.chords[4] = [5,7];
|
||||||
|
q.chords[5] = [6,10];
|
||||||
|
|
||||||
|
//---Second Part
|
||||||
|
|
||||||
|
q.chords[6] = [1,3,5];
|
||||||
|
q.chords[7] = [-3,1];
|
||||||
|
q.chords[8] = [-2,1,3];
|
||||||
|
q.chords[9] = [-3,-1];
|
||||||
|
|
||||||
|
q.chords[10] = [-3,-1,2];
|
||||||
|
q.chords[11] = [-2,1];
|
||||||
|
q.chords[12] = [-3,1];
|
||||||
|
q.chords[13] = [-5,-2];
|
||||||
|
|
||||||
|
//---Third Part
|
||||||
|
|
||||||
|
q.chords[14] = [6];
|
||||||
|
q.chords[15] = [5];
|
||||||
|
q.chords[16] = [8];
|
||||||
|
q.chords[17] = [3];
|
||||||
|
|
||||||
|
q.chords[18] = [6];
|
||||||
|
q.chords[19] = [5];
|
||||||
|
q.chords[20] = [8];
|
||||||
|
q.chords[21] = [10];
|
||||||
|
|
||||||
|
//---Chord Rhythms
|
||||||
|
|
||||||
|
q.chord.rhythmA = [2,2,3.5, 2.5,2,4];
|
||||||
|
q.chord.rhythmB = [3.5,4.5,4.5,3.5, 3,5,3,5];
|
||||||
|
|
||||||
|
q.chord.rhythmC = [3.5,4,4,8.5];
|
||||||
|
|
||||||
|
//---PONG
|
||||||
|
|
||||||
|
q.pong.melodyA = [-1,3,5, 3,5,3, 1,7];
|
||||||
|
q.pong.melodyB = [8,6,4,3, 3,4, 3,4,2];
|
||||||
|
q.pong.melodyC = [8,9,10, 6,5,2];
|
||||||
|
|
||||||
|
q.pong.rhythmA = [1,2,2, 1,1,1, 1,8];
|
||||||
|
q.pong.rhythmB = [2,2,2,2, 2,2, 1,1,9];
|
||||||
|
q.pong.rhythmC = [2,2,4, 2,2,3];
|
||||||
|
|
||||||
|
/////////////////////PATTERNS///////////////////////////
|
||||||
|
|
||||||
|
Pdef(\ping,
|
||||||
|
Pbind(
|
||||||
|
\scale, q.scale,
|
||||||
|
\instrument, \ping,
|
||||||
|
\degree, Pseq(
|
||||||
|
q.ping.melodyA ++ q.ping.melodyA ++
|
||||||
|
q.ping.melodyB ++ q.ping.melodyC ++ q.ping.melodyD ++
|
||||||
|
q.ping.melodyB ++ q.ping.melodyC ++ q.ping.melodyD -1, inf),
|
||||||
|
\octave, 6,
|
||||||
|
\out, 20,
|
||||||
|
\amp, 0.5,
|
||||||
|
\dur, Pseq(
|
||||||
|
q.ping.rhythmA ++ q.ping.rhythmA ++
|
||||||
|
q.ping.rhythmB ++ q.ping.rhythmC ++ q.ping.rhythmD ++
|
||||||
|
q.ping.rhythmB ++ q.ping.rhythmC ++ q.ping.rhythmD
|
||||||
|
/ 4, inf)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
Pdef(\chord,
|
||||||
|
Pbind(
|
||||||
|
\scale, q.scale,
|
||||||
|
\instrument, \chord,
|
||||||
|
\degree, Pseq([
|
||||||
|
q.chords[0], q.chords[1], q.chords[2], q.chords[3], q.chords[4], q.chords[5],
|
||||||
|
q.chords[0], q.chords[1], q.chords[2], q.chords[3], q.chords[4], q.chords[5],
|
||||||
|
q.chords[6], q.chords[7], q.chords[8], q.chords[9],
|
||||||
|
q.chords[10], q.chords[11], q.chords[12], q.chords[13],
|
||||||
|
q.chords[6], q.chords[7], q.chords[8], q.chords[9],
|
||||||
|
q.chords[10], q.chords[11], q.chords[12], q.chords[13] ] -1 + 7,inf),
|
||||||
|
\legato, 1,
|
||||||
|
\octave, 4,
|
||||||
|
\out, 20,
|
||||||
|
\amp, 0.25,
|
||||||
|
\dur, Pseq( q.chord.rhythmA ++ q.chord.rhythmA ++ q.chord.rhythmB ++ q.chord.rhythmB / 2, inf )
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Pdef(\chordB,
|
||||||
|
Pbind(
|
||||||
|
\scale, q.scale,
|
||||||
|
\instrument, \chord,
|
||||||
|
\degree, Pseq([
|
||||||
|
q.chords[14], q.chords[15], q.chords[16], q.chords[17],
|
||||||
|
q.chords[18], q.chords[19], q.chords[20], q.chords[21]
|
||||||
|
] -1 + 7,inf),
|
||||||
|
\legato, 1,
|
||||||
|
\octave, 4,
|
||||||
|
\out, 20,
|
||||||
|
\amp, 0.25,
|
||||||
|
\dur, Pseq( q.chord.rhythmC / 2, inf )
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
Pdef(\pong,
|
||||||
|
Pbind(
|
||||||
|
\scale, q.scale,
|
||||||
|
\instrument, \pong,
|
||||||
|
\degree, Pseq(
|
||||||
|
q.pong.melodyA ++
|
||||||
|
q.pong.melodyB ++
|
||||||
|
q.pong.melodyA ++
|
||||||
|
q.pong.melodyC
|
||||||
|
- 1, inf),
|
||||||
|
\octave, 4,
|
||||||
|
\out, 20,
|
||||||
|
\amp, 0.5,
|
||||||
|
\legato, 2,
|
||||||
|
\dur, Pseq( q.pong.rhythmA ++ q.pong.rhythmB ++ q.pong.rhythmA ++ q.pong.rhythmC / 4, inf)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
////////////////////////////////////DRUMZ////////////////////////////////////
|
||||||
|
|
||||||
|
Pdef(\kick,
|
||||||
|
Pbind(
|
||||||
|
\instrument, \kick,
|
||||||
|
\freq, 80,
|
||||||
|
\sustain, 0.1,
|
||||||
|
\out, Prand([0,0,0,0,0,0,0,0,0,0, 22, 24, 26], inf),
|
||||||
|
\amp, 0.1,
|
||||||
|
\dur, Prand([
|
||||||
|
Pseq([3,3,1,1]/4),
|
||||||
|
Pseq([3,5]/4),
|
||||||
|
Pseq([1,2,1,4]/4),
|
||||||
|
Pseq([1,2,2,1,1,1]/4),
|
||||||
|
Pseq([8]/4),
|
||||||
|
],inf)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Pdef(\snare,
|
||||||
|
Pbind(
|
||||||
|
\instrument, \snare,
|
||||||
|
\sustain, 0.1,
|
||||||
|
\out, Prand([0,0,0,0,0,0,0,0,0,0, 22, 24, 26], inf),
|
||||||
|
\amp, Prand([
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,0]/2),
|
||||||
|
Pseq([0,0,1,1]/2),
|
||||||
|
Pseq([1,0,0,0]/2),
|
||||||
|
Pseq([1,1,0,1]/2),
|
||||||
|
Pseq([1,0,1,0]/2),
|
||||||
|
Pseq([1,1,1,1]/2),
|
||||||
|
], inf),
|
||||||
|
\dur, Pseq([1,1,1,1]/4,inf)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Pdef(\hihat,
|
||||||
|
Pbind(
|
||||||
|
\instrument, \hihat,
|
||||||
|
\sustain, 0.1,
|
||||||
|
\out, Prand([0,0,0,0, 22, 24, 26], inf),
|
||||||
|
\amp, Pseq([1,1,1,1]/10,inf),
|
||||||
|
\dur, Pseq([1,1,1,1]/4,inf)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
Pdef(\bass,
|
||||||
|
Pbind(
|
||||||
|
\instrument, \bass,
|
||||||
|
\freq, Prand([80, 120],inf),
|
||||||
|
\sustain, 0.1,
|
||||||
|
\out, Prand([0,0,0,0,0,0,0,0,0,0,20], inf),
|
||||||
|
\amp, 0.075,
|
||||||
|
\dur, Prand([
|
||||||
|
Pseq([16]/4),
|
||||||
|
Pseq([16]/4),
|
||||||
|
Pseq([16]/4),
|
||||||
|
Pseq([16]/4),
|
||||||
|
Pseq([8]/4),
|
||||||
|
Pseq([8]/4),
|
||||||
|
Pseq([3,5]/4),
|
||||||
|
Pseq([7,1]/4),
|
||||||
|
],inf)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Pdef(\ping).stop;
|
||||||
|
Pdef(\chord).stop;
|
||||||
|
Pdef(\kick).stop;
|
||||||
|
Pdef(\bass).stop;
|
||||||
|
Pdef(\hihat).stop;
|
||||||
|
Pdef(\snare).stop;
|
||||||
|
Pdef(\pong).stop;
|
||||||
|
|
||||||
|
|
||||||
|
//Pdef(\ping).play;
|
||||||
|
//Pdef(\chord).play;
|
||||||
|
//Pdef(\kick).play;
|
||||||
|
//Pdef(\bass).play;
|
||||||
|
//Pdef(\hihat).play;
|
||||||
|
//Pdef(\snare).play;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(
|
||||||
|
Pdef(\ping).stop;
|
||||||
|
Pdef(\chord).stop;
|
||||||
|
|
||||||
|
Pdef(\pong).play;
|
||||||
|
Pdef(\chordB).play;
|
||||||
|
)
|
||||||
|
|
||||||
|
(
|
||||||
|
Pdef(\ping).play;
|
||||||
|
Pdef(\chord).play;
|
||||||
|
|
||||||
|
Pdef(\chordB).play;
|
||||||
|
Pdef(\pong).stop;
|
||||||
|
)
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
TempoClock.default.tempo = 1.25;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
q.pdef.do { |i| i.play };
|
||||||
|
q.pdef.do { |i| i.stop };
|
||||||
|
s.queryAllNodes
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
///////////////////////////GUI/////////////////////////////////////////////
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
//w = GUI.window.new("Aphex Twin Generator").front;
|
||||||
|
|
||||||
@ -0,0 +1,341 @@
|
|||||||
|
(
|
||||||
|
//q = q ? ();
|
||||||
|
q.button = ();
|
||||||
|
q.slider = ();
|
||||||
|
q.window = ();
|
||||||
|
q.color = ();
|
||||||
|
q.text = ();
|
||||||
|
q.line = ();
|
||||||
|
|
||||||
|
q.color.red = Color(0.5, 0.25, 0.4, 0.25);
|
||||||
|
q.color.blue = Color(0.2, 0.2, 0.5, 0.25);
|
||||||
|
q.color.green = Color(0.0, 0.25, 0.1, 0.25);
|
||||||
|
q.color.green2 = Color(0.5, 0.75, 0.5);
|
||||||
|
|
||||||
|
q.color.grey = Color(0.4, 0.4, 0.4, 1);
|
||||||
|
|
||||||
|
q.color.black = Color(0, 0, 0);
|
||||||
|
q.color.black2 = Color(0.1, 0.1, 0.2);
|
||||||
|
q.color.black3 = Color(0, 0, 0, 0.2);
|
||||||
|
|
||||||
|
q.color.white = Color(1, 1, 1);
|
||||||
|
q.color.white2 = Color(0.8, 0.8, 0.9);
|
||||||
|
|
||||||
|
|
||||||
|
q.window.width = 400;
|
||||||
|
q.window.height = 750;
|
||||||
|
|
||||||
|
q.line[0] = 10;
|
||||||
|
q.line[1] = 80;
|
||||||
|
q.line[2] = 0;
|
||||||
|
q.line[3] = 0;
|
||||||
|
q.line[4] = 0;
|
||||||
|
q.line[5] = 0;
|
||||||
|
q.line[6] = 0;
|
||||||
|
q.line[7] = 0;
|
||||||
|
q.line[8] = 0;
|
||||||
|
q.line[9] = 0;
|
||||||
|
q.line[10] = 170-25;
|
||||||
|
q.line[11] = 200-25;
|
||||||
|
q.line[12] = 272-25;
|
||||||
|
q.line[13] = 300-25;
|
||||||
|
q.line[14] = 0;
|
||||||
|
q.line[15] = 320;
|
||||||
|
q.line[16] = q.line[15] + 180 + 20;
|
||||||
|
q.line[17] = 0;
|
||||||
|
q.line[18] = q.line[16] + 40;
|
||||||
|
q.line[19] = 0;
|
||||||
|
q.line[20] = q.window.height - 20 - 30;
|
||||||
|
q.line[21] = q.window.height - 20;
|
||||||
|
|
||||||
|
|
||||||
|
//q.window.width = SCWindow.screenBounds.width;
|
||||||
|
//q.window.height = SCWindow.screenBounds.height;
|
||||||
|
|
||||||
|
w = Window.new("Aphex Flim Control",Rect(0, 0, q.window.width, q.window.height)).front;
|
||||||
|
w.view.background = HiliteGradient(q.color.white2, q.color.black2, \v, 128, 0.7);
|
||||||
|
|
||||||
|
//q.text.title = SCStaticText( w, Rect(q.window.width/2, 0, 200, 25) );
|
||||||
|
//q.text.title.string_("APHEX FLIM GENERATOR");
|
||||||
|
|
||||||
|
CmdPeriod.add({w.close});
|
||||||
|
|
||||||
|
|
||||||
|
//------------START / CHANGE BUTTON
|
||||||
|
q.button.start = Button.new(w, Rect(0, q.line[0], q.window.width, 60))
|
||||||
|
.states_([
|
||||||
|
[ "START ALL", q.color.black, q.color.red ],
|
||||||
|
[ "STOP ALL", q.color.white, q.color.blue ]
|
||||||
|
])
|
||||||
|
.action_{|v|
|
||||||
|
( v.value == 1).if(
|
||||||
|
{
|
||||||
|
Pdef(\ping).play;
|
||||||
|
Pdef(\chord).play;
|
||||||
|
Pdef(\kick).play;
|
||||||
|
Pdef(\bass).play;
|
||||||
|
Pdef(\hihat).play;
|
||||||
|
Pdef(\snare).play;
|
||||||
|
q.button.bass.valueAction_(0);
|
||||||
|
q.button.kick.valueAction_(0);
|
||||||
|
q.button.snare.valueAction_(0);
|
||||||
|
q.button.hihat.valueAction_(0);
|
||||||
|
|
||||||
|
},
|
||||||
|
{ Pdef(\ping).stop;
|
||||||
|
Pdef(\chord).stop;
|
||||||
|
Pdef(\kick).stop;
|
||||||
|
Pdef(\bass).stop;
|
||||||
|
Pdef(\hihat).stop;
|
||||||
|
Pdef(\snare).stop;
|
||||||
|
Pdef(\pong).stop;
|
||||||
|
Pdef(\chordB).stop;
|
||||||
|
q.button.bass.valueAction_(1);
|
||||||
|
q.button.kick.valueAction_(1);
|
||||||
|
q.button.snare.valueAction_(1);
|
||||||
|
q.button.hihat.valueAction_(1);
|
||||||
|
}
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
q.button.change = Button.new(w, Rect(0, q.line[1], q.window.width, 40))
|
||||||
|
.states_([
|
||||||
|
[ "CHANGE TO THE SECOND PART", q.color.black, q.color.red ],
|
||||||
|
[ "CHANGE TO THE FIRST PART", q.color.white, q.color.blue ]
|
||||||
|
])
|
||||||
|
.action_{|v|
|
||||||
|
( v.value == 1).if(
|
||||||
|
{ Pdef(\ping).stop; Pdef(\chord).stop; Pdef(\pong).play; Pdef(\chordB).play; },
|
||||||
|
{ Pdef(\ping).play; Pdef(\chord).play; Pdef(\chordB).stop; Pdef(\pong).stop; }
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
q.text.reverb = StaticText(w, Rect(10, q.line[10], 60, 40))
|
||||||
|
.string_("REVERB")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.reverb = Slider2D.new(w,Rect(10, q.line[11], 80, 80))
|
||||||
|
.action_{ |v| q.fx.reverb.set(\room, v.x); q.fx.reverb.set(\damp, v.y) }
|
||||||
|
.x_(0.8)
|
||||||
|
.y_(0.8);
|
||||||
|
|
||||||
|
q.text.reverbMix = StaticText(w, Rect(10, q.line[12], 500, 40))
|
||||||
|
.string_("Reverb dry / wet mix")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.reverbMix = Slider.new(w,Rect(10, q.line[13], q.window.width-20, 15))
|
||||||
|
.action_{|v|
|
||||||
|
q.fx.reverb.set(\mix, v.value)
|
||||||
|
}
|
||||||
|
.value_(0.5);
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
q.text.combA = StaticText(w, Rect(110, q.line[10], 80, 40))
|
||||||
|
.string_("COMB (short)")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.combA = Slider2D.new(w,Rect(110, q.line[11], 80, 80))
|
||||||
|
.action_{ |v| q.fx.combA.set(\decay, v.x/2); q.fx.combA.set(\delay, v.y/7.5) }
|
||||||
|
.x_(0.35*2)
|
||||||
|
.y_(0.135);
|
||||||
|
|
||||||
|
/*q.text.combAMix = SCStaticText(w, Rect(110, q.line[12], 100, 40))
|
||||||
|
.string_("dry / wet mix")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.combAMix = SCSlider.new(w,Rect(110, q.line[13], 80, 15))
|
||||||
|
.action_{|v|
|
||||||
|
q.fx.combA.set(\mix, v.value)
|
||||||
|
}
|
||||||
|
.value_(0.5);*/
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
q.text.combB = StaticText(w, Rect(210, q.line[10], 100, 40))
|
||||||
|
.string_("COMB (middle)")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.combB = Slider2D.new(w,Rect(210, q.line[11], 80, 80))
|
||||||
|
.action_{ |v| q.fx.combB.set(\decay, v.x); q.fx.combB.set(\delay, v.y/7.5) }
|
||||||
|
.x_(0.6)
|
||||||
|
.y_(0.375);
|
||||||
|
|
||||||
|
/*q.text.combBMix = SCStaticText(w, Rect(210, q.line[12], 100, 40))
|
||||||
|
.string_("dry / wet mix")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.combBMix = SCSlider.new(w,Rect(210, q.line[13], 80, 15))
|
||||||
|
.action_{|v|
|
||||||
|
q.fx.combB.set(\mix, v.value)
|
||||||
|
}
|
||||||
|
.value_(0.5);*/
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
q.text.combC = StaticText(w, Rect(310, q.line[10], 80, 40))
|
||||||
|
.string_("COMB (long)")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.combC = Slider2D.new(w,Rect(310, q.line[11], 80, 80))
|
||||||
|
.action_{ |v| q.fx.combC.set(\decay, v.x*2); q.fx.combC.set(\delay, v.y/7.5) }
|
||||||
|
.x_(1/2)
|
||||||
|
.y_(0.75);
|
||||||
|
|
||||||
|
/*q.text.combCMix = SCStaticText(w, Rect(310, q.line[12], 100, 40))
|
||||||
|
.string_("dry / wet mix")
|
||||||
|
.stringColor_(q.color.white2);
|
||||||
|
|
||||||
|
q.slider.combCMix = SCSlider.new(w,Rect(310, q.line[13], 80, 15))
|
||||||
|
.action_{|v|
|
||||||
|
q.fx.combC.set(\mix, v.value)
|
||||||
|
}
|
||||||
|
.value_(0.5);*/
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
q.slider.compSlopes = Slider2D.new(w,Rect(10, q.line[15], 180, 180))
|
||||||
|
.action_{ |v| q.compressor.set(\slopeA, v.x); q.fx.combC.set(\slopeB, v.y) }
|
||||||
|
.x_(0.1)
|
||||||
|
.y_(1);
|
||||||
|
|
||||||
|
q.slider.compTimes = Slider2D.new(w,Rect(210, q.line[15], 180, 180))
|
||||||
|
.action_{ |v| q.compressor.set(\clampT, v.y); q.fx.combC.set(\relaxT, v.x) }
|
||||||
|
.x_(0.5)
|
||||||
|
.y_(0.01);
|
||||||
|
|
||||||
|
q.slider.compThresh = Slider.new(w,Rect(10, q.line[16], q.window.width-20, 15))
|
||||||
|
.action_{|v|
|
||||||
|
q.compressor.set(\thresh, v.value)
|
||||||
|
}
|
||||||
|
.value_(0.8);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
q.text.volume = NumberBox(w, Rect(q.window.width-50, q.line[20], 40, 15)).value_(1);
|
||||||
|
|
||||||
|
q.text.volumeString = StaticText(w, Rect(10, q.line[20], 60, 15))
|
||||||
|
.string_("VOLUME")
|
||||||
|
.stringColor_(q.color.black2);
|
||||||
|
|
||||||
|
q.slider.volume = Slider.new(w,Rect(75, q.line[20], q.window.width-150, 15))
|
||||||
|
.action_{|v|
|
||||||
|
q.compressor.set(\amp, v.value*2);
|
||||||
|
q.text.volume.value_( (v.value * 2).round(0.01) )
|
||||||
|
}
|
||||||
|
.value_(0.5);
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
q.text.tempo = NumberBox(w, Rect(q.window.width-50, q.line[21], 40, 15)).value_(75);
|
||||||
|
|
||||||
|
q.text.tempoString = StaticText(w, Rect(10, q.line[21], 60, 15))
|
||||||
|
.string_("TEMPO")
|
||||||
|
.stringColor_(q.color.black2);
|
||||||
|
|
||||||
|
q.slider.tempo = Slider.new(w,Rect(75, q.line[21], q.window.width-150, 15))
|
||||||
|
.action_{|v|
|
||||||
|
TempoClock.default.tempo_(v.value + 0.2 * 2);
|
||||||
|
q.text.tempo.value_( (v.value + 0.2 * 60 * 2).round )
|
||||||
|
}
|
||||||
|
.value_(0.425);
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
q.button.bass = Button.new(w,Rect(10, q.line[18], 50, 20))
|
||||||
|
.states_([
|
||||||
|
[ "BASS", q.color.green2, q.color.green ],
|
||||||
|
[ "BASS", q.color.grey, q.color.black3 ]
|
||||||
|
])
|
||||||
|
.action_{|v|
|
||||||
|
( v.value == 1 ).if(
|
||||||
|
{ Pdef(\bass).stop },
|
||||||
|
{ Pdef(\bass).play }
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
q.button.kick = Button.new(w,Rect(10, q.line[18]+20, 50, 20))
|
||||||
|
.states_([
|
||||||
|
[ "KICK", q.color.green2, q.color.green ],
|
||||||
|
[ "KICK", q.color.grey, q.color.black3 ]
|
||||||
|
])
|
||||||
|
.action_{|v|
|
||||||
|
( v.value == 1 ).if(
|
||||||
|
{ Pdef(\kick).stop },
|
||||||
|
{ Pdef(\kick).play }
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
q.button.snare = Button.new(w,Rect(10, q.line[18]+40, 50, 20))
|
||||||
|
.states_([
|
||||||
|
[ "SNARE", q.color.green2, q.color.green ],
|
||||||
|
[ "SNARE", q.color.grey, q.color.black3 ]
|
||||||
|
])
|
||||||
|
.action_{|v|
|
||||||
|
( v.value == 1 ).if(
|
||||||
|
{ Pdef(\snare).stop },
|
||||||
|
{ Pdef(\snare).play }
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
q.button.hihat = Button.new(w,Rect(10, q.line[18]+60, 50, 20))
|
||||||
|
.states_([
|
||||||
|
[ "HIHAT", q.color.green2, q.color.green ],
|
||||||
|
[ "HIHAT", q.color.grey, q.color.black3 ]
|
||||||
|
])
|
||||||
|
.action_{|v|
|
||||||
|
( v.value == 1 ).if(
|
||||||
|
{ Pdef(\hihat).stop },
|
||||||
|
{ Pdef(\hihat).play }
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
q.button.hihat.valueAction_(1);
|
||||||
|
q.button.snare.valueAction_(1);
|
||||||
|
q.button.kick.valueAction_(1);
|
||||||
|
q.button.bass.valueAction_(1);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
SCButton.new(w,Rect(20, 338, 100, 20))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
SCButton.new(w,Rect(21, 365, 100, 20))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
SCButton.new(w,Rect(29, 64, 344, 57))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
SCButton.new(w,Rect(143, 307, 100, 20))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
SCButton.new(w,Rect(144, 337, 100, 20))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
SCButton.new(w,Rect(273, 310, 100, 20))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
SCButton.new(w,Rect(273, 337, 100, 20))
|
||||||
|
.states_([ [ "Push", Color(0.0, 0.0, 0.0, 1.0), Color(1.0, 0.0, 0.0, 1.0) ], [ "Pop", Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 1.0, 1.0) ] ])
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SCMultiSliderView.new(w,Rect(31, 237, 338, 34))
|
||||||
|
.action_{|v| };
|
||||||
|
|
||||||
|
EZSlider
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
);
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue