-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAutopanModule.binstr
90 lines (85 loc) · 3.28 KB
/
AutopanModule.binstr
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
<instrument type='blue.orchestra.BlueSynthBuilder' editEnabled='true'>
<name>AutopanModule</name>
<comment>
DESCRIPTION:
Autopan Module moves a mono sound signal slowly from left to right in a stereo field.
- Autopans a mono signal quite slowly in the stereo field
</comment>
<globalOrc/>
<globalSco/>
<instrumentText>; 1 (mono) input, 2 (stereo) signal outputs
;============================autopan============================================
if ichnls == 1 && (<autopanning if mono> == 1) then ; autopan mono sample
krandP randi 1, 1, 1 ; adjust speed and depth
krandP = (krandP +1)*.5
asigL, asigR pan2 aoutL, krandP, 0
else
asigL = aoutL
asigR = aoutR
endif
;;==============================================================================
;takes in a mono signal, but stereo out
;blueMixerOut asigL , asigR</instrumentText>
<alwaysOnInstrumentText></alwaysOnInstrumentText>
<graphicInterface editEnabled='false'>
<gridSettings>
<width>10</width>
<height>10</height>
<gridStyle>DOT</gridStyle>
<snapGridEnabled>true</snapGridEnabled>
</gridSettings>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
<objectName></objectName>
<x>0</x>
<y>0</y>
<groupName>Group</groupName>
<backgroundColor>0x00000033</backgroundColor>
<borderColor>0x000000ff</borderColor>
<labelTextColor>0xffffffff</labelTextColor>
<titleEnabled>true</titleEnabled>
<width>20</width>
<height>20</height>
<font>
<name>Roboto</name>
<size>12.0</size>
<style>0</style>
</font>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
<objectName></objectName>
<x>0</x>
<y>0</y>
<groupName>autopan</groupName>
<backgroundColor>0x282828ff</backgroundColor>
<borderColor>0x000000ff</borderColor>
<labelTextColor>0xffffffff</labelTextColor>
<titleEnabled>true</titleEnabled>
<width>139</width>
<height>39</height>
<font>
<name>Roboto</name>
<size>12.0</size>
<style>2</style>
</font>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBCheckBox'>
<objectName>autopanning if mono</objectName>
<x>10</x>
<y>10</y>
<comment>if SF is mono, proovides some stereo panning</comment>
<automationAllowed>true</automationAllowed>
<label>autopan if mono</label>
<selected>true</selected>
<randomizable>true</randomizable>
</bsbObject>
</bsbObject>
</bsbObject>
</graphicInterface>
<parameterList>
<parameter uniqueId='-1490017706' name='autopanning if mono' label='' min='0.0' max='1.0' bdresolution='1' automationEnabled='false' value='1.0'>
<line name='' version='2' max='1.0' min='0.0' bdresolution='1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='1.0'/>
</line>
</parameter>
</parameterList>
<presetGroup name='Presets'/>
<opcodeList/>
</instrument>