Hi List,
I'm wondering why I keep repeatedly getting "Segmentation Violation"
thrown by Csound when running the ReznikScanPiece.csd file from the
OLPC wiki? It happens when running to .wav or in real-time. Is there
something about this orchestra?? I was going to supply the "voice.wav"
in this email using csb64enc but then it would be too large... for the
supporting files (ie. scan matrices & audio files) see
http://wiki.laptop.org/go/Csound:Csound_EditorThanks for your help,
-David
Csound flags used during segmentation violation are:
-odac -d -m0 -b2048 -B4096 -+rtaudio=mme ; real time
-oReznikScanPiece.wav -W -K -R -d ; offline
Csound version 5.08 (double samples)
libsndfile-1.0.17
System info:
Host Name: PRECISION690
OS Name: Microsoftr Windows VistaT Ultimate
OS Version: 6.0.6000 N/A Build 6000
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
System Manufacturer: Dell Inc.
System Model: Precision WorkStation 690
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: EM64T Family 6 Model 15 Stepping 7
GenuineIntel ~2000 Mhz
BIOS Version: Dell Inc. A05, 5/24/2007
Total Physical Memory: 8,189 MB
Available Physical Memory: 6,213 MB
Page File: Max Size: 16,415 MB
Page File: Available: 13,781 MB
Page File: In Use: 2,634 MB
<CsoundSynthesizer>
<CsInstruments>
sr = 44100
ksmps = 100
nchnls = 1
;;;;;;;;;;;;;;;;Michael Resnick <
beyondanalysis@...>
;;;;;;;;;;;;;;;;NYU Fall 2004
instr 1
idisp = p6
icondfn = p7
imasf = p8
ivelf = p9
ispgmtrxf = p10
icntrf = p11
idampf = p12
kspgstf line p13, p3, p14
kmasf line p15, p3, p16
kcntr line p17, p3, p18
iscnrat = p19
a0 soundin "voice.wav"
scanu icondfn,iscnrat,ivelf,imasf, ispgmtrxf, icntrf, idampf, kmasf,
kspgstf, kcntr, -.05, .1, .5, .5, 0, a0, 0, 1
a1 scans ampdb(p5),cpspch(p4)*2, 7, 1
a1 dcblock a1
out (a1*.0007)+(a0*.05)
endin
</CsInstruments>
<CsScore>
; Initial Condition/State
f1 0 128 7 0 60 0 2 1 2 0 60 0
f11 0 128 7 0 30 0 2 1 2 0 30 0 30 0 2 -1 2 0 30 0
f111 0 128 10 1 0 0 0 1 0 0 0 1
f1111 0 128 10 1
; Initial Masses
f2 0 128 -7 1 128 1
; Dynamic Masses
f22 0 128 -7 1 128 1
f222 0 128 -7 1 128 .8
f2222 0 128 -7 1 128 .6
; Spring Matrix
f3 0 16384 -23 "string-128.matrix"
f33 0 16384 -23 "circularstring-128"
f333 0 16384 -23 "cylinder-128,8"
f3333 0 16384 -23 "torus-128,8"
f33333 0 16384 -23 "grid-128,8"
; Centering Force
f4 0 128 -7 0 64 1 64 0
f44 0 128 -7 0 64 6 64 0
f444 0 128 -7 0 64 12 64 0
f4444 0 128 -7 0 64 20 64 0
; Damping
f5 0 128 -7 1 128 1
f55 0 128 -7 .01 64 1 64 .01
f555 0 128 -7 1 128 .0001
; Initial Velocity
f6 0 128 -7 0 128 0
f66 0 128 -7 0 128 .02
f666 0 128 -7 .02 128 0
f6666 0 128 -7 .01 128 .01
; Trajectory
f7 0 128 -7 0 128 128
; Pluck
f8 0 128 7 0 60 0 2 1 2 0 60 0
; Sine wave
f9 0 1024 10 1
; SCANRATE STUDY
;i st d pt amp dsp
;cnd scn vl mt
;cnt dmp a b a b a b scn
i1 0.0 10.00 6.05 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 0.5 . 6.09 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 1.0 . 6.13 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 5.0 7.00 6.11 15 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 5.5 . 6.14 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 6.0 . 7.06 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 9.0 10.00 6.05 30 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 9.5 . 6.09 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1
.05
i1 10.0 . 6.13 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 14.0 7.00 6.11 25 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 6.14 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 7.06 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 18.0 10.00 6.05 40 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 6.09 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 6.13 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 23.0 7.00 6.11 35 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 6.14 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 7.06 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 27.0 10.00 6.05 45 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 6.09 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1
.05
i1 . . 6.13 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 32.0 7.00 6.11 40 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 6.14 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 7.06 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 36.0 30.00 06.05 45 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 06.09 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 . . 06.13 44 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 37.0 29.00 06.16 43 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 38.0 28.00 07.05 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 39.0 27.00 07.09 42 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 40.0 25.00 07.13 41 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 41.0 23.00 07.16 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 42.0 21.00 08.05 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 43.0 19.00 08.09 40 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 44.0 17.00 08.13 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 45.0 15.00 08.16 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 46.0 13.00 09.05 . 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 47.0 11.00 09.09 41 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 48.0 09.00 09.13 42 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 49.0 07.00 09.16 43 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 50.0 06.00 10.05 44 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 51.0 05.00 10.09 45 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 52.0 04.00 10.13 46 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 46.0 05.00 10.13 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 47.0 05.50 10.09 23 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 48.0 06.00 10.05 26 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 49.0 06.00 09.16 29 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 50.0 06.00 09.13 31 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 51.0 06.50 09.09 33 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 52.0 06.00 09.05 35 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 53.0 06.50 08.16 37 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 55.0 10.00 07.16 10 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 55.0 10.00 07.13 10 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 55.0 10.00 07.09 10 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 60.0 10.00 06.16 15 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 60.0 10.00 06.13 15 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 60.0 10.00 06.09 15 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 65.0 10.00 05.16 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 65.0 10.00 05.13 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 65.0 10.00 05.09 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 70.0 10.00 04.16 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 70.0 10.00 04.13 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
i1 70.0 10.00 04.09 20 1 11 2 6 3 4 5 .2 .2 2 2 3 1 .05
</CsScore>
</CsoundSynthesizer>
Send bugs reports to this list.
To unsubscribe, send email
sympa@... with body "unsubscribe csound"