| Hello Csounders
A few people have sugested a few things .
1 Make sure the defualt directories are set up properly
I had them all pointing to the directory that Csound was in. Just to
see what would happen I made three new folders and pointed each
Sound file directory at it's own folder. It still wouldnt work !
2 Perhaps silence at the start of the sound file.
I checked the files I had been trying and found no silence. Just to
be sure I made a "test tone" file in SoundEdit 16 v1.1 and it still
wouldnt work !
I also thought ,as others have reported problems with SE16's files
that could be my problem to. After making some new files in other
programs it still wouldnt work.
Now Im puzzled. I managed to make it work on my atari version,
although it take a looonnnng time :)
Any one have any clues?
Peter Puzzled
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05685;
26 Jun 97 20:04 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa06896;
26 Jun 97 20:03 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 26 Jun 1997 20:03:40 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (TAA22129);
Thu, 26 Jun 1997 19:53:50 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
Thu, 26 Jun 97 19:53:43 +0100
Received: from root@lix.intercom.es [194.179.21.2] by hermes
via ESMTP (TAA22125); Thu, 26 Jun 1997 19:53:41 +0100
Received: from jcn100110011001 (gelida@iv1_88.intercom.es [195.76.154.88])
by lix.intercom.es (8.7.3/8.6.12) with ESMTP id UAA10746
for ; Thu, 26 Jun 1997 20:58:02 +0100
Message-Id: <31D1184C.96E0A513@lix.intercom.es>
Date: Wed, 26 Jun 1996 13:00:28 +0200
From: Josep M* Comajuncosas
X-Mailer: Mozilla 4.0b4 [en] (WinNT; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Realtime pitch detection on Csound?
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
Would it be possible to extract pitch information directly from the
audio input devices, by using the spectral operators?
Would I need a very powerful machine to do that (I=B4m using a P-133 w. 6=
4
Mb RAM)?
Then you could send it to a MIDI instrument via midi output opcodes, or
whathever... Imagine yourself whistling while your Soundcard follows
your pitch!
I=B4d like to use Csound in that realtime interactive stuff, but I=B4m
afraid 99% of its tools are non-realtime oriented.
Any help would be welcome. Thancks!
Josep M. Comajuncosas
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05982;
26 Jun 97 22:12 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id ab09606;
26 Jun 97 22:12 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 26 Jun 1997 22:12:22 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (WAA26987);
Thu, 26 Jun 1997 22:09:16 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
Thu, 26 Jun 97 22:09:10 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (WAA26982);
Thu, 26 Jun 1997 22:09:04 +0100
Received: (qmail 16431 invoked by uid 2928); 26 Jun 1997 21:06:18 -0000
Date: Thu, 26 Jun 1997 14:06:17 -0700 (PDT)
From: Mike Berry
To: Josep M* Comajuncosas
Cc: csound@maths.ex.ac.uk
Subject: Re: Realtime pitch detection on Csound?
In-Reply-To: <31D1184C.96E0A513@lix.intercom.es>
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The spectral operators, as far as I know, don't do anything,
other than supply each other with data. They do not interact in any way
with other csound opcodes. So you can't use them to in the way you are
describing.
Mike Berry
mikeb@mills.edu
http://www.mills.edu/PEOPLE/gr.pages/mikeb.public.html/mikeb.homepage.html
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06051;
26 Jun 97 22:45 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa10626;
26 Jun 97 22:45 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 26 Jun 1997 22:44:39 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (WAA28380);
Thu, 26 Jun 1997 22:42:27 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
Thu, 26 Jun 97 22:42:22 +0100
Received: from bill@midget.towson.edu [204.62.32.167] by hermes
via ESMTP (WAA28374); Thu, 26 Jun 1997 22:42:18 +0100
Received: (from bill@localhost) by midget.towson.edu (8.7.6/8.7.3) id RAA01571;
Thu, 26 Jun 1997 17:42:18 -0400
Date: Thu, 26 Jun 1997 17:42:17 -0400 (EDT)
From: Bill Kleinsasser
To: Mike Berry
Cc: Josep M* Comajuncosas , csound@maths.ex.ac.uk
Subject: Re: Realtime pitch detection on Csound?
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
Here is one way that I have gotten it to work:
;While this is not a complete .orc file, it represents the heart of a
;pitch-tracking instrument that reads input and spectrally extracts
;the fundamental using octdown, noctdft, specsum, and specptrk.
William Kleinsasser
Towson University
Baltimore, MD
;--------------------------------------------------------------------------
;INITIALIZE VARIABLES
;--------------------------------------------------------------------------
;.5 = octave down, 2 = octave up, etc.
;SET MANUALLY:
ianalperiod = .01 ;set period for spectral
analysis
ianalsamps = ianalperiod*sr ;set number of samples in
spectral anal
;FROM SCORE:
ipartialcount = p4 ;number of partials for analysis (from score)
inum = p5 ;soundfile id number (from score)
;--------------------------------------------------------------------------
;READ SOUNDFILE IN (mono)
;--------------------------------------------------------------------------
;.5 = octave down, 2 = octave up, etc.
;(use ; to comment-out the options you do not wish to use)
; asig soundin inum ;read soundfile "inum"
; OR
asig soundin "soundfile_name";read soundfile "file name"
; OR
; asig in
;real-time sound input from ADC
;--------------------------------------------------------------------------
;ANALYZE THE SPECTRUM
;--------------------------------------------------------------------------
;.5 = octave down, 2 = octave up, etc.
;downsample in 6 octaves:
dsamp octdown asig,6,ianalsamps,0
;calculate 72-point dft (dB):
wsig noctdft dsamp,ianalperiod,12,33,1,1,1
;sum the spec bins, and ksmooth:
ksum specsum wsig, 1
;analyze for pitch-tracking:
koct specptrk wsig, ipartialcount, .8, 0
;set ksig to = the tracked pitch in cpsoct mode:
ksig = cpsoct(koct)
;**************
On Thu, 26 Jun 1997, Mike Berry wrote:
> The spectral operators, as far as I know, don't do anything,
> other than supply each other with data. They do not interact in any way
> with other csound opcodes. So you can't use them to in the way you are
> describing.
>
> Mike Berry
> mikeb@mills.edu
> http://www.mills.edu/PEOPLE/gr.pages/mikeb.public.html/mikeb.homepage.html
>
>
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06146;
26 Jun 97 23:21 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa11951;
26 Jun 97 23:21 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 26 Jun 1997 23:20:45 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (XAA29909);
Thu, 26 Jun 1997 23:17:49 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
Thu, 26 Jun 97 23:17:42 +0100
Received: from bill@midget.towson.edu [204.62.32.167] by hermes
via ESMTP (XAA29897); Thu, 26 Jun 1997 23:17:41 +0100
Received: (from bill@localhost) by midget.towson.edu (8.7.6/8.7.3) id SAA03421;
Thu, 26 Jun 1997 18:17:43 -0400
Date: Thu, 26 Jun 1997 18:17:43 -0400 (EDT)
From: Bill Kleinsasser
To: csound@maths.ex.ac.uk
Subject: pitch extraction from spectral UGs
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Here is one way that I have gotten spectral UGs to help
with pitch tracking:
;While this is not a complete .orc file, it represents the heart of a
;pitch-tracking instrument that reads input and spectrally extracts
;the fundamental using octdown, noctdft, specsum, and specptrk.
;William Kleinsasser
;Towson University
;Baltimore, MD
;--------------------------------------------------------------------------
;INITIALIZE VARIABLES
;--------------------------------------------------------------------------
;SET MANUALLY:
ianalperiod = .01 ;set period for spectral
analysis
ianalsamps = ianalperiod*sr ;set number of samples in
spectral anal
;FROM SCORE:
ipartialcount = p4 ;number of partials for analysis (from score)
inum = p5 ;soundfile id number (from score)
;--------------------------------------------------------------------------
;READ SOUNDFILE IN (mono)
;--------------------------------------------------------------------------
;.5 = octave down, 2 = octave up, etc.
;(use ; to comment-out the options you do not wish to use)
; asig soundin inum ;read soundfile "inum"
; OR
asig soundin "soundfile_name";read soundfile "file name"
; OR
; asig in ;real-time sound input from ADC
;--------------------------------------------------------------------------
;ANALYZE THE SPECTRUM
;--------------------------------------------------------------------------
;downsample in 6 octaves:
dsamp octdown asig,6,ianalsamps,0
;calculate 72-point dft (dB):
wsig noctdft dsamp,ianalperiod,12,33,1,1,1
;sum the spec bins, and ksmooth:
ksum specsum wsig, 1
;analyze for pitch-tracking:
koct specptrk wsig, ipartialcount, .8, 0
;set kpitch to = the tracked pitch in cpsoct mode:
kpitch =
cpsoct(koct)
;**************
On Thu, 26 Jun 1997, Mike Berry wrote:
> The spectral operators, as far as I know, don't do anything,
> other than supply each other with data. They do not interact in any way
> with other csound opcodes. So you can't use them to in the way you are
> describing.
>
> Mike Berry
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06202;
26 Jun 97 23:47 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa13368;
26 Jun 97 23:47 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 26 Jun 1997 23:46:59 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (XAA01106);
Thu, 26 Jun 1997 23:44:06 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
Thu, 26 Jun 97 23:44:01 +0100
Received: from rumpleteazer.UCSC.EDU [128.114.129.45] by hermes
via ESMTP (XAA01102); Thu, 26 Jun 1997 23:44:00 +0100
Received: from am.UCSC.EDU (26942@am.UCSC.EDU [128.114.129.26])
by cats.ucsc.edu (8.8.5/8.8.4.cats-athena) with SMTP id PAA23658
for ; Thu, 26 Jun 1997 15:44:14 -0700 (PDT)
Received: by am.UCSC.EDU (8.6.13/4.7) id PAA19107;
Thu, 26 Jun 1997 15:44:08 -0700
Date: Thu, 26 Jun 1997 15:44:08 -0700 (PDT)
From: John Francis Beahan
X-Sender: jfbeahan@am.UCSC.EDU
To: csound mail list
Subject: 3D and binaural sound in Csound
Message-Id:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I am interested in exploring 3d sound, either binaurally or by using four
speakers. If anyone knows of a good source for information on these
subjects, I would apreciate the help.
I am currently running csound on SGI Indigo2 running IRIX5.3. if that helps.
Thanx, John Beahan
|