Csound Csound-dev Csound-tekno Search About

Re: Trying DirectCsound 2.0

Date1998-10-14 10:34
FromGabriel Maldonado
SubjectRe: Trying DirectCsound 2.0
In theory all 128 controllers of each MIDI channel should operate normally in DirectCsound
2.0 (as well as in DirectCsound 2.1).
Maybe your Peavy controller needs to be configured to send these message properly. I
suggest you to use MIDI-OX or another midi monitor  program in order to check what
messeges are really received by the MIDI port.
-- 
Gabriel Maldonado

http://www.agora.stm.it/G.Maldonado/home2.htm

Yair Kass wrote:
> 
> Sorry for repeating myself.
> I asked this a while ago and thought I might have
> more luck this time.
> 
> It went something like this :
> Hi,
>    I would like to run one of my codes, written for RTCsound,
>   on DirectCsound 2.0, and it seems like everything works,
>   except that some MIDI controllers (using Peavey PC1600), work
>   and others don't.(e.g. controller no. 1 is suddenly inactivated).
>   It was bug free on RT a few minutes earlier.
> 
>    Does DirectCsound have problems with certain controller numbers ?
>    Did I miss anything basic regarding MIDI and the transition to
> DirectCS 2.0 ?
> 
>    It was hard to tell at the state I was -  but I think this was my
> main problem.
> 
>    Any advise/clues ?  :-}
> 
>    Yair.



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03479;
          14 Oct 98 22:26 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa04281;
          14 Oct 98 22:26 BST
Received: (qmail 20111 invoked from network); 14 Oct 1998 21:26:49 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 14 Oct 1998 21:26:49 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA04498); Wed, 14 Oct 1998 22:23:27 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 14 Oct 1998 22:23:16 +0100
Received: from mailout05.btx.dtag.de [194.25.2.153] by hermes via SMTP (WAA05902); Wed, 14 Oct 1998 22:23:15 +0100 (BST)
Received: from fwd06.btx.dtag.de (fwd06.btx.dtag.de [194.25.2.166])
	by mailout03.btx.dtag.de with smtp 
	id 0zTXhh-0003jQ-00; Wed, 14 Oct 1998 22:39:29 +0200
Received: from pC19F7A09.dip.t-online.de (0402102285-0001(btxid)@[193.159.122.9]) 
	by fwd06.btx.dtag.de with smtp
	id ; Wed, 14 Oct 1998 21:57:29 +0200
To: Lemoine Jean-Pierre 
Cc: "csound@maths.ex.ac.uk" 
Subject: Re: HPKComposer setup
Date: Wed, 14 Oct 1998 19:58:39 GMT
Message-ID: <3623b668.5980520@pop.btx.dtag.de>
References: <3622CD06.A4315883@charlieb.com> <362379BA.FED43D43@ibm.net>
In-Reply-To: <362379BA.FED43D43@ibm.net>
X-Mailer: Forte Agent 1.5/32.452
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Sender: 0402102285-0001@t-online.de
From: Jens Reimer 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

On Tue, 13 Oct 1998 18:03:06 +0200, you wrote:
hurray,
i managed it to work.
thanks for the help.

>HPKcomposer setup isn't easy. I am building a new version with new =
features
>that will be delivered when the jdk 1.2 will be available ans setup =
should
>be easier. Now, back to the current version. First of all, it is running=
 on
>w95, w98, nt 4.0 and Linux. If HPKComposer isn't running, it's generally
>because of a Java classpath problem.
>JDK 1.1.6 or JRE 1.1.6 must be installed on your PC. So far, I don't =
think
>jdk 1.1.7 as a problem, but I haven't tested it. Then the current =
version
i use 1.1.7 and it works.

>that is on the server requires Swing 1.1 beta3, other levels won't work.
>Here is how to setup without the Java Media Framework installed and =
used.
where can i get this                     =
=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=B0=
=B0=B0

