Csound Csound-dev Csound-tekno Search About

ftgen in a ftconv orc

Date2016-03-16 12:21
FromGpp
Subjectftgen in a ftconv orc
Hello,

I created the following orchestra, using a ftgen to store an impulse
response for the ftconv opcode: 



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



sr = 96000
ksmps = 32
nchnls = 2
0dbfs  = 1

 

gifilL ftgen 0, 0, 0, -1, "Decollo_01_01_L.aif", 0, 0, 0
gifilR ftgen 0, 0, 0, -1, "Decollo_01_01_R.aif", 0, 0, 0

instr 1

iplen = 256      ;length of impulse response partitions, in sample frames;
must be an integer power of two. Lower settings allow for shorter output
delay, but will increase CPU usage. 
iskipsamples =  0 ;number of sample frames to skip at the beginning of the
table
iirlen =   8192 ;total length of impulse response, in sample frames. The
default is to use all table data (not including the guard point). 
iskipinit = 0


ainL  soundin "Ponte_traghetto_3_raw_Sel_raw_01_CTS10-L.aif"
asigL ftconv ainL, gifilL, iplen, iskipsamples, iirlen, iskipinit

ainR  soundin "Ponte_traghetto_3_raw_Sel_raw_01_CTS10-L.aif"
asigR ftconv ainR, gifilR, iplen, iskipsamples, iirlen, iskipinit

outs asigL, asigR

endin




i1 0 40





Once rendered it I get the followong message:

ftable 101:
deferred alloc
soundin cannot open Decollo_01_01_L.aif
ftable 101: Failed to open file
f101     0.00     0.00    -1.00  "Decollo_01_01_L.aif" ...
INIT ERROR in instr 0: ftgen error
gifilL	ftgen.iS	0	0	0	-1	"Decollo_01_01_L.aif"	0	0	0	
ftable 101:
deferred alloc
soundin cannot open Decollo_01_01_R.aif
ftable 101: Failed to open file
f101     0.00     0.00    -1.00  "Decollo_01_01_R.aif" ...
INIT ERROR in instr 0: ftgen error
gifilR	ftgen.iS	0	0	0	-1	"Decollo_01_01_R.aif"	0	0	0	
header init errors


The soundfiles I'm playing didn't show problems in other orchestras and with
other opcodes, even using a ftgen. I am wondering what's wrong in this
case... 



--
View this message in context: http://csound.1045644.n5.nabble.com/ftgen-in-a-ftconv-orc-tp5747916.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here