Csound Csound-dev Csound-tekno Search About

DSP texts??

Date1997-02-10 15:34
FromJon Christopher Nelson
SubjectDSP texts??
Robin Whittle wrote:

>Can you point to some good references on digital filter design?

Hans Mikelson wrote:

>I'm using two books neither of which is very good for a beginner
>like me:
>
>Signals and Systems by ???
>
>Digital Signal Processing by Proceedings of the IEEE
> - Digital Filter Design Techniques by Rader and Gold

For an approachable text on the subject you might try a relatively  
new book by Ken Steiglitz entitled A Digital Signal Processing  
Primer.  This book was written with computer musician's in mind and  
only assumes a basic understanding of calculus.  At least I have  
found it to be helpful.

regard,
Jon C. Nelson

Jon Christopher Nelson, Director
CEMI (Center for Experimental Music and Intermedia)
University of North Texas College of Music
P.O. Box 13887
Denton, TX 76203
USA

ph. (817) 565-4926
fax (817) 565-2002
jnelson@sndart.cemi.unt.edu
http://www.music.unt.edu/comp/jnelson.htm



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22338;
          10 Feb 97 16:30 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa27724;
          10 Feb 97 16:33 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 16:33:24 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA07549);
          Mon, 10 Feb 1997 16:23:41 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 16:23:37 GMT
Received: from root@big.fishnet.net [205.216.133.3] by hermes 
          via ESMTP (QAA07493); Mon, 10 Feb 1997 16:23:15 GMT
Received: from sinewave (port056.vta.fishnet.net [205.216.133.205]) 
          by big.fishnet.net (8.7.5/8.6.9) with SMTP id IAA12304 
          for ; Mon, 10 Feb 1997 08:30:08 -0800
Message-Id: <32FF4BEF.45298761@rcsreg.com>
Date: Mon, 10 Feb 1997 08:25:19 -0800
From: Toby 
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.27 i486)
Mime-Version: 1.0
To: Csound Mailing List 
Subject: Possible bug in csound version 3.45
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

When I use this score:

f1 0 1024 10 1

i1 0.5 0.4 10000 80
i1 1 0.4 10000 80
i1 1.5 0.4 10000 80
i1 2 0.4 10000 80

with version 3.44, all is well.
When I run it with 3.45, I get:

SECTION 1:
FTERROR, ftable 1: illegal table length
f  1    0.00 1024.00   10.00    1.00 ...
B  0.000 ..  0.500 T  0.500 TT  0.500 M:      0.0
new alloc for instr 1:
INIT ERROR in instr 1: invalid ftable no. 1.000000
asig    oscilkk #k0     ipitch  1       0
          B  0.500 - note deleted.  i1 had 1 init errors
B  0.500 ..  1.000 T  1.000 TT  1.000 M:      0.0

etc....

Is it my build that is messed up, or can someone
reproduce the problem.

Thanks

Toby

	-There otta be a law-



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22430;
          10 Feb 97 16:45 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa28423;
          10 Feb 97 16:49 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 16:49:18 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA09386);
          Mon, 10 Feb 1997 16:40:13 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 16:40:05 GMT
Received: from jason01.u.washington.edu [140.142.70.24] by hermes 
          via ESMTP (QAA09260); Mon, 10 Feb 1997 16:39:25 GMT
Received: from saul2.u.washington.edu (saul2.u.washington.edu [140.142.56.21])          
          by jason01.u.washington.edu (8.8.4+UW96.12/8.8.4+UW96.12) 
          with ESMTP	  id IAA10450; Mon, 10 Feb 1997 08:34:36 -0800
Received: from localhost (karpen@localhost)          
          by saul2.u.washington.edu (8.8.4+UW96.12/8.8.4+UW96.12) with SMTP	  
          id IAA11135; Mon, 10 Feb 1997 08:39:22 -0800 (PST)
Date: Mon, 10 Feb 1997 08:39:22 -0800 (PST)
From: Richard Karpen 
To: Toby 
Cc: Csound Mailing List 
Subject: Re: Possible bug in csound version 3.45
In-Reply-To: <32FF4BEF.45298761@rcsreg.com>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


I just tried this with 3.45 and had no problem. On what kind of system are
you running Csound?

