Csound Csound-dev Csound-tekno Search About

doscil?

Date1999-03-23 11:57
FromSergey Batov
Subjectdoscil?
Hi,

can anybody please say what's wrong:

sr = 22050
	kr = 441
	ksmps = 50
	nchnls = 2

	instr 10
inum	notnum
ifno	table	inum, 10 	;do keyboard mapping to ftables 

iamp	ampmidi	10000, 9
amp	linenr	iamp, 0, .2, .03
a1, a2	doscil	amp, ifno    ;read an AIFF-defined sampled instr
	outs	a1, a2
	endin

;-------------------- 

and Winsound says:

14 lines read
  instr  10  
error:  no legal opcode, line 12:
a1, a2   doscil  amp, ifno    ;read an AIFF-defined sampled instr
error:  input arg 'a2' used before defined, line 13:
  outs   a1, a2
error:  input arg 'a1' used before defined, line 13:
  outs   a1, a2
3 syntax errors in orchestra.  compilation invalid

==================================

Is 'doscil' alive?

Thanks in advance,