Csound Csound-dev Csound-tekno Search About

HRTFer works?

Date1997-10-08 00:02
FromJavier Ruiz
SubjectHRTFer works?
Hello all,
I have been trying to use the HRTFer opcode without success.
The file HRTFcompact is missed.
Do i have to provide this file? If so, how?

I am using CSound 3.46 on a oldie PowerMac 6100/60.

BTW Is not this list a bit lazy lately? Or maybe is my ISP who is
swallowing the messages.


Javier Ruiz





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa16394;
          9 Oct 97 23:30 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa28503;
          9 Oct 97 23:30 BST
Received: (qmail 5460 invoked from network); 9 Oct 1997 22:30:00 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 9 Oct 1997 22:30:00 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA19409); Thu, 9 Oct 1997 23:22:35 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 9 Oct 97 23:22:17 +0100
Received: from root@lix.intercom.es [194.179.21.2] by hermes via ESMTP (XAA16323); Thu, 9 Oct 1997 23:22:06 +0100
Received: from jcn100110011001 (ppp80.intercom.es [194.179.21.155]) by lix.intercom.es (8.7.3/8.6.12) with ESMTP id AAA03679 for ; Fri, 10 Oct 1997 00:28:32 +0100
Message-Id: <343CECC6.C1993537@lix.intercom.es>
Date: Thu, 09 Oct 1997 16:40:07 +0200
From: Josep M* Comajuncosas 
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Audio enhancers
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi Csounders... here you have two more instruments for your collection.
Please fix the problem with the amplitude... and delete this reverb if
you want... it doesn=B4t work... Then you can send me the improved
version...

Josep M=AA Comajuncosas
Csound Activist
gelida@lix.intercom.es

;ORC:

sr =3D 44100
kr =3D 44100
ksmps =3D 1
garev init 0

;************************************************************************=
***

instr 1; SPECTRALIZER, a psychoacustic exciter.
; 2nd and 3rd harm equally weighted (stolen from a Wavelab plug-in ;-) )

;************************************************************************=
***

imaxamp =3D  3000; 32768 max. Imaxamp gives full effect
ihpfreq =3D p6
idens =3Dp5
imix =3D .3;retain 30% of the original signal
ifreq =3D cpspch(p4)
aenv linen 1, .4, p3, .4*p3
asig oscili aenv, ifreq, 3; put here your signal normalized

alpfilt tone asig, sr/6; kind of anti-alias ...; <- improve this
atreble butterhp alpfilt , ihpfreq; don=B4t affect freqs below ihpfreq;
<-would be better a atone?
anorm balance atreble, asig; restitute original power; <-is this the
best way to do it?

awsh =3D anorm*ftlen(2)/2*idens;idens further scales the effect
ahm tablei awsh , 2 , 0 , ftlen(2)/2; waveshape (split into 2 & 3rd
harm.)

aout balance (imix*asig + (1-imix)*ahm), asig * imaxamp; <- what happens
with final amplitude...?
 out .2*aout
garev =3D 0
garev =3D garev + aout
endin


;************************************************************************=
***

instr 2;PHASE-MODULATOR, from CLM docs
; very similar to instr 1. I=B4m not sure where the Phase Modulation is...

;************************************************************************=
***

imaxamp =3D  3000; 32768 max. Imaxamp gives full effect
ifreq =3D cpspch(p4)
imaxmod =3D p5; keep this value small

aenv linen 1, .4, p3, .4*p3
afmindx =3D imaxmod * aenv
asig oscili aenv, ifreq, 3;put here your signal normalized

asin1 tablei asig*ftlen(1)/2 , 1 , 0 , ftlen(1)/2
amod =3D afmindx * asin1
asin2 tablei (.25*asig + amod)*ftlen(1)/2 , 1 , 0 , ftlen(1)/2; as long
as fn1=3Dsin the signal will be aliased...

aout balance asin2 , asig * imaxamp
 out .2*aout
garev =3D 0
garev =3D garev + aout
endin

instr 3; some reverb
asig reverb2 garev , 5, .8
out .5 * asig

endin

;SCO:

f1 0 32769 10 1; a sinunsoid
f2 0 32769 13 1 1 0 0 0 1 0 1; split into 2nd and 3rd harm
f3 0  8193 10 8 0 4 0 2 0 1; a simple waveform...

i3 0.08 35
; here Blade Runner=B4s leit motiv...
i1   0 4  9.00 .3 3000
i1   3 2  9.02 .4 3000
i1   4 5  8.09 .5 1000
i1   8 6  8.07 .2 2000

i2 15    4.5  9.00 .5
i2 18.5  1.5  9.02 .6
i2 19    4.5  9.05 .7
i2 22.5   .8  9.04 .4
i2 22.75  .8  9.02 .4
i2 23    6    9.04 .4

e







Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa16604;
          10 Oct 97 1:32 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa29927;
          10 Oct 97 1:32 BST
Received: (qmail 11251 invoked from network); 10 Oct 1997 00:32:12 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 10 Oct 1997 00:32:12 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA22150); Fri, 10 Oct 1997 01:26:30 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 10 Oct 97 01:26:11 +0100
Received: from root@valhalla.umbc.edu [130.85.253.11] by hermes via ESMTP (BAA21816); Fri, 10 Oct 1997 01:26:04 +0100
Received: from default (col-as16s47.erols.com [207.172.131.238])
	by valhalla.umbc.edu (8.8.7/8.8.6) with SMTP id UAA11990
	for ; Thu, 9 Oct 1997 20:27:43 -0400 (EDT)
Message-Id: <343D7727.357F@gl.umbc.edu>
Date: Thu, 09 Oct 1997 20:30:31 -0400
From: arlen barr 
X-Mailer: Mozilla 3.02 (Win95; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: realistic piano sounds
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi all,

I'm looking for a way to synthesize acoustic piano that sounds
convincing (contains proper harmonics produced by simultaneous notes and
from sustain pedal, and other nuances?)  It seems to me that this should
be farily simple using samples mixed with the harmonic tones (just
follow the harmonic series right?) which would be either samples
themselves or sine waves.  Has anyone done this?  Is there something
fundamentally flawed with this approach?  Any pointers appreciated

arlen