On Mon, 10 Feb 1997, Toby wrote:

> When I use this score:
> 
> f1 0 1024 10 1
> 
> i1 0.5 0.4 10000 80
> i1 1 0.4 10000 80
> i1 1.5 0.4 10000 80
> i1 2 0.4 10000 80
> 
> with version 3.44, all is well.
> When I run it with 3.45, I get:
> 
> SECTION 1:
> FTERROR, ftable 1: illegal table length
> f  1    0.00 1024.00   10.00    1.00 ...
> B  0.000 ..  0.500 T  0.500 TT  0.500 M:      0.0
> new alloc for instr 1:
> INIT ERROR in instr 1: invalid ftable no. 1.000000
> asig    oscilkk #k0     ipitch  1       0
>           B  0.500 - note deleted.  i1 had 1 init errors
> B  0.500 ..  1.000 T  1.000 TT  1.000 M:      0.0
> 
> etc....
> 
> Is it my build that is messed up, or can someone
> reproduce the problem.
> 
> Thanks
> 
> Toby
> 
> 	-There otta be a law-
> 
> 




Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22436;
          10 Feb 97 16:46 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id ab28430;
          10 Feb 97 16:50 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 16:49:54 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA09695);
          Mon, 10 Feb 1997 16:42:23 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 16:42:16 GMT
Received: from lt@westnet.com [206.24.6.2] by hermes via ESMTP (QAA09683);
          Mon, 10 Feb 1997 16:42:15 GMT
Received: from localhost (lt@localhost) by westnet.com (8.8.5/8.7.3) with SMTP 
          id LAA24406; Mon, 10 Feb 1997 11:42:21 -0500 (EST)
Date: Mon, 10 Feb 1997 11:42:19 -0500 (EST)
From: Lawrence Troxler 
To: Bradley James Lindseth 
Cc: csound@maths.ex.ac.uk
Subject: Re: problem: realtime MIDI-in with sb16, linux using devaudio out
In-Reply-To: 
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

On Mon, 10 Feb 1997, Bradley James Lindseth wrote:

> two things I've tried so far:
> 
> 1.  Using OSS/Free MIDI driver: It does input MIDI, but I couldn't 
> figure out the complicated ioctls to make it work with the -M/dev/midi00
> switch.  I would ioctl it so it would poll the MIDI device, but then I
> would only hear sound sputtered every 3-5 seconds or so.

The OSS/Free MIDI driver ignores the O_NODELAY ioctl parameter and blocks
on every read. Hannu S. suggests using the select() call to first make
sure there is data in the buffer before calling read(). If there is data
in the buffer, the read() will return immediately.

I haven't tried this yet.

> 
> 2.  Using the tclmidi driver: Can't get the module to load for the SB16 at
> 0x300 and IRQ 3,5,7, or -1.
> 
> 
This is the one I'm using. Works for me with a real MPU-401 at 0x330/9.
I did have to recompile OSS to not include MIDI support, however. Doesn't
sound like this is your problem, though.

BTW in CSound 3.44, I needed to change the parmeter to the block size
ioctrl for the sound driver to use only two buffer fragments for real-time
performance. The code as is, uses all available fragments.

Larry

--  Larry Troxler  --  lt@westnet.com  --  Patterson, NY USA  --
  




Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22456;
          10 Feb 97 16:50 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa28666;
          10 Feb 97 16:53 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 16:53:27 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA10015);
          Mon, 10 Feb 1997 16:44:43 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 16:44:35 GMT
Received: from mailhost.probe.co.uk [194.129.18.2] by hermes 
          via ESMTP (QAA09984); Mon, 10 Feb 1997 16:44:33 GMT
Received: from relay.probe.co.uk by porky.probe.co.uk 
          via SMTP (940816.SGI.8.6.9/940406.SGI)	for  
          id QAA19108; Mon, 10 Feb 1997 16:46:42 GMT
Received: by relay.probe.co.uk 
          with Microsoft Mail	id <32FFC074@relay.probe.co.uk>;
          Mon, 10 Feb 97 16:42:28 PST