>The classpath is case sensitive. It's very important to respect the =
case.
>In fact, some information in the classpath are redondant. If the JDK has
>been correctly installed, you don't need to specify classes.zip.
>Thus the following classpath works in every case:
>".;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"
>
>Error message  "Exception in thread "main" =
java.lang.NoClassDefFoundError:
>                        javax/swing/UIManager
>            at =
commonView.CSoundApplication.main(CSoundApplication.java)"
>The swingall.jar isn't in the classpath or the level of Swing isn't 1.1
>beta3
>
>
the main fault was my incorrect pathsettings.
case sensitive!!!!!
e.g=20
the device d: should have written as D:\
silly!!

PS:
does the java and swing path setting in autoexec.bat work under win95?
=20
Und Tsch=FCss
Jens Reimer

Email:
jens.reimer@t-online.de



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03628;
          14 Oct 98 23:42 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa10696;
          14 Oct 98 23:42 BST
Received: (qmail 24512 invoked from network); 14 Oct 1998 22:42:24 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 14 Oct 1998 22:42:24 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA02626); Wed, 14 Oct 1998 23:39:36 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 14 Oct 1998 23:39:25 +0100
Received: from falcon.glas.apc.org [193.124.5.54] by hermes via ESMTP (XAA15375); Wed, 14 Oct 1998 23:39:24 +0100 (BST)
Received: from mail.glas.apc.org([193.124.5.37]) (1601 bytes) by falcon.glas.apc.org
	via sendmail with P:esmtp/R:inet_hosts/T:inet_zone_smtp
	(sender: ) 
	id 
	for ; Thu, 15 Oct 1998 02:39:28 +0400 (WSU DST)
	(Smail-3.2.0.102 1998-Aug-2 #6 built DST-Sep-16)
Received: from default(src addr [194.154.81.10]) (1220 bytes) by mail.glas.apc.org
	via sendmail with P\:esmtp/R:smart_host/T:smtp
	(sender: ) 
	id 
	for ; Thu, 15 Oct 1998 02:39:15 +0400 (WSU DST)
	(Smail-3.2.0.96 1997-Jun-2 #11 built DST-Aug-25)
Message-Id: 
From: Sergey 
To: csound@maths.ex.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: adsyn	
Date: Thu, 15 Oct 1998 02:39:41 +0300
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi!  
Can anybody explain how to use adsyn? I tried to do something with 
winsound=>Utilities=>Hetrodyne Analysis. A short (2.1 sec.) guitar.wav (sr
44100)
was defined as input, and guitar.ads - as output.
 Flags: Sample rate= 0, Begin time=0, Duration=0, Fundamental=100,
Harmonic=10,
Max=32767, min=64, Number=256, Filters=0. The result guitar.ads was about 9
kb
(something unreadable). Then I made orc+sco (sorry, couldn't invent smth.
better):

;Orc
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
   a1   adsyn	1, 1, 1,  "guitar.ads" ;in current folder
        out     a1
endin
 
;Sco
f0 5
e

There was no error messages, but the result wav file contents only silence.

Please, send any simple but RIGHT example of hetro+adsyn!

   Thank you,
Sergey Batov     batov@glasnet.ru


Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03819;
          15 Oct 98 0:45 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa17110;
          15 Oct 98 0:45 BST
Received: (qmail 26640 invoked from network); 14 Oct 1998 23:44:55 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 14 Oct 1998 23:44:55 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA23290); Thu, 15 Oct 1998 00:40:38 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 15 Oct 1998 00:40:30 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (AAA12043); Thu, 15 Oct 1998 00:40:25 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
 by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #D3207)
 with ESMTP id <01J2YUG18IIO9N4BCR@THUBAN.AC.HMC.EDU> for
 csound@maths.ex.ac.uk; Wed, 14 Oct 1998 16:40:25 PST
Date: Wed, 14 Oct 1998 16:42:59 -0700
From: Erik Spjut 
Subject: Re: adsyn
In-reply-to: 
X-Sender: spjut@thuban.ac.hmc.edu
To: Sergey , csound@maths.ex.ac.uk
Message-id: 
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

At 2:39 AM +0300 10/15/98, Sergey wrote:
>Hi!
>Can anybody explain how to use adsyn?

A little fancier than you need but here:

 sr = 22050
 kr = 2205
 ksmps = 10

       instr    1 ; plays a note of length p3 from an analysis file of
length p6
     ; p3 - usual note duration
     ; p6 - length of note analyzed for adsyn file. You either have to know
this
     ;        from when you ran "hetero" or you have to find the length
     ;        from trial and error.
 idur =  p6/p3
 a1    adsyn    1, p5, idur, "nhtest2.adsyn"
      out    a1
      endin

     instr    2 ; plays a note of length p3 from an analysis file of length p6
     ; Unlike instr 1, it dynamically varies the file-read rate.
     ; p3 - usual note duration
     ; p6 - length of note analyzed for adsyn file. You either have to know
this
     ;        from when you ran "hetero" or you have to find the length
     ;        from trial and error.
     ;p7 - initial playback rate. Must be positive.
 ib = (2*p6-p7*p3)/2
 k1 line p7, p3, ib
 a1    adsyn    1, p5, k1, "nhtest2.adsyn"
      out    a1
      endin

sco:
i1 0 .5 0 2.8284 1
i1 .5 1 0 2.6697 1
i1 1.5 2 0 2.5198 1
i1 3.5 .25 0 2.6697 1
i1 3.75 2.1 0 2.8284 1

i2 6 .5 0 2.8284 1 5.0
i2 6.5 1 0 2.6697 1 0.5
i2 7.5 2 0 2.5198 1 2.3
i2 9.5 .25 0 2.6697 1 1
i2 9.75 2.1 0 2.8284 1 0.1
e

Enjoy!

-------------------------------------------------------------------------------
Erik Spjut (spyoot, rhymes with cute) - Associate Professor of Engineering
and  Associate Director for Engineering Computing,  Center for Design Education
Harvey Mudd College, Claremont, CA 91711-5990  USA
Erik_Spjut@hmc.edu      Ph & Voice mail (909) 607-3890      Fax (909) 621-8967




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa04512;
          15 Oct 98 6:59 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa20935;
          15 Oct 98 6:59 BST
Received: (qmail 9760 invoked from network); 15 Oct 1998 05:58:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 15 Oct 1998 05:58:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA25755); Thu, 15 Oct 1998 06:54:47 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 15 Oct 1998 06:54:37 +0100
Received: from mx2.freewwweb.com [205.181.80.249] by hermes via ESMTP (GAA11158); Thu, 15 Oct 1998 06:54:35 +0100 (BST)
Received: from freewwweb.com (ppp-19.max-2.atl.smartworld.net [209.64.214.168])
	by mx2.freewwweb.com (8.9.1/8.9.1) with ESMTP id BAA1186834;
	Thu, 15 Oct 1998 01:55:48 -0400 (EDT)
