Csound Csound-dev Csound-tekno Search About

ampdb

Date1999-05-15 14:07
Fromluis jure
Subjectampdb
Thanks to Terry McDermott and Job van Zuijlen for making things clearer for
me about ampdb.
As I said in my original message, I was counting on some miscalculations I
might have done.

Anyway, it's clear that the manual is not precise, misleadingly stating that
the reference is 90dB = 32000.
Even if the deviations are insignificant, as I said, it's always better to
have a good idea of how opcodes work and known exactly what to expect.


luis





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00522;
          15 May 99 15:37 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10ifZ6-0000Ie-00
	for jpff@maths.bath.ac.uk; Sat, 15 May 1999 15:37:24 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA10170); Sat, 15 May 1999 15:35:18 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 15 May 1999 15:35:06 +0100
Received: from nw177.netaddress.usa.net [204.68.24.77] by hermes via SMTP (PAA02780); Sat, 15 May 1999 15:35:04 +0100 (BST)
Received: (qmail 29863 invoked by uid 60001); 15 May 1999 14:35:04 -0000
Message-ID: <19990515143504.29862.qmail@nw177.netaddress.usa.net>
Received: from 204.68.24.77 by nw177 via web-mailer(M3.0.0.118) on Sat May 15 14:35:03 GMT 1999
Date: 15 May 99 14:35:03 America/Fort_Wayne
From: Sherlock 
To: csound@maths.ex.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
X-Mailer: USANET web-mailer (M3.0.0.118)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

When you use format 0 MIDIs with Csound, is there any way to get more
instruments to play? All I wind up with is a stringed instrumed (with old=
er
opcodes) and I would like to hear a series of others. I am taking format =
1
midis, converting them to MIDI format 0m and making a wave file from form=
at 0
using Csound. Rioght now, I am using a stringed instrumement that I picke=
d up
from Pinkston's web site. I think.
I made modifications to it so it could work with MIDI.


To seek is to find. =

To Find is to Seek.
So what? Gimme a Windows based computer, and I'll try Linux instead.


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=3D=
1


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00583;
          15 May 99 16:09 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10ig3j-0005Ov-00
	for jpff@maths.bath.ac.uk; Sat, 15 May 1999 16:09:03 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA02667); Sat, 15 May 1999 16:06:59 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 15 May 1999 16:06:48 +0100
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (QAA04814); Sat, 15 May 1999 16:06:46 +0100 (BST)
Received: from agora.stm.it ([212.123.80.120]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id RAA05078 for ; Sat, 15 May 1999 17:06:44 +0200 (ITADST)
Message-ID: <373D8F60.43198609@agora.stm.it>
Date: Sat, 15 May 1999 17:14:40 +0200
From: Gabriel Maldonado 
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound Mailing List 
Subject: DirectCsound and VMCI URLs changed
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi all,
update your HTML bookmarks

The new url is:

http://web.tiscalinet.it/G-Maldonado/download.htm


Happy csounding
-- 
Gabriel Maldonado

http://web.tiscalinet.it/G-Maldonado/home2.htm


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00929;
          15 May 99 21:07 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10ikiR-0005Sm-00
	for jpff@maths.bath.ac.uk; Sat, 15 May 1999 21:07:23 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA11440); Sat, 15 May 1999 21:05:10 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 15 May 1999 21:05:01 +0100
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (VAA01021); Sat, 15 May 1999 21:05:00 +0100 (BST)
Received: from ccrma.stanford.edu ([207.97.74.47])
	by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id NAA01538;
	Sat, 15 May 1999 13:04:51 -0700 (PDT)
Message-ID: <373DD3C0.166B459C@ccrma.stanford.edu>
Date: Sat, 15 May 1999 16:06:24 -0400
From: Tobias Kunze 
X-Mailer: Mozilla 4.05C-SGI [en] (X11; I; IRIX 6.5 IP22)
MIME-Version: 1.0
To: Fabio Bizzetti 
CC: Anders Andersson , csound@maths.ex.ac.uk
Subject: Re: Inter/Extrapolation
References: <4.1.19990515125434.0092e4e0@212.216.176.64>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> I dunno about this specifically, but one other "perfect
> interpolation" would be to compute the DFT/FFT of the

NO.  You'll get a perfect interpolation of a hypothetical =

periodic signal of which the FFT is the transform.  That
signal is *significantly* different from the one you are =

actually taking the transform of (which is why people have
thought so much about windowing).  It is NOT the original.

In short, =


   IDFT(DFT(x(=B7))) =3D x(=B7) =


if and only if x(=B7) is harmonic.(which it virtually never is).


> That's what I used (for non realtime uses) and worked perfectly.

You must either write the worst kind of new age music, have an 2-bit
system or should go see your ENT specialist...  :)


