Csound Csound-dev Csound-tekno Search About

-L stdin

Date1998-01-29 06:02
Fromseither
Subject-L stdin
Hello!
I use RTsound1.9 and win95
and I want to issue score events to csound with the keyboard of my pc
in order to use csound as a real-time tone generator.
The command line is:

.orc\sinus.orc .sco\sinus.sco -odevaudio -b4410 -L stdin

Among other messages from the compiler i get the following warning:

WARNING: -L stdin: system has no fcntl function to get stdin
stdmode = 00000000 Linefd = 0

Then I try to type in an event:
i1	0	2

And apart from hearing nothing this message follows:

sensLine 7 CHARS
	rtevent: T 0.002 TT 0.002 M:19996.8
new alloc for instr 1:

Then all I can do is ^C. 	:-C

What am I doing wrong?		stefan

sinus.orc:
==========
;sinus.orc
sr=44100
kr=441
ksmps=100
nchnls=1

instr 1
	a1 oscili 20000,400 , 1
	out a1
endin
=====================================

and finally, my masterpiece of composition, 
sinus.orc:
===========
;sinus.sco
f1 0 8192 10 1000

i1	0	100
============