Csound Csound-dev Csound-tekno Search About

realtime MIDI

Date1997-07-31 15:11
Fromscopey@hooked.net
Subjectrealtime MIDI
Greetings,

I've recently been playing around with real-time MIDI input with 
PPCsound 0.3.1b on a Performa 6116(66Mhz) and I always get lots of 
clicks (more clicks with higher kr).  I'm hoping someone with a faster 
machine or more savvy might try this short example and let me know how 
well it works and/or where I'm going wrong.

I guess if real-time MIDI input to Csound worked perfectly, we wouldn't 
need Reality or the new Yamaha soft-synth.

Thanks,
Jeff

;real-time MIDI experiment
;Jeff Baker		7/97
;orc:
sr      =       44100
kr      =       100
ksmps   =       441

		instr  1
kpch cpsmidib 
kbend pchbend 20
a1 oscil 10000, kpch+kbend, 1
out a1
      endin

;		instr 2

;kpch pchmidib 
;kpch = kpch - 2
;kbend pchbend 7
;kchpr chpress 500


;display kbend, .1
;a1 foscil 15000, 50,  cpspch(kpch),200, kbend, 1
;a1 butterbp a1, kchpr+500, 500
;out a1
;		endin
		

;real-time MIDI experiment
;Jeff Baker		7/97
;sco
f1 0 4096 10 1
f0 300
e



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15888;
          31 Jul 97 23:31 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa17880;
          31 Jul 97 23:30 BST
Received: (qmail 23963 invoked from network); 31 Jul 1997 22:30:48 -0000
Received: from hermes.ex.ac.uk (194.83.11.25)
  by pat.bath.ac.uk with SMTP; 31 Jul 1997 22:30:48 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA24141); Thu, 31 Jul 1997 23:24:02 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 31 Jul 97 23:23:51 +0100
Received: from root@csc-sun.math.utah.edu [128.110.198.2] by hermes via ESMTP (XAA24135); Thu, 31 Jul 1997 23:23:49 +0100
Received: from sunscreen.math.utah.edu (rackl@sunscreen.math.utah.edu [155.99.144.58])
	by csc-sun.math.utah.edu (8.8.5/8.8.5) with ESMTP id QAA03121;
	Thu, 31 Jul 1997 16:24:16 -0600 (MDT)
From: Les Rackl 
Received: (from rackl@localhost)
	by sunscreen.math.utah.edu (8.8.5/8.8.5) id QAA27470;
	Thu, 31 Jul 1997 16:24:15 -0600 (MDT)
Date: Thu, 31 Jul 1997 16:24:15 -0600 (MDT)
To: tjt@geoplex.com
Cc: csound@maths.ex.ac.uk
Subject: Re: Musical Languages BOF at Conference for Domain-Specific
        Languages
In-Reply-To: Your message of Wed, 30 Jul 1997 10:02:34 +0100 (BST)
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Excuse my ignorance, what is SAOL?

Pointers?


thanks,

les

> too, since that's the whole point of these languages.  This invitation
> also extends to anyone working on SAOL, as well as anyone else doing
> musical language work that they'd like to present.
> 
>       ...Tim Thompson...AT&T Labs...tjt@geoplex.com...

---------------------------------------------------------------------
Les Rackl                                         rackl@math.utah.edu
                                      http://www.math.utah.edu/~rackl
---------------------------------------------------------------------



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15930;
          1 Aug 97 0:00 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa18141;
          1 Aug 97 0:00 BST
Received: (qmail 24720 invoked from network); 31 Jul 1997 23:00:24 -0000
Received: from hermes.ex.ac.uk (194.83.11.25)
  by pat.bath.ac.uk with SMTP; 31 Jul 1997 23:00:24 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA24762); Thu, 31 Jul 1997 23:52:05 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 31 Jul 97 23:51:57 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (XAA24752); Thu, 31 Jul 1997 23:51:55 +0100
Received: (qmail 4239 invoked by uid 3049); 31 Jul 1997 22:52:32 -0000
Message-Id: <19970731225232.4238.qmail@ella.mills.edu>
From: David Madole 
Subject: Re: realtime MIDI
To: scopey@hooked.net
Date: Thu, 31 Jul 1997 15:52:32 -0700 (PDT)
Cc: csound@maths.ex.ac.uk
Reply-To: madole@mills.edu
In-Reply-To: <33E09D2E.59C@hooked.com> from "scopey@hooked.net" at Jul 31, 97 02:11:58 pm
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> 
> Greetings,
> 
> I've recently been playing around with real-time MIDI input with 
> PPCsound 0.3.1b on a Performa 6116(66Mhz) and I always get lots of 
> clicks (more clicks with higher kr).  I'm hoping someone with a faster 
> machine or more savvy might try this short example and let me know how 
> well it works and/or where I'm going wrong.
> 

Try playing with the audio buffer sizes - it works well on a
6100/60, so it should work on your machine. 

> I guess if real-time MIDI input to Csound worked perfectly, we wouldn't 
> need Reality or the new Yamaha soft-synth.
> 

I myself haven't needed Reality for years.

Also try getting Grainwave (shareware) from the Mills ftp site.  It is 
optimized for real-time.

Dave

Date1997-07-31 23:52
FromDavid Madole
SubjectRe: realtime MIDI
> 
> Greetings,
> 
> I've recently been playing around with real-time MIDI input with 
> PPCsound 0.3.1b on a Performa 6116(66Mhz) and I always get lots of 
> clicks (more clicks with higher kr).  I'm hoping someone with a faster 
> machine or more savvy might try this short example and let me know how 
> well it works and/or where I'm going wrong.
> 

Try playing with the audio buffer sizes - it works well on a
6100/60, so it should work on your machine. 

> I guess if real-time MIDI input to Csound worked perfectly, we wouldn't 
> need Reality or the new Yamaha soft-synth.
> 

I myself haven't needed Reality for years.

Also try getting Grainwave (shareware) from the Mills ftp site.  It is 
optimized for real-time.

Dave