Message-ID: <3625B81F.8625DB2C@freewwweb.com>
Date: Thu, 15 Oct 1998 01:53:51 -0700
From: threedegree 
X-Mailer: Mozilla 4.5b2 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Lemoine Jean-Pierre 
CC: "csound@maths.ex.ac.uk" 
Subject: Re: HPKComposer setup
References: <3622CD06.A4315883@charlieb.com> <362379BA.FED43D43@ibm.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I give up!!!!
can't do it
don't get it!

class not found: commonview.csound application
??????????????????????????????????????????

dont get it been trying for days!
help.

I know it's an easy solution.


Lemoine Jean-Pierre wrote:

> HPKcomposer setup isn't easy. I am building a new version with new features
> that will be delivered when the jdk 1.2 will be available ans setup should
> be easier. Now, back to the current version. First of all, it is running on
> w95, w98, nt 4.0 and Linux. If HPKComposer isn't running, it's generally
> because of a Java classpath problem.
> JDK 1.1.6 or JRE 1.1.6 must be installed on your PC. So far, I don't think
> jdk 1.1.7 as a problem, but I haven't tested it. Then the current version
> that is on the server requires Swing 1.1 beta3, other levels won't work.
> Here is how to setup without the Java Media Framework installed and used.
>
> JDK installed in the directory c:\jdk1.1.6
> Swing 1.1 beta3 in the directory c:\java\swing-1.1beta3
> HPKComposer installed in the directory c:\hpkc
> The classpath must be
> ".;c:\jdk1.1.6\lib\classes.zip;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"
>
> JRE  installed
> Swing 1.1 beta3 in the directory c:\java\swing-1.1beta3
> HPKComposer installed in the directory c:\hpkc
> The classpath must be
> ".;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"
>
> The classpath is case sensitive. It's very important to respect the case.
> In fact, some information in the classpath are redondant. If the JDK has
> been correctly installed, you don't need to specify classes.zip.
> Thus the following classpath works in every case:
> ".;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"
>
> Error message  "Exception in thread "main" java.lang.NoClassDefFoundError:
>                         javax/swing/UIManager
>             at commonView.CSoundApplication.main(CSoundApplication.java)"
> The swingall.jar isn't in the classpath or the level of Swing isn't 1.1
> beta3



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa04544;
          15 Oct 98 7:08 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa21662;
          15 Oct 98 7:08 BST
