~ubuntu-branches/ubuntu/precise/csound/precise

« back to all changes in this revision

Viewing changes to iOS/Csound iOS Examples/Csound iOS Examples/ViewControllers/MultiTouchXY/multiTouchXY.csd

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2012-04-19 09:26:46 UTC
  • mfrom: (3.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20120419092646-96xbj1n6atuqosk2
Tags: 1:5.17.6~dfsg-1
* New upstream release
 - Do not build the wiimote opcodes (we need wiiuse).
* Add new API function to symbols file
* Disable lua opcodes, they were broken. Requires OpenMP to be enabled.
* Backport fixes from upstream:
  - Link dssi4cs with dl. Backport
  - Fix building of CsoundAC

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<CsoundSynthesizer>
 
2
<CsOptions>
 
3
-o dac -+rtmidi=null -+rtaudio=null -d -+msg_color=0 -M0 -m0
 
4
</CsOptions>
 
5
<CsInstruments>
 
6
nchnls=2
 
7
0dbfs=1
 
8
ksmps=64
 
9
sr = 44100
 
10
 
 
11
ga1 init 0
 
12
 
 
13
instr 1
 
14
itie tival
 
15
i_instanceNum = p4
 
16
S_xName sprintf "touch.%d.x", i_instanceNum
 
17
S_yName sprintf "touch.%d.y", i_instanceNum
 
18
 
 
19
kx chnget S_xName
 
20
ky chnget S_yName
 
21
 
 
22
kenv linsegr 0, .01, 1, .1, 1, .25, 0
 
23
a1 vco2 ky * .5 * kenv, 60 + (log(1 - kx) * 3000), 0
 
24
 
 
25
ga1 = ga1 + a1
 
26
 
 
27
endin
 
28
 
 
29
instr 2
 
30
 
 
31
;kcutoff chnget "cutoff"
 
32
;kresonance chnget "resonance"
 
33
 
 
34
kcutoff = 6000
 
35
kresonance = .2
 
36
 
 
37
 
 
38
a1 moogladder ga1, kcutoff, kresonance
 
39
 
 
40
aL, aR reverbsc a1, a1, .72, 5000
 
41
 
 
42
outs aL, aR
 
43
 
 
44
ga1 = 0
 
45
 
 
46
endin
 
47
 
 
48
 
 
49
</CsInstruments>
 
50
<CsScore>
 
51
f1 0 16384 10 1
 
52
 
 
53
i2 0 360000
 
54
 
 
55
</CsScore>
 
56
</CsoundSynthesizer>