Csound Csound-dev Csound-tekno Search About

v3.484 convolve problem

Date1998-08-07 19:51
FromDavid Boothe
Subjectv3.484 convolve problem
The following orc compiles just fine with version 3.482, but with 3.484
I get the following error:

CONVOLVE: output channels not equal to number of channels in source

Has there been a change in convolve? Documentation only lists one
argument for ain.

Thanks for your time.

David M. Boothe, Audio Director 
Lyrick Studios, Dallas, TX

;convolution test - orc--------------
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

instr	1
 ilen   =         4.049
 idly   =         (ilen*kr)/kr
 asend  soundin   711
 a1,a2  convolve  asend,102,0
 krms1  rms       a1
 krms2  rms       a2
 a1.1   gain      a1,sqrt(krms1)*2.5
 a2.1   gain      a2,sqrt(krms2)*2.5
 adly   delay     asend, idly
 amix1  =         adly+a1.1
 amix2  =         adly+a2.1
 aout1  balance   amix1,asend
 aout2  balance   amix2,asend
        out       amix1,amix2
endin


Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24445;
          7 Aug 98 23:42 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa08873;
          7 Aug 98 23:41 BST
Received: (qmail 28927 invoked from network); 7 Aug 1998 22:42:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 7 Aug 1998 22:42:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA00453); Fri, 7 Aug 1998 23:39:37 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 7 Aug 1998 23:39:27 +0100
Received: from davinci.cnart.mx [200.15.13.1] by hermes via SMTP (XAA20772); Fri, 7 Aug 1998 23:39:19 +0100 (BST)
Received: from vangogh.cnart.mx by davinci.cnart.mx via SMTP (951211.SGI.8.6.12.PATCH1502/940406.SGI.AUTO)
	for  id RAA05783; Fri, 7 Aug 1998 17:37:39 -0700
Message-ID: <35CB9DD3.41C6@correo.cnart.mx>
Date: Fri, 07 Aug 1998 17:37:39 -0700
From: Armando Contreras 
Organization: CMM
X-Mailer: Mozilla 3.04C-SGI (X11; I; IRIX 6.2 IP22)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: HRTF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello everybody

I'm using csound 3.45, with OS 6.2 and a INDY.
I'd tried to expand de HRTFcompact.tar.z and the results were,
when running csound, a bad message that said: error in read.
The question: where may I get the correct tar.z for my OS (6.2)

Thanks in advance.


Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24478;
          8 Aug 98 0:05 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa10189;
          8 Aug 98 0:05 BST
Received: (qmail 29491 invoked from network); 7 Aug 1998 23:05:14 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 7 Aug 1998 23:05:14 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA10679); Sat, 8 Aug 1998 00:02:48 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 8 Aug 1998 00:07:15 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (AAA09415); Sat, 8 Aug 1998 00:02:36 +0100 (BST)
Received: (qmail 8492 invoked by uid 1964); 7 Aug 1998 16:02:01 -0700
Date: Fri, 7 Aug 1998 16:02:01 -0700 (PDT)
From: "Matt J. Ingalls" 
cc: csound@maths.ex.ac.uk
Subject: that convolve bug
In-Reply-To: <35CB9DD3.41C6@correo.cnart.mx>
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


that someone posted a few hours ago works on the Mac port, at least.
are you sure your convolve.* file was analyzed as stereo?

-matt






Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24795;
          8 Aug 98 1:55 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa15579;
          8 Aug 98 1:55 BST
Received: (qmail 12473 invoked from network); 8 Aug 1998 00:55:26 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 8 Aug 1998 00:55:26 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA23939); Sat, 8 Aug 1998 01:52:51 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 8 Aug 1998 01:52:41 +0100
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (BAA27300); Sat, 8 Aug 1998 01:52:40 +0100 (BST)
Received: by NEPTUNE.lyrick.com with Internet Mail Service (5.5.1960.3)
	id ; Fri, 7 Aug 1998 19:51:33 -0500
Message-ID: <283AABB8FD0DD21187C200A0C995F5DE0ECC3E@NEPTUNE.lyrick.com>
From: David Boothe 
To: csound@maths.ex.ac.uk
Subject: RE: that convolve bug
Date: Fri, 7 Aug 1998 19:51:32 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.1960.3)
Content-Type: text/plain
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Yes. When compiled with Winsound 3.482 and Maldonado's RT Sound
everything works - correct messages from the program and resultant
soundfile is stereo. I only get the message with Winsound 3.484.

Thanks.

-David.

-----Original Message-----
From: Matt J. Ingalls [mailto:ingalls@mills.edu]
Sent: August 07, 1998 18:02
Cc: csound@maths.ex.ac.uk
Subject: that convolve bug



that someone posted a few hours ago works on the Mac port, at least.
are you sure your convolve.* file was analyzed as stereo?

-matt





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25248;
          8 Aug 98 8:26 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa03914;
          8 Aug 98 8:26 BST
Received: (qmail 12503 invoked from network); 8 Aug 1998 07:26:13 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 8 Aug 1998 07:26:13 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA04865); Sat, 8 Aug 1998 08:23:01 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 8 Aug 1998 08:22:53 +0100
Received: from root@bohm.anu.edu.au [150.203.21.88] by hermes via ESMTP (IAA15241); Sat, 8 Aug 1998 08:22:49 +0100 (BST)
Received: from [150.203.14.13] (snagglepuss.anu.edu.au [150.203.14.13])
	by bohm.anu.edu.au (8.8.8/8.8.8) with SMTP id RAA16685
	for ; Sat, 8 Aug 1998 17:21:57 +1000 (EST)
Date: Sat, 8 Aug 1998 17:21:57 +1000 (EST)
Message-Id: <199808080721.RAA16685@bohm.anu.edu.au>
To: csound@maths.ex.ac.uk
From: Arne Hanna 
Subject: Strange value
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi Folks.  This statement: i7 = (p5<0? 1.021975/cpspch(abs(p5)) :
cpspch(p5)/1.021975) 
is from Jim Dashow's "In Winter Shine" orc, specifically from instr 15.

The first value for p5 in the score is 0.
Usually, dividing 0 by x = 0, but for some reason, in csound, cpspch(0) =
1.022 and the "if not" part of the conditional, returns 1.
What's going on here?

Cheers
Arne