Csound Csound-dev Csound-tekno Search About

Re: Reversion tests

Date1999-04-06 14:46
FromJosep M Comajuncosas
SubjectRe: Reversion tests
Id suggest to prepare a number of simple examples to start with, and
write all the test orchestras in a similar way, so the opcode could be
easily recognized.
Otherwise the examples would not be clearly uniformized at all...


jpff@maths.bath.ac.uk wrote:

> Message written at 06 Apr 1999 11:07:56 +0530
>
> I am looking for a set of simple tests to ensure that opcodes are
> working correctly(...)





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21514;
          6 Apr 99 14:57 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10UWLx-0001OZ-00
	for jpff@maths.bath.ac.uk; Tue, 6 Apr 1999 14:57:21 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (OAA12565); Tue, 6 Apr 1999 14:56:27 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 6 Apr 1999 14:56:18 +0100
Received: from root@lix.intercom.es [194.179.21.2] by hermes via ESMTP (OAA10009); Tue, 6 Apr 1999 14:56:16 +0100 (BST)
Received: from intercom.es (iv3-90.intercom.es [195.76.131.90]) by lix.intercom.es (8.7.3/8.6.12) with ESMTP id PAA28612; Tue, 6 Apr 1999 15:54:44 +0100
Message-ID: <370A1029.6470C8CD@intercom.es>
Date: Tue, 06 Apr 1999 15:46:18 +0200
From: Josep M Comajuncosas 
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk
CC: csound@maths.ex.ac.uk
Subject: Re: Reversion tests
References: 
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id OAA10009
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I=B4d suggest to prepare a number of simple examples to start with, and
write all the test orchestras in a similar way, so the opcode could be
easily recognized.
Otherwise the examples would not be clearly uniformized at all...


jpff@maths.bath.ac.uk wrote:

> Message written at 06 Apr 1999 11:07:56 +0530
>
> I am looking for a set of simple tests to ensure that opcodes are
> working correctly(...)





Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22320;
          6 Apr 99 20:01 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10Ub5p-00041q-00
	for jpff@maths.bath.ac.uk; Tue, 6 Apr 1999 20:01:01 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (TAA15635); Tue, 6 Apr 1999 19:56:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 6 Apr 1999 19:56:43 +0100
Received: from out5.ibm.net [165.87.194.243] by hermes via ESMTP (TAA04191); Tue, 6 Apr 1999 19:56:41 +0100 (BST)
Received: from ibm.net (slip139-92-77-220.par.fr.ibm.net [139.92.77.220]) by out5.ibm.net (8.8.5/8.6.9) with ESMTP id SAA46432 for ; Tue, 6 Apr 1999 18:56:39 GMT
Message-ID: <370A5C89.E8DE5351@ibm.net>
Date: Tue, 06 Apr 1999 21:12:09 +0200
From: Lemoine Jean-Pierre 
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: "csound@maths.ex.ac.uk" 
Subject: wave file length accurency
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I need help on the following subject: for perfect looping in the VRML
world, I need to calculate the exact length of the sound file produced
by Csound, but it doesn't appear to be so trivial. For example, if the
last event is "i2  19.875  0.125  ", I expect the length to be 20, but
every sound editor I am using tells me 19.990. If I force the length to
20: f 0 20, I obtain also 19.990.
Where is the truth? How to have the correct length?
Thanks for your help.
jean-pierre lemoine (currently uploading HPKComposer version 1.7 on the
Web.....)



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22560;
          6 Apr 99 21:13 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10UcDl-0001d7-00
	for jpff@maths.bath.ac.uk; Tue, 6 Apr 1999 21:13:17 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA01149); Tue, 6 Apr 1999 21:11:36 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 6 Apr 1999 21:11:24 +0100
