Csound Csound-dev Csound-tekno Search About

RE: WaveIn in DirectCsound

Date1999-02-09 15:31
FromDavid Boothe
SubjectRE: WaveIn in DirectCsound
Sergey-

Maybe I'm missing your point, but have you tried the printk or printks
opcodes? print runs at i-rate, printk and printks at k-rate. To print value
of 'k_in' on every k-rate cycle use:

   printk 1, k_in

Or to print 'k_in' value every 'itime' seconds:
   
    printks "k_in = %f  ", itime, k_in, 0, 0, 0

You can format the 'k_in' value with  C-style printf() syntax, except it
doesn't like "\n" for some reason. (Anybody know why that is?)

Hope this helps.

-David.

Sergey wrote:

> If to add "midi in" flag -+K to this command line I can get
> renewed meanings of k_in but only pressing keys on midi keaboard.
> It's understood too.
> 
> Now it seems the entailment of my idea is near.
> I'd like to control k_in (to print, at least) every 't' seconds or,
> say, with kr rate.