From: "Hodgson, Dave" 
To: 'csound' 
Subject: FW: .orc/.sco for tb-303 simulation?
Date: Mon, 10 Feb 97 16:41:00 PST
Message-Id: <32FFC074@relay.probe.co.uk>
Encoding: 33 TEXT
X-Mailer: Microsoft Mail V3.0
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk



it's here - for both mac + win95

http://www.propellerheads.se/products/rebirth.html

Dave

 ----------
From:  owner-csound-outgoing[SMTP:owner-csound-outgoing@noether.ex.ac.uk]
Sent:  09 February 1997 18:21
To:  Peter S. Lakanen
Cc:  csound
Subject:  Re: .orc/.sco for tb-303 simulation?


On Sat, 8 Feb 1997, Peter S. Lakanen wrote:

>
> I've trying to hack together a TB-303 (I think
> Roland made it originally).  Any advice?

Not Csound... but I'd suggest you check out Propellerheads "Rebirth 338"
software... 2 x 303 and an 808 in realtime software.  It's the only "303
Clone" that sounds even faintly like an actual 303.. and it's VERY good   
:)

I'm afraid I havn't got the web address with me... but if you search for
303, Rebirth etc. you should find it.

Matt.





Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22470;
          10 Feb 97 16:52 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa28920;
          10 Feb 97 16:55 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 16:55:16 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA10297);
          Mon, 10 Feb 1997 16:46:46 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 16:46:39 GMT
Received: from root@goriz.sendanet.es [194.179.73.8] by hermes 
          via ESMTP (QAA10262); Mon, 10 Feb 1997 16:46:24 GMT
From: 1784i28a@goriz.sendanet.es
Received: from [194.179.73.115] (infovia51.sendanet.es [194.179.73.115]) 
          by goriz.sendanet.es (8.6.12/8.6.9) with SMTP id SAA23457 
          for ; Mon, 10 Feb 1997 18:51:51 GMT
Message-Id: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 10 Feb 1997 17:48:25 +0100
To: csound@maths.ex.ac.uk
Subject: DSP texts
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

A very good book that I have found very useful on this subject is

"Practical DSP Modeling, Techniques, and Programming in C"
 Don Morgan.
 John Wiley & Sons, Inc. 1994.

It's content scopes from the basics of signal theory to implementation of
DSP algorithms on DSP processors. It contains abundant C code including
FFT, windowing, FIR filters, IIR filters, realtime convolution, and more.
It's written on a very friendly language.
I'm not DSP expert or skilled programmer (just "only" musician) but I could
understand almost everything on this great book.

IGNASI ALVAREZ.

Ignasi Alvarez





Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22587;
          10 Feb 97 17:09 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa29643;
          10 Feb 97 17:13 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 17:13:13 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA12365);
          Mon, 10 Feb 1997 17:04:14 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 17:04:04 GMT
Received: from ella.mills.edu [144.91.3.20] by hermes via ESMTP (RAA12325);
          Mon, 10 Feb 1997 17:04:00 GMT
Received: from localhost by ella.mills.edu 
          via SMTP (940816.SGI.8.6.9/930416.SGI)	 id JAA24226;
          Mon, 10 Feb 1997 09:03:52 -0800
Date: Mon, 10 Feb 1997 09:03:51 -0800 (PST)
From: Mike Berry 
To: "Kevin P. Parks" 
Cc: csound@maths.ex.ac.uk
Subject: Re: manual
In-Reply-To: <29896767@cupid.Dartmouth.EDU>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

	The online mac manual which comes with the Mills csound.ppc is as
up to date as we have been able to make it.  It includes most of the
add-on ugens, except for a few of the new .45 ugens, which we have not yet
released on the mac.

Mike Berry
mikeb@mills.edu





Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22674;
          10 Feb 97 17:23 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa00330;
          10 Feb 97 17:27 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 17:26:33 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA13827);
          Mon, 10 Feb 1997 17:15:51 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 17:15:45 GMT
Received: from root@big.fishnet.net [205.216.133.3] by hermes 
          via ESMTP (RAA13808); Mon, 10 Feb 1997 17:15:40 GMT
Received: from sinewave (port047.vta.fishnet.net [205.216.133.196]) 
          by big.fishnet.net (8.7.5/8.6.9) with SMTP id JAA14136;
          Mon, 10 Feb 1997 09:22:38 -0800
Message-Id: <32FF583E.6D4B3A3F@rcsreg.com>
Date: Mon, 10 Feb 1997 09:17:50 -0800
From: Toby 
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.27 i486)
Mime-Version: 1.0
To: Richard Karpen 
Cc: Csound Mailing List 
Subject: Re: Possible bug in csound version 3.45
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Richard Karpen wrote:
> 
> I just tried this with 3.45 and had no problem. On what kind of system are
> you running Csound?


Linux with kernel 2.0.27 on a 486.
The compilation went very smoothly.
I guess I'll have to look at it again
though.  

Thanks.

Toby

	-There otta be a law-



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22691;
          10 Feb 97 17:25 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id ab00360;
          10 Feb 97 17:29 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 17:28:44 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA14595);
          Mon, 10 Feb 1997 17:21:54 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 17:21:48 GMT
Received: from jason03.u.washington.edu [140.142.77.10] by hermes 
          via ESMTP (RAA14551); Mon, 10 Feb 1997 17:21:36 GMT
Received: from saul3.u.washington.edu (saul3.u.washington.edu [140.142.83.1])          
          by jason03.u.washington.edu (8.8.4+UW96.12/8.8.4+UW96.12) 
          with ESMTP	  id JAA21276; Mon, 10 Feb 1997 09:18:45 -0800
Received: from localhost (karpen@localhost)          
          by saul3.u.washington.edu (8.8.4+UW96.12/8.8.4+UW96.12) with SMTP	  
          id JAA13479; Mon, 10 Feb 1997 09:21:28 -0800 (PST)
Date: Mon, 10 Feb 1997 09:21:27 -0800 (PST)
From: Richard Karpen 
Reply-To: Richard Karpen 
To: Toby 
Cc: Csound Mailing List 
Subject: Re: Possible bug in csound version 3.45
In-Reply-To: <32FF583E.6D4B3A3F@rcsreg.com>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


We made a change in the swrite.c file in order to make csound
print out the correct size values for F tables larger than 
2^22. Check your score.srt file (the sorted note list that csound
makes from you .sco file and then uses as the score) and see if
the 1024 is being turned into a different number (which is what I
suspect). It could be that it's some kind of precision problem, since
we're using double floats in the new swrite.c.

Richard Karpen

On Mon, 10 Feb 1997, Toby wrote:

> Richard Karpen wrote:
> > 
> > I just tried this with 3.45 and had no problem. On what kind of system are
> > you running Csound?
> 
> 
> Linux with kernel 2.0.27 on a 486.
> The compilation went very smoothly.
> I guess I'll have to look at it again
> though.  
> 
> Thanks.
> 
> Toby
> 
> 	-There otta be a law-
> 





Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23240;
          10 Feb 97 19:09 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa04493;
          10 Feb 97 19:13 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 10 Feb 1997 19:13:35 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA23136);
          Mon, 10 Feb 1997 19:06:22 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
          Mon, 10 Feb 97 19:06:17 GMT
Received: from ella.mills.edu [144.91.3.20] by hermes via ESMTP (TAA23132);
          Mon, 10 Feb 1997 19:06:15 GMT
Received: from localhost by ella.mills.edu 
          via SMTP (940816.SGI.8.6.9/930416.SGI)	for  
          id LAA04407; Mon, 10 Feb 1997 11:06:14 -0800
Date: Mon, 10 Feb 1997 11:06:13 -0800 (PST)
From: Mike Berry 
To: csound list 
Subject: hidden MIDI functions
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

	Does anyone have documentation on the "hidden" MIDI functions?
After poking around in the MIDI parser I found that there are some
functions to set global values, like pitch bend range, using a combination
of controller 101 and controller 6.  But there is very little in the way
of comments as to how this is meant to be used.
	I want to update the MIDI interpreters to include some optional
scaling and preset values, for, among other things, setting the pitch bend
range in the ***midib functions.  For the sake of cleanliness and speed, I
was going to remove these hidden functions and update the documentation on
MIDI.  This shouldn't break anyone's orchestras since this aren't instr
functions anyway.  But if there is anyone who does use these hidden
functions, please let me know.

Mike Berry
mikeb@mills.edu