Received: from out1.ibm.net [165.87.194.252] by hermes via ESMTP (VAA08790); Tue, 6 Apr 1999 21:11:23 +0100 (BST)
Received: from ibm.net (slip139-92-73-4.par.fr.ibm.net [139.92.73.4]) by out1.ibm.net (8.8.5/8.6.9) with ESMTP id UAA11798 for ; Tue, 6 Apr 1999 20:11:20 GMT
Message-ID: <370A6E2C.8EA56535@ibm.net>
Date: Tue, 06 Apr 1999 22:27:24 +0200
From: Lemoine Jean-Pierre 
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: "csound@maths.ex.ac.uk" 
Subject: ANNOUNCE HPKComposer 1.7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi Csounders,
HPKComposer 1.7 is now on the Web site hplank.inetpc.com. This is a
major version with the following new features:
    - Composition. parameter normalisation to 127 (except event time and
event duration). Segment graphical editor for drawing and editing Masks
and Segment Generator. New composer tool: step sequencer (analog like).
    - Software synthetizer. New sound generators, filters and effects.
More modulation capabilites.
    - 3D builder tool for creating VRML97 worlds. Scene template
providing background world, multi sound spatialisation,
    - no more use of the Java Media Framework, use an external sound
player instead.
The GUI has been enhanced, the documentation is online (sorry, not
complete, time is lacking a lot). Installation is easy if you are using
the Java JDK 1.2 (now Java2).
You will discover in the 3D builder that it's possible to control the
evolution of graphical objects by using an external MIDI device. This is
the first step in building an interactive environment. I hope to provide
such capabilities to the sound synthesis in the future, but I certainly
need to switch to another runtime environment (maybe java 3d, and
AXCsound).
As the external MIDI control is not ready for distribution yet ( and
anyway is specific to W32 and cosmo player), the program required for
this feature is not part of the package.
Have fun, as I have fun myself using Csound.
jean-pierre lemoine




Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23062;
          7 Apr 99 0:55 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10Ufgh-0001iD-00
	for jpff@maths.bath.ac.uk; Wed, 7 Apr 1999 00:55:23 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (AAA14504); Wed, 7 Apr 1999 00:54:16 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 7 Apr 1999 00:54:08 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (AAA17613); Wed, 7 Apr 1999 00:54:06 +0100 (BST)
