Csound Csound-dev Csound-tekno Search About

[Cs-dev] sflooper issue?

Date2011-06-26 19:54
Frommenno
Subject[Cs-dev] sflooper issue?
Hello (Victor),

i think there is one parameter too many in the sflooper manual page, it is
ifn.
This is how it is printed in the manual:
ar1, ar2 sflooper ivel, inotenum, kamp, kpitch, ipreindex, kloopstart,
kloopend, kcrossfade, ifn \
      [, istart, imode, ifenv, iskip] 

ifn is not mentioned in the initialization section and when i leave it out,
it works.
Here is my csd:




; Select audio/midi flags here according to platform
-odac -+rtmidi=virtual -M0   ;;;realtime audio out and midi in
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o sflooper.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
;0dbfs  = 1

isf sfload    "/home/menno/manual/examples/07AcousticGuitar.sf2"
    sfilist   isf
    sfplist   isf
    sfpassign 0, isf

instr 1
; play from score and midi keyboard
	mididefault	60, p3
	midinoteonkey	p4, p5
inum	init p4
ivel	init p5
ivel	init ivel/127		; pre-amplify
print	ivel
kamp	linsegr	1,1,1,.1,0
kfreq	init	1		; do not change freq from sf
a1,a2	sflooper ivel, inum, kamp*ivel, kfreq, 0, 0, .3, .1, 0, 2
	outs	a1, a2
	
endin	


f0  60				; stay active for 1 minute

i1 0 1 60 100
i1 + 1 62 <
i1 + 1 65 <
i1 + 1 69 10
e




greetings
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/sflooper-issue-tp4526219p4526219.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net