Received: (qmail 10211 invoked from network); 15 Oct 1998 06:08:18 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 15 Oct 1998 06:08:18 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA27890); Thu, 15 Oct 1998 07:03:47 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 15 Oct 1998 07:03:37 +0100
Received: from sun1.fabaris.it [194.91.204.1] by hermes via SMTP (HAA27020); Thu, 15 Oct 1998 07:03:31 +0100 (BST)
Received: from sun1.fabaris.it.fabaris.it by fabaris.it (SMI-8.6/SMI-SVR4)
	id HAA28516; Thu, 15 Oct 1998 07:47:22 +0200
Message-ID: <36259E64.7B7B@fabaris.it>
Date: Thu, 15 Oct 1998 08:04:04 +0100
From: Riccardo Bianchini 
Reply-To: rb@fabaris.it
X-Mailer: Mozilla 3.01 (Win95; I)
MIME-Version: 1.0
To: Csound 
Subject: WCShell 5.1 on the Web
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

WCShell version 5.1 for Windows 9x is on the Web.
The installation has been divided in four files for ease of download:

http://www.axnet.it/edison/wcshell51_a.zip (1116 kB)
http://www.axnet.it/edison/wcshell51_b.zip (1123 kB)
http://www.axnet.it/edison/wcshell51_c.zip (1119 kB)
http://www.axnet.it/edison/rawwaves.zip (18 kB): only required for MIDI
physical modelling UGs

Unzip them in a temporary folder and run SETUP.EXE.

WCShell is a front-end to Csound, and it includes
- Separate editors for orc & sco, plus a general purpose text editor
- File/Directory/Drive boxes for orc, sco & wav files
- Multimedia control for playing wave files
- Access to hetro, pvanal, lpanal, cvanal
- The capability to run up to 20 external programs
and much more
The package includes as well:
- Scorex, a score-to-spreadsheet converter/block editor
- Edithet, a hetro file editor
- Grafica, a graphical (time vs. pitch) score visualizer
and more.

Coming soon: CSGraph, a graphical object oriented Csound orchestra
generator.

Happy Csounding.

Riccardo 
-- 

Riccardo Bianchini, Composer
Professor, Scuola di Musica Elettronica
Conservatorio "S.Cecilia", Roma (Italy)
http://www.geocities.com/Heartland/Acres/4768