Received: from [134.173.54.6] (Presume06.Rmt.HMC.Edu [134.173.54.6])
 by THUBAN.AC.HMC.EDU (PMDF V5.2-32 #36444)
 with ESMTP id <01J9PXLU0C3O9TKDDX@THUBAN.AC.HMC.EDU> for
 csound@maths.ex.ac.uk; Tue, 6 Apr 1999 16:54:03 PST
Date: Tue, 06 Apr 1999 16:53:05 -0700
From: Erik Spjut 
Subject: Re: wave file length accurency
In-reply-to: <370A5C89.E8DE5351@ibm.net>
X-Sender: spjut@thuban.ac.hmc.edu
To: Lemoine Jean-Pierre , 
    "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

Try running it with kr=sr. Csound always rounds (truncates?) things to the
end of the nearest ksmps frame. If kr=sr you should be good to the nearest
1/sr seconds (allowing for tempo of course).

At 9:12 PM +0200 4/6/99, Lemoine Jean-Pierre wrote:
>I need help on the following subject: for perfect looping in the VRML
>world, I need to calculate the exact length of the sound file produced
>by Csound, but it doesn't appear to be so trivial. For example, if the
>last event is "i2  19.875  0.125  ", I expect the length to be 20, but
>every sound editor I am using tells me 19.990. If I force the length to
>20: f 0 20, I obtain also 19.990.
>Where is the truth? How to have the correct length?
>Thanks for your help.
>jean-pierre lemoine (currently uploading HPKComposer version 1.7 on the
>Web.....)


----------------------------------------------------------------
Prof. R. Erik Spjut (spyoot rhymes with cute)
Engineering Department, Harvey Mudd College, Claremont, CA 91711
erik_spjut@hmc.edu   Ph. (909) 607-3890  Fax (909) 621-8967




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23887;
          7 Apr 99 7:05 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10UlSX-0004G2-00
	for jpff@maths.bath.ac.uk; Wed, 7 Apr 1999 07:05:09 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (HAA03438); Wed, 7 Apr 1999 07:04:12 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 7 Apr 1999 07:04:00 +0100
Received: from out5.ibm.net [165.87.194.243] by hermes via ESMTP (HAA04496); Wed, 7 Apr 1999 07:03:59 +0100 (BST)
Received: from ibm.net (slip139-92-73-114.par.fr.ibm.net [139.92.73.114]) by out5.ibm.net (8.8.5/8.6.9) with ESMTP id GAA79304; Wed, 7 Apr 1999 06:03:50 GMT
Message-ID: <370AF8F5.515A655E@ibm.net>
Date: Wed, 07 Apr 1999 08:19:34 +0200
From: Lemoine Jean-Pierre 
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: Erik Spjut 
CC: "csound@maths.ex.ac.uk" 
Subject: Re: wave file length accurency
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Ho Ho! Thanks for this explanation, this should be the problem. Unfortunatly,
kr=sr doesn't solve the problem
i2  19.7834  0.2174 give a file legnth of 20, not 20.0008. In fact, using
kr=sr/10 gives a better result (20.006).
I think there is no solution in the Csound space. As the deviation is not
important, I can build the VRML worl and the synchronisation with the sounds,
and then set the length of the sound files with an editor (or maybe using
Csound in a second pass).
Thanks for your help

Erik Spjut wrote:

> Try running it with kr=sr. Csound always rounds (truncates?) things to the
> end of the nearest ksmps frame. If kr=sr you should be good to the nearest
> 1/sr seconds (allowing for tempo of course).
>
> ----------------------------------------------------------------
> Prof. R. Erik Spjut (spyoot rhymes with cute)
> Engineering Department, Harvey Mudd College, Claremont, CA 91711
> erik_spjut@hmc.edu   Ph. (909) 607-3890  Fax (909) 621-8967





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24119;
          7 Apr 99 9:25 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10Undv-0001tm-00
	for jpff@maths.bath.ac.uk; Wed, 7 Apr 1999 09:25:03 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (JAA06018); Wed, 7 Apr 1999 09:22:49 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 7 Apr 1999 09:22:37 +0100
Received: from [193.70.163.11] by hermes via ESMTP (JAA14738); Wed, 7 Apr 1999 09:12:02 +0100 (BST)
Received: from se103005850010.do103005850001 (SE103005850010 [10.91.107.207]) by se103015850020.mps.it with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id 2N5JKFCR; Wed, 7 Apr 1999 10:07:06 +0200
Received: from SE103005824004 ([10.218.219.234]) by se103005850010.do103005850001 with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id 2HNKLRQJ; Wed, 7 Apr 1999 10:10:22 +0200
Message-ID: <000701be80ce$c4aef050$eadbda0a@se103005824004>
Reply-To: Alessandro Andreuccetti 
From: Alessandro Andreuccetti 
To: CSound list 
Subject: newbie question
Date: Wed, 7 Apr 1999 10:15:15 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0004_01BE80DF.8797FDE0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BE80DF.8797FDE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi folks,
as a new csound user i have got some questions which have'nt answer in =
the faq.
But the more important question is the following: how can i made a score =
just a bit more complicated than those of the examples? In other words i =
think impossible to insert each note in their lenght when the =
composition is a lot of notes big.
I think at a translator from sheets music to csound score. There is =
something like it in the cyberspace?
Thanks.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Alessandro Andreuccetti
email:  aandreuccetti@bigfoot.com
web 1:  http://andreuccetti.cjb.net
music:  http://members.xoom.com/andrex_1955
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

------=_NextPart_000_0004_01BE80DF.8797FDE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable









Hi folks,
as a new = csound user i have=20 got some questions which have'nt answer in the faq.
But the more important question is the following: = how can i=20 made a score just a bit more complicated than those of the examples? In = other=20 words i think impossible to insert each note in their lenght when the=20 composition is a lot of notes big.
I think at a translator from sheets music to csound = score.=20 There is something like it in the cyberspace?
Thanks.
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Alessandro=20 Andreuccetti
email:  aandreuccetti@bigfoot.comweb=20 1:  http://andreuccetti.cjb.net
m= usic: =20 http://members.xoom.com/andr= ex_1955
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
------=_NextPart_000_0004_01BE80DF.8797FDE0--   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24355; 7 Apr 99 11:12 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 10UpJg-0004Ob-00 for jpff@maths.bath.ac.uk; Wed, 7 Apr 1999 11:12:16 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (LAA04622); Wed, 7 Apr 1999 11:10:37 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 7 Apr 1999 11:10:25 +0100 Received: from ds9.sci.fi [195.74.0.54] by hermes via ESMTP (LAA01744); Wed, 7 Apr 1999 11:10:24 +0100 (BST) Received: from sci.fi (MCCXVI.dyn.saunalahti.fi [195.197.4.16]) by ds9.sci.fi (8.9.1/8.9.1) with ESMTP id NAA25534 for ; Wed, 7 Apr 1999 13:10:16 +0300 (EET DST) Message-ID: <370B2F08.B5611B4B@sci.fi> Date: Wed, 07 Apr 1999 13:10:16 +0300 From: Matti Koskinen X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.35 i586) MIME-Version: 1.0 To: Csound Subject: Re: newbie question References: <000701be80ce$c4aef050$eadbda0a@se103005824004> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk > Alessandro Andreuccetti wrote: > > Hi folks, > as a new csound user i have got some questions which have'nt answer in > the faq. > But the more important question is the following: how can i made a > score just a bit more complicated than those of the examples? In other > words i think impossible to insert each note in their lenght when the > composition is a lot of notes big. > I think at a translator from sheets music to csound score. There is > something like it in the cyberspace? > Thanks. > > ====================================== > Alessandro Andreuccetti > email: aandreuccetti@bigfoot.com > web 1: http://andreuccetti.cjb.net > music: http://members.xoom.com/andrex_1955 > ====================================== one thing that comes to my mind is to play the music with midi-instrument and then use csound either directly with midi or convert midi to csound score. midi2sco does this for example. but scanning first a symphony by B and then giving it to csound would be rather interesting. -matti mjkoskin@sci.fi   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24449; 7 Apr 99 11:49 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 10Upte-00026l-00 for jpff@maths.bath.ac.uk; Wed, 7 Apr 1999 11:49:26 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (LAA09375); Wed, 7 Apr 1999 11:45:45 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 7 Apr 1999 11:45:33 +0100 Received: from root@maild.telia.com [194.22.190.3] by hermes via ESMTP (LAA08825); Wed, 7 Apr 1999 11:45:32 +0100 (BST) Received: from d1o211.telia.com (root@d1o211.telia.com [195.204.228.241]) by maild.telia.com (8.8.8/8.8.8) with ESMTP id MAA08974 for ; Wed, 7 Apr 1999 12:45:31 +0200 (CEST) Received: from apas.no (t3o211p33.telia.com [195.204.228.153]) by d1o211.telia.com (8.9.3/8.8.5) with ESMTP id MAA24237 for ; Wed, 7 Apr 1999 12:45:30 +0200 (CEST) Message-ID: <370B301F.BE90F2D5@apas.no> Date: Wed, 07 Apr 1999 12:14:55 +0200 From: Roger Klaveness X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: csound list Subject: Bug report, string arguments Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk If one is using more than one string argument it seems like csound get confused Here is an example p4 is a name for a wavefile p5 is a name for a convolution analysis file it looks like csound only can take one string argument and then uses the last one it tries to read the convolvefile as a wavefile and then complains that it haven't got a header ;orc sr=44100 kr=4410 ksmps=10 nchnls=2 instr 1 al,ar diskin p4,0.25 aoutl,aoutr convolve al,p5 outs aoutl,aoutr endin ;sco i1 0 10 "vannspeeddown2.WAV" "vannspeeddown1.cvanal" ;output : MIT Csound: 3.53 (Mar 21 1999) orch now loaded graphics not supported on this terminal, ascii substituted audio buffered in 16384 sample-frame blocks writing 65536-byte blks of shorts to D:\WINNT\Profiles\roger\Desktop\convolve_test.WAV (WAV) SECTION 1: new alloc for instr 1: WARNING: no soundin header, presuming orchestra sr WARNING: E:\VirginMother/vannspeeddown1.cvanal has no soundfile header, reading as shorts, 2 chnls audio sr = 44100, stereo, reading channel 2 file E:\VirginMother/vannspeeddown1.cvanal (67108920 bytes) loaded into memory .......................... B 0.000 .. 10.000 T 10.000 TT 10.000 M: 0.0 0.0 end of score. overall amps: 0.0 0.0 overall samples out of range: 0 0 0 errors in performance .27 65536-byte soundblks of shorts written to D:\WINNT\Profiles\roger\Desktop\co nvolve_test.WAV (WAV)