| Csound has its own PVOC format.
#define PVMAGIC 517730 /* look at it upside-down, esp on a 7-seg display */
#define PVDFLTBYTS 4
typedef struct pvstruct
{
long magic; /* magic number to identify */
long headBsize; /* byte offset from start to data */
long dataBsize; /* number of bytes of data */
long dataFormat; /* (int) format specifier */
float samplingRate; /* of original sample */
long channels; /* (int) mono/stereo etc */
long frameSize; /* size of FFT frames (2^n) */
long frameIncr; /* # new samples each frame */
long frameBsize; /* bytes in each file frame */
long frameFormat; /* (int) how words are org'd in frms */
float minFreq; /* freq in Hz of lowest bin (exists) */
float maxFreq; /* freq in Hz of highest (or next) */
long freqFormat; /* (int) flag for log/lin frq */
char info[PVDFLTBYTS]; /* extendable byte area */
} PVSTRUCT;
/* values for dataFormat field */
#define PVSHORT 2 /* 16 bit linear data */
#define PVLONG 4 /* 32 bit linear data */
#define PVFLOAT (4+32) /* 32 bit float data */
#define PVDOUBLE (8+32) /* 64 bit float data */
/* values for frameFormat field */
#define PVMAG 1 /* magnitude only */
#define PVPHASE 2 /* phase only (!) */
#define PVPOLAR 3 /* mag, phase pairs */
#define PVREAL 4 /* real only */
#define PVIMAG 5 /* imaginary only */
#define PVRECT 6 /* real, imag pairs */
#define PVPVOC 7 /* weirdo mag, phi-dot format for phase vocoder */
#define PVCQ 32 /* ORed with previous to indicate one frame per 8ve */
/* values for freqFormat field */
#define PVLIN 1 /* linearly spaced frequency bins */
#define PVEXP 2 /* exponentially spaced frequency bins */
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22013;
25 Sep 98 20:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa28344;
25 Sep 98 20:18 BST
Received: (qmail 25359 invoked from network); 25 Sep 1998 19:18:15 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 25 Sep 1998 19:18:15 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA11901); Fri, 25 Sep 1998 20:12:20 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 25 Sep 1998 20:12:09 +0100
Received: from root@scatolo.ml.swapnet.it [194.244.97.6] (may be forged) by hermes via ESMTP (UAA14233); Fri, 25 Sep 1998 20:12:07 +0100 (BST)
Received: from kctbkvql (kit4.ml.swapnet.it [194.244.97.68]) by ml1.ml.swapnet.it (8.7.5/8.6.9) with ESMTP id VAA06815 for ; Fri, 25 Sep 1998 21:16:59 +0200
Message-Id: <199809251916.VAA06815@ml1.ml.swapnet.it>
From: Paolo Filippi
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: f statement in vers 3.48
Date: Fri, 25 Sep 1998 14:09:19 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello !
I' m working on C_sound Version 3.485 (30 Aug 1998) on a Dos Pc Pentium.
Is there probably a bug in the f statement part of this new release ?
It seeem to me that it is unable to see the gen number and it doubles the
size of table.
Thank You for any suggestion.
Bye
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22199;
25 Sep 98 21:58 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa07239;
25 Sep 98 21:58 BST
Received: (qmail 29074 invoked from network); 25 Sep 1998 20:58:37 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 25 Sep 1998 20:58:37 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA27838); Fri, 25 Sep 1998 21:55:31 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 25 Sep 1998 21:55:19 +0100
Received: from alpha.netvision.net.il [194.90.1.13] by hermes via ESMTP (VAA03964); Fri, 25 Sep 1998 21:55:16 +0100 (BST)
Received: from netvision.net.il (RAS2-p23.nt.netvision.net.il [62.0.182.147])
by alpha.netvision.net.il (8.8.6/8.8.6) with ESMTP id WAA12519
for ; Fri, 25 Sep 1998 22:54:16 +0300 (IDT)
Message-ID: <360C0339.33EDB282@netvision.net.il>
Date: Fri, 25 Sep 1998 22:55:21 +0200
From: Yair Kass
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: -e flag problems ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi,
I'm having trouble using the '-i' flag in RT1.9 .
The sound coming in (from mic or line) to Csound,when outputed, is
extremely noisy
and seem to be "buffered" (?!? maybe the wrong word but it sound
like that) and by
experimentations, I think I reduced the problem to the '-i' flag
[allowing real-time audio in].
I double-checked it using the "delay.orc/sco" example.
Naturally, I checked the buffer size and ar/kr rates but the problem
persists.
Is this a known problem ? Did I miss anything obviouse ?
H....E....L....P....
Yait Kass
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22326;
25 Sep 98 23:33 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa15575;
25 Sep 98 23:33 BST
Received: (qmail 2623 invoked from network); 25 Sep 1998 22:33:24 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 25 Sep 1998 22:33:24 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA15323); Fri, 25 Sep 1998 23:29:05 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 25 Sep 1998 23:28:54 +0100
Received: from alpha.netvision.net.il [194.90.1.13] by hermes via ESMTP (XAA21701); Fri, 25 Sep 1998 23:28:48 +0100 (BST)
Received: from netvision.net.il (RAS2-p23.nt.netvision.net.il [62.0.182.147])
by alpha.netvision.net.il (8.8.6/8.8.6) with ESMTP id AAA15794
for ; Sat, 26 Sep 1998 00:27:47 +0300 (IDT)
Message-ID: <360C1924.3CD4EB7C@netvision.net.il>
Date: Sat, 26 Sep 1998 00:28:52 +0200
From: Yair Kass
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: I meant '-i', sorry
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
In my note , titled "-e flag problems ?" I ,of course, meant: "-i flag
......".
The body of the email is refering correctlly to -i flag.
I just got the TITLE wrong.
SILLY me.
Yair Kass
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22336;
25 Sep 98 23:44 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa16628;
25 Sep 98 23:44 BST
Received: (qmail 3086 invoked from network); 25 Sep 1998 22:44:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 25 Sep 1998 22:44:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA21401); Fri, 25 Sep 1998 23:41:49 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 25 Sep 1998 23:41:38 +0100
Received: from root@bobo.oz.cc.utah.edu [155.99.2.4] by hermes via ESMTP (XAA11278); Fri, 25 Sep 1998 23:41:36 +0100 (BST)
Received: from stranger (ctsasync38.cc.utah.edu [155.99.156.38])
by bobo.oz.cc.utah.edu (8.8.8/8.8.8) with SMTP id QAA13446
for ; Fri, 25 Sep 1998 16:41:26 -0600 (MDT)
From: Reid Sweatman
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Subject: VisOrc and DirectCSound argument problems
Date: Fri, 25 Sep 1998 16:37:51 -0600
Message-ID: <000001bde8d5$22533b40$269c639b@stranger>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
Importance: Normal
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Just tried using the latest Visual Orchestra with the latest DirectCSound
from Gabriel. It appears the flag formats have changed, so VisOrc generates
flags DirectCSound won't use. Anyone know a way around this? Has the
writer of VisOrc been made aware?
Second, and more important problem: if any paths or filenames include
spaces under W95/98/NT, VisOrc doesn't enclose them in quotes, and they
appear to DirectCSound as too many arguments. Again, any way around this?
Thanks.
Reid Sweatman
Programmer/Audio Engineer
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22492;
26 Sep 98 2:00 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa29088;
26 Sep 98 2:00 BST
Received: (qmail 24309 invoked from network); 26 Sep 1998 01:00:31 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 26 Sep 1998 01:00:31 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA12125); Sat, 26 Sep 1998 01:49:11 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 26 Sep 1998 01:49:00 +0100
Received: from send102.yahoomail.com [205.180.60.90] by hermes via SMTP (BAA24470); Sat, 26 Sep 1998 01:48:58 +0100 (BST)
Message-ID: <19980926004919.19159.rocketmail@send102.yahoomail.com>
Received: from [132.206.141.44] by send102.yahoomail.com; Fri, 25 Sep 1998 17:49:19 PDT
Date: Fri, 25 Sep 1998 17:49:19 -0700 (PDT)
From: Michal Seta
Subject: Csound on MkLinux
To: csound@maths.ex.ac.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello all,
I have just recently installed MkLinux on my Mac. I wanted to run
CSound in my new OS and perhaps compare its performance between
different OS's on the same platform. However I haven't been able to
install/compile csound successfully.
Has anyone here tried to run it on MkLinux?
Mike
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23055;
26 Sep 98 8:46 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa05708;
26 Sep 98 8:46 BST
Received: (qmail 17911 invoked from network); 26 Sep 1998 07:46:31 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Sep 1998 07:46:31 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA11591); Sat, 26 Sep 1998 08:41:30 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 26 Sep 1998 08:41:19 +0100
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (IAA06031); Sat, 26 Sep 1998 08:41:17 +0100 (BST)
Received: from galileo (ppp04-09.dial-access.stm.it [195.62.37.201]) by agora.stm.it (8.8.8/8.8.5) with ESMTP id JAA14373; Sat, 26 Sep 1998 09:41:05 +0200 (ITADST)
Message-ID: <360D66F9.18E1F851@agora.stm.it>
Date: Sun, 27 Sep 1998 00:13:13 +0200
From: Gabriel Maldonado
X-Mailer: Mozilla 4.0 [en] (Win95; I)
MIME-Version: 1.0
To: Yair Kass
CC: csound@maths.ex.ac.uk
Subject: Re: -e flag problems ?
X-Priority: 3 (Normal)
References: <360C0339.33EDB282@netvision.net.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
You should be aware of these questions:
1) is your computer fast enough to handle real-time?
2) is the buffer length ('-b' flag) set to a sufficient dimension (at
least 500 when using in and out simultaneously)?
3) is the number of buffers ('-p' flag) big enough (at least 4)?
5) are you using a 'rounded' sr (for example 40000 Hz or 32000 Hz with
'-e' flag)?
6) are you using a Sound Blaster (the soundBlasters wave-in resolution
is reduced to 8-bit when using full-duplex, but these cards are the
only I successfully tested. I have two soundblaster in my computer to
avoid the 8-bit problem).
good luck!
gabriel
Yair Kass wrote:
> Hi,
>
> I'm having trouble using the '-i' flag in RT1.9 .
> The sound coming in (from mic or line) to Csound,when outputed, is
>
> extremely noisy
> and seem to be "buffered" (?!? maybe the wrong word but it sound
> like that) and by
> experimentations, I think I reduced the problem to the '-i' flag
> [allowing real-time audio in].
>
> I double-checked it using the "delay.orc/sco" example.
>
> Naturally, I checked the buffer size and ar/kr rates but the
> problem
> persists.
>
> Is this a known problem ? Did I miss anything obviouse ?
>
> H....E....L....P....
>
> Yait Kass
--
Gabriel Maldonado
http://www.agora.stm.it/G.Maldonado/home2.htm
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23220;
26 Sep 98 11:43 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa21403;
26 Sep 98 11:43 BST
Received: (qmail 15743 invoked from network); 26 Sep 1998 10:43:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 26 Sep 1998 10:43:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA06543); Sat, 26 Sep 1998 11:40:39 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 26 Sep 1998 11:40:27 +0100
Received: from send1d.yahoomail.com [205.180.60.48] by hermes via SMTP (LAA15456); Sat, 26 Sep 1998 11:40:24 +0100 (BST)
Message-ID: <19980926103237.17659.rocketmail@send1d.yahoomail.com>
Received: from [168.226.49.9] by send1d; Sat, 26 Sep 1998 03:32:37 PDT
Date: Sat, 26 Sep 1998 03:32:37 -0700 (PDT)
From: ars acustica
Subject: Visual CSound
To: csound@maths.ex.ac.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id LAA15456
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi all.
If you're still interested on testing our CSound shell, its english
version is ready to be downloaded.
Only one "oops": while the complete program interface was written on
english, the code was compiled using the Visual Basic 5.0 Spanish
Edition. Consequently, the Setup utility provided for install the
program, it's on spanish too... Anyway, there are a few steps to
follow. The files are ZIPped on a single archive (about 4 MB). If you
have some problem to install it, please email us.
Thanks a lot, and regards!
The link:
http://www.geocities.com/SiliconValley/Garage/4129/index2.html
La versi=F3n en castellano se encuentra en:=20
http://www.geocities.com/SiliconValley/Garage/4129/index.html
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23293;
26 Sep 98 13:07 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa01237;
26 Sep 98 13:07 BST
Received: (qmail 24309 invoked from network); 26 Sep 1998 12:07:55 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 26 Sep 1998 12:07:55 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (NAA03352); Sat, 26 Sep 1998 13:05:41 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 26 Sep 1998 13:05:30 +0100
Received: from alpha.netvision.net.il [194.90.1.13] by hermes via ESMTP (NAA18675); Sat, 26 Sep 1998 13:05:26 +0100 (BST)
Received: from netvision.net.il (RAS1-p10.nt.netvision.net.il [62.0.182.12])
by alpha.netvision.net.il (8.8.6/8.8.6) with ESMTP id OAA06488;
Sat, 26 Sep 1998 14:04:14 +0300 (IDT)
Message-ID: <360CD87F.7E7F8B97@netvision.net.il>
Date: Sat, 26 Sep 1998 14:05:19 +0200
From: Yair Kass
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Gabriel Maldonado
CC: csound@maths.ex.ac.uk
Subject: Re: -e flag problems ?
References: <360C0339.33EDB282@netvision.net.il> <360D66F9.18E1F851@agora.stm.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Gabriel Maldonado wrote:
> You should be aware of these questions:
> 1) is your computer fast enough to handle real-time?
333MHz.
> 2) is the buffer length ('-b' flag) set to a sufficient dimension (at
> least 500 when using in and out simultaneously)?
882.
> 3) is the number of buffers ('-p' flag) big enough (at least 4)?
>
12.
> 5) are you using a 'rounded' sr (for example 40000 Hz or 32000 Hz with
> '-e' flag)?
I've tried rounded and not-rounded. (using '-e' when rounded)
> 6) are you using a Sound Blaster (the soundBlasters wave-in resolution
> is reduced to 8-bit when using full-duplex, but these cards are the
> only I successfully tested. I have two soundblaster in my computer to
> avoid the 8-bit problem).
>
That's it, unfortunately. Sound Blaster AW64 Gold.I really wanted it to be
my fault but I guess I will now nedd to get a new card or just ANOTHER.
Thnx for the quick response, Happy new year from Israel (It's new year
for us now).
Yair Kass
> good luck!
>
> gabriel
>
> Yair Kass wrote:
>
> > Hi,
> >
> > I'm having trouble using the '-i' flag in RT1.9 .
> > The sound coming in (from mic or line) to Csound,when outputed, is
> >
> > extremely noisy
> > and seem to be "buffered" (?!? maybe the wrong word but it sound
> > like that) and by
> > experimentations, I think I reduced the problem to the '-i' flag
> > [allowing real-time audio in].
> >
> > I double-checked it using the "delay.orc/sco" example.
> >
> > Naturally, I checked the buffer size and ar/kr rates but the
> > problem
> > persists.
> >
> > Is this a known problem ? Did I miss anything obviouse ?
> >
> > H....E....L....P....
> >
> > Yait Kass
>
> --
> Gabriel Maldonado
>
> http://www.agora.stm.it/G.Maldonado/home2.htm
|