> This sinc method sounds interesting though, since it is
> supposed to be faster (o instead of o*log (FFT case)).

You can't compare it.  Sinc interpolation has to be performed
for every sample of the TARGET sample rate, and for a number
of samples to the left AND right, which linearly increases the
quality of your signal.  So, interpolating from 10 to 100 kHz =

costs 1000 times the cycles needed to interpolate from 10 down to 1.
Thus, time here is a linear combination of 3 variables (source =

rate, target rate and sinc width) as opposed to 2 vars in the FFT
case (sample rate and window width).  Big-O notation doesn't =

make sense here since you won't want to increase your width past
20 or so anyway.


> And moreover, doesn't ask you to compute the following
> samples either.

no. you need equal amount of samples on both sides.


-Tobias


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00958;
          15 May 99 21:24 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10ikz0-0005T0-00
	for jpff@maths.bath.ac.uk; Sat, 15 May 1999 21:24:30 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA10188); Sat, 15 May 1999 21:22:24 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 15 May 1999 21:22:16 +0100
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (VAA08795); Sat, 15 May 1999 21:22:15 +0100 (BST)
Received: from ccrma.stanford.edu ([207.97.74.47])
	by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id NAA01619;
	Sat, 15 May 1999 13:22:05 -0700 (PDT)
Message-ID: <373DD7CA.93C5EDC4@ccrma.stanford.edu>
Date: Sat, 15 May 1999 16:23:38 -0400
From: Tobias Kunze 
X-Mailer: Mozilla 4.05C-SGI [en] (X11; I; IRIX 6.5 IP22)
MIME-Version: 1.0
To: Fabio Bizzetti , Anders Andersson , 
    csound@maths.ex.ac.uk
Subject: Re: Inter/Extrapolation
References: <4.1.19990515125434.0092e4e0@212.216.176.64> <373DD3C0.166B459C@ccrma.stanford.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> > I dunno about this specifically, but one other "perfect
> > interpolation" would be to compute the DFT/FFT of the
> 
> NO.  You'll get a perfect interpolation of a hypothetical 
> periodic signal of which the FFT is the transform.  That

argh. i edited this sentence so often that it ended up being 
wrong...  Right is that an n-point IDFT will give you an n-point 
signal, just as an DFT of an n-point signal will give you--you 
guessed it--an n-point DFT.  Hence, you will still need to interpolate.

-Tobias


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01830;
          16 May 99 9:25 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10iwF7-0005gA-00
	for jpff@maths.bath.ac.uk; Sun, 16 May 1999 09:25:53 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (JAA05516); Sun, 16 May 1999 09:23:47 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 16 May 1999 09:23:35 +0100
Received: from root@smtp.ats.it [195.62.227.6] by hermes via ESMTP (JAA00691); Sun, 16 May 1999 09:23:33 +0100 (BST)
Received: from micky (ppp-vi-inf-108.ats.it [193.70.245.108] (may be forged))
	by smtp.ats.it (8.9.1/8.9.0) with SMTP id KAA27590
	for ; Sun, 16 May 1999 10:23:30 +0200
Message-Id: <199905160823.KAA27590@smtp.ats.it>
X-Sender: mrinaldi@ats.it
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Demo
Date: Sun, 16 May 1999 10:24:04 +0200
To: csound@maths.ex.ac.uk
From: Rinaldi 
Subject: new entry
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hallo CSounders!
I'm Michelangelo Rinaldi, a 24 years old italian musician.
I'm using DirectCSound 2.700 and Winsound 3.53. It's about one year that
I'm working on CSound but still most of my time goes to "analogic" music: I
play piano, oboe and english horn.
In this moment I'm interested in live-electronics. Can you indicate me a
list of orc-sco-csd devoted to real time execution?
And also, if you have compostion for my instruments alone, with tape or
with live-electronics I could be interested in playing them here in Italy.
Bye
Michelangelo

Date1999-05-17 09:40
FromTerry McDermott
SubjectRe: ampdb
one last word...

A small discrepancy such as the ampdb description probably should be
pointed out to the whoever is doing the manual or the csound book proo
freading...  I think it may be able to be reported to David Boothe... is
that correct?

>Anyway, it's clear that the manual is not precise, misleadingly stating that
>the reference is 90dB = 32000.
>Even if the deviations are insignificant, as I said, it's always better to
>have a good idea of how opcodes work and known exactly what to expect.
>
It is often the tiniest discrepancies that cause the greatest confusion....


Terry McDermott

Music Department
School of Arts & Media
Latrobe University
Bundoora, Victoria, 3083
Australia

email: T.McDermott@latrobe.edu.au

Telephone	+61 3 9479 2167
Fax		+61 3 9479 3651