Csound Csound-dev Csound-tekno Search About

[Csnd] sflooper issue

Date2011-07-20 20:42
Frommenno
Subject[Csnd] sflooper issue
Hi,

when playing this example for sflooper i notice that the loopend, although
it has a non-changing value of .2 seconds, varies in looping length.
Is this normal behavior ?



; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages
-odac --old-parser -+rtmidi=virtual  -M0     ;;;realtime audio in, midi in
; 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 "07AcousticGuitar.sf2"
      sfpassign 0, isf

instr 1	; play from score and midi keyboard

      mididefault   60, p3
      midinoteonkey p4, p5
inum  init p4
ivel  init p5
print ivel

ivel  init    ivel/127		;velocity dependent
kamp  linsegr 1,1,1,.1,0	;envelope
kamp  = kamp * .0002		;scale amplitude (= kamp/5000)
kfreq init	1		;do not change freq from sf
;              ivel, inum, kamp      ,kfreq, ind,loopstrt,loopend,xfade, ifn
a1,a2 sflooper ivel, inum, kamp*ivel, kfreq,  0,   0,        .2,  .05,     0
      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-tp4617061p4617061.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"