File: mp3scal.csd

package info (click to toggle)
csound-manual 1%3A6.08.0~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 34,580 kB
  • sloc: xml: 193,471; python: 1,332; makefile: 783
file content (20 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
nchnls=2
ksmps=64
sr=44100
instr 1
SFile = p4
p3 = mp3len(SFile)/p5
a1,a2,k2 mp3scal SFile,p5,1,1
 outs a1,a2

endin

</CsInstruments>
<CsScore>
i1.1 0 1 "beats.mp3" .75
</CsScore>
</CsoundSynthesizer>