| Hello everbody,
Is there anyway to eliminate the DC offset, which I get everytime after a
Chebychev waveshaping of any waveform? A simple example is below.
;ORC:
sr = 44100
kr = 44100
ksmps = 1
instr 1
asig oscili 16384, 440, 1
ahm tablei asig , 2
out ahm*32768
endin
;SCO:
f1 0 32769 10 1 ; sinusoid
f2 0 32769 13 1 1 0 1 ; h0 = 0 h1 = 1
i1 0 2
e
Thanks,
Sinan Boekesoy
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27830;
21 Nov 97 1:14 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa29633;
21 Nov 97 1:15 GMT
Received: (qmail 23553 invoked from network); 20 Nov 1997 22:17:30 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 20 Nov 1997 22:17:30 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA10839); Thu, 20 Nov 1997 22:02:48 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 20 Nov 97 22:02:32 GMT
Received: from GS160.SP.CS.CMU.EDU [128.2.203.172] by hermes via SMTP (WAA12080); Thu, 20 Nov 1997 22:02:25 GMT
Message-Id: <199711202202.WAA12080@hermes>
Subject: Re: chebychev transform
To: Csound mailing list
Date: Thu, 20 Nov 1997 17:04:57 -0500 (EST)
From: Eli Brandt
In-Reply-To: <9711201833.aa25790@bbs.doruk.com.tr> from "omni" at Nov 20, 97 06:29:28 pm
X-Portmanteau: pantryptaminergeticallysisterrainbowtie
X-Mailer: ELM [version 2.4 PL25-40]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 183
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
omni wrote:
> Is there anyway to eliminate the DC offset, which I get everytime after a
> Chebychev waveshaping of any waveform? A simple example is below.
A high-pass filter.
e
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01565;
24 Nov 97 12:03 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa05867;
24 Nov 97 12:03 GMT
Received: (qmail 15619 invoked from network); 21 Nov 1997 17:05:47 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 21 Nov 1997 17:05:47 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA15732); Fri, 21 Nov 1997 16:49:35 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 21 Nov 97 16:49:08 GMT
Received: from mail-hub1.weeg.uiowa.edu [128.255.56.31] by hermes via ESMTP (QAA14362); Fri, 21 Nov 1997 16:48:52 GMT
Received: from yellow.weeg.uiowa.edu (20593@yellow.weeg.uiowa.edu [128.255.56.32]) by mail-hub1.weeg.uiowa.edu (8.7.6/8.7.3) with ESMTP id KAA28886 for ; Fri, 21 Nov 1997 10:51:31 -0600
Received: from localhost by yellow.weeg.uiowa.edu (8.7.6/client-1.3)
id KAA21820; Fri, 21 Nov 1997 10:51:31 -0600
Date: Fri, 21 Nov 1997 10:51:30 -0600 (CST)
From: "J. Southwood"
X-Sender: jdsouth@yellow.weeg.uiowa.edu
To: CSound Mailing List
Subject: Stochastic Music Program?
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I recently read that someone had updated and "ported" Xenakis's
Stochastic Music Program (SMP). Does anyone know if it is available
anywhere? I know that the early version appears as Fortran IV source in
_Formalized Music_, but I'm looking for the more up-to-date version.
Thanks,
Jon Southwood
jdsouth@blue.weeg.uiowa.edu
Jon Southwood
**********************************************
*I hear and I forget. I see and I remember.*
* I do and I understand. *
* --Chinese Proverb *
**********************************************
jdsouth@blue.weeg.uiowa.edu
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01833;
24 Nov 97 12:23 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa07098;
24 Nov 97 12:23 GMT
Received: (qmail 14535 invoked from network); 21 Nov 1997 19:03:05 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 21 Nov 1997 19:03:05 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA08949); Fri, 21 Nov 1997 18:54:14 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 21 Nov 97 18:53:57 GMT
Received: from GS160.SP.CS.CMU.EDU [128.2.203.172] by hermes via SMTP (SAA06702); Fri, 21 Nov 1997 18:53:46 GMT
Message-Id: <199711211853.SAA06702@hermes>
Subject: Re: chebychev transform
To: Csound mailing list
Date: Fri, 21 Nov 1997 13:55:59 -0500 (EST)
From: Eli Brandt
In-Reply-To: <9711211721.aa14936@bbs.doruk.com.tr> from "omni" at Nov 21, 97 05:17:23 pm
X-Portmanteau: pantryptaminergeticallysisterrainbowtie
X-Mailer: ELM [version 2.4 PL25-40]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 610
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
omni wrote:
> But any sinusoidal waveform will be wrapped around due to this DC offset,
Are you thinking of fixed-point calculation? In Csound, wrapping only
happens if you hit the rails at output.
> And if To = 1 and T2 = 2x*x-1 as Chebychev functions, than the sum To+T2
> should eliminate the DC offset,
That's equivalent to running the signal through T2 and then trying to
fix up the DC offset by adding 1. But the offset after T2 is -1 only
in the small-signal case. (Note that the "fixed" function never goes
below zero...)
--
Eli Brandt | eli+@cs.cmu.edu | http://www.cs.cmu.edu/~eli/
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02048;
24 Nov 97 12:41 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa08200;
24 Nov 97 12:41 GMT
Received: (qmail 7398 invoked from network); 21 Nov 1997 16:15:33 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 21 Nov 1997 16:15:33 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA19183); Fri, 21 Nov 1997 15:56:52 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 21 Nov 97 15:56:23 GMT
Received: from bbs.doruk.com.tr [195.174.34.127] by hermes via SMTP (PAA17737); Fri, 21 Nov 1997 15:55:51 GMT
From: omni
To: csound@maths.ex.ac.uk
Subject: chebychev transform
Date: Fri, 21 Nov 97 17:17:23
Comment: Turkce karekter filtresinden gecirildi.
Content-Type: text/plain; charset="us-ascii"
Message-Id: <9711211721.aa14936@bbs.doruk.com.tr>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
But any sinusoidal waveform will be wrapped around due to this DC offset,
which is an effect I don't want to have after a Chebychev waveshaping. A
highpass filter takes out the DC, but only after the transforming.
And if To = 1 and T2 = 2x*x-1 as Chebychev functions, than the sum To+T2
should eliminate the DC offset, but this doesn't happen with a GEN13 function
even if h0 = 0 .
Any comments?
Sinan Boekesoy
>omni wrote:
>> Is there anyway to eliminate the DC offset, which I get everytime after a
>> Chebychev waveshaping of any waveform? A simple example is below.
>
>A high-pass filter.
>
> e
>
>
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02179;
24 Nov 97 12:52 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa08855;
24 Nov 97 12:52 GMT
Received: (qmail 23324 invoked from network); 24 Nov 1997 12:46:47 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 24 Nov 1997 12:46:47 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (MAA23620); Mon, 24 Nov 1997 12:24:18 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Mon, 24 Nov 97 12:24:00 GMT
Received: from talisker.pact.srf.ac.uk [193.37.225.1] by hermes via ESMTP (MAA23346); Mon, 24 Nov 1997 12:23:53 GMT
Received: (from rwd@localhost) by talisker.pact.srf.ac.uk (8.7.5/8.7.3) id MAA26003; Mon, 24 Nov 1997 12:23:28 GMT
From: Richard Dobson
Message-Id: <199711241223.MAA26003@talisker.pact.srf.ac.uk>
Subject: Re: More than two channels
To: "Jim Stevenson Ph.D"
Date: Mon, 24 Nov 1997 12:23:27 +0000 (GMT)
Cc: csound@maths.ex.ac.uk
In-Reply-To: <199711232135.NAA13325@eos.arc.nasa.gov> from "Jim Stevenson Ph.D" at Nov 23, 97 01:35:41 pm
X-Mailer: ELM [version 2.4 PL22]
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
>
> Please tell how to contact the manufacturer of that 4 chan card.
>
> Thanks.
>
try http://www.terratec.co.uk
I still haven't got the card fully installed yet (resource problems...),
so I still don't know if I can in fact drive the two pairs of outputs together,
or whether one pair is tied to the synth output. Watch this space...
Richard Dobson
|