Csound Csound-dev Csound-tekno Search About

Re: realtime polyphony

Date1999-05-20 07:23
Fromtolve
SubjectRe: realtime polyphony
actually Amiga does have a dedicated digital video editing system, at least
as recent as just a couple years ago. friend of mine has one. interface not
quite elegant, particularly for audio, but a capable inexpensive (just a
few thousand USD) unit.

>The problem with the Amiga is that all hardware stuff is QUITE outdated..
>(fastest CPU's - 240MHz, fastest memory - 60ns, etc etc)
>Still have to be fixed..
>
>Amazing still..
>14-bit stereo in 56kHz with 16 year old hardware.. =)

tolve




Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17170;
          20 May 99 13:39 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kS6n-0004Ng-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 13:39:33 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (NAA13316); Thu, 20 May 1999 13:34:39 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 13:34:27 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (NAA06137); Thu, 20 May 1999 13:34:26 +0100 (BST)
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 10kS1o-0004NN-00
	for csound@maths.ex.ac.uk; Thu, 20 May 1999 13:34:24 +0100
From: jpff@maths.bath.ac.uk
To: csound@maths.ex.ac.uk
Subject: linseg
Date: Thu, 20 May 99 13:34:23 BST
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hum.... there was a classical off-by-one error in linseg, which led to
stupid overshoots etc.  I now have a version which looks correct.
  I am still rather uncertain is the error is in expseg as well -- I
think it is but for totally other reasons it does not show.

So, expect a new version soon!  Anyone using source who wants more
information, mail me.

==John


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17215;
          20 May 99 14:05 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kSVe-0004Pl-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 14:05:14 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (NAA14495); Thu, 20 May 1999 13:58:58 +0100 (BST)
From: f1f0@m9ndfukc.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 13:58:43 +0100
Received: from anago.wwa.com [198.49.174.54] by hermes via SMTP (NAA09418); Thu, 20 May 1999 13:58:40 +0100 (BST)
Received: from [207.241.63.161](really [207.241.63.161]) by anago.wwa.com
	via sendmail with smtp
	id 
	for ; Thu, 20 May 1999 07:58:21 -0500 (CDT)
	(Smail-3.2 1996-Jul-4 #88 built 1997-Nov-30)
Message-Id: 
X-Sender: f1f0@m9ndfukc.com (Unverified)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 20 May 1999 07:58:38 -0600
To: csound@maths.ex.ac.uk
Subject: [ot]
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>Sometimes a war may be necessary (and it is very difficult for me to say
>whether this one is, or not), but to ~ENJOY~ it surely has to be a
>symptom of a pathological taste. I blame the new computer games, myself.

data konduz!v 2 `neu` komputr gamez
m9ndfukd demoral!szd !nkompetent kap!tal!zm
+ dze l!f 4rmz !n zuport ov + emplo!d b!.
= 1 kattle konglomerat engroszd !n kouard!sz
+ `kultur`.!nk

> + fztr - dze kap!tal!zt vztrn maf!a
!nztant!at!ng !numerbl m!kro+klandezt!n kr!eg rout!nz
buy now. free demo. research assistant. new + !mprovd grantz.
pp.hd + fell.ou  - ja. und tch. und c!ao.

fr.fr. 1 amalgam ov zlave objektz.
!mprov!z!ng + !mplemnt!ng !mper!al!ztz' dream konta!nrz
+ non chalantl! prozt!tut!ng zelvz + prznl molekulr output.
= name tagd - prepar!ng ch!ldren 4 dze!r futur.

perm!t zom1 2 zm!le. du + ur molekulr output = posesz 0+1 futur.
= 0+1 cha!n l!nk.

vat = dze pr!v!ledge ov dze dead +?
l.amour. la ver!te. lez nu!tz en lum!ere

alorz. kap!tal de la douleur.

ecoutez




>"Dr J.Stevenson's research assistant" wrote:
>>
>> Hear tha l8test in lesser Serbia f1f0???????????
>> serb police R beatin' on war protestors in S> Serbia...
>> troopz R deserting because they R afraid thier families
>> R getin' the same that troopz R giving IN KOSOVAR HUH?
>[etc]


perfa zpez!.m n.




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17289;
          20 May 99 14:39 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kT2f-0008H7-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 14:39:21 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (OAA03720); Thu, 20 May 1999 14:35:12 +0100 (BST)
From: f1f0@m9ndfukc.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 14:34:58 +0100
Received: from anago.wwa.com [198.49.174.54] by hermes via SMTP (OAA02533); Thu, 20 May 1999 14:34:55 +0100 (BST)
Received: from [207.241.63.161](really [207.241.63.161]) by anago.wwa.com
	via sendmail with smtp
	id 
	for ; Thu, 20 May 1999 08:34:37 -0500 (CDT)
	(Smail-3.2 1996-Jul-4 #88 built 1997-Nov-30)
Message-Id: 
X-Sender: f1f0@m9ndfukc.com (Unverified)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 20 May 1999 08:34:54 -0600
To: csound@maths.ex.ac.uk
Subject: [OT] Re: MI DI Fi les
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>Sometimes a war may be necessary (and it is very difficult for me to say
>whether this one is, or not),

!f 1 = doubtz d!nam!kx ov _d!sz war
1 = ma! w!sh 2 konzult eventz ov 1936 jas +?
!t = 1 kr!ztal!n tangent.

d!nam!kx ov d!sz `kr!s!z` = dze veztrn veLt =
engaged !n 1 theft rout!n undr pretensz ov human!tar!an ass!ztansz.
adolf h!tler = per4md numerouz zuch akt!v!t!ez auss!.

4rom 1999 2 1936 = 0+0 ztep

= 1 `kr!s!z` tzo dzat veztrn l!f 4rmz = ma! !njezt + b klothed
evr tzo `elegantl!` + aku!re addtl cpu zpeed + ram + pol!fon!
- natural! at 1 eczpensz ov

dzose l!f 4rmz b!t > elokuent.



>but to ~ENJOY~ it surely has to be a
>symptom of a pathological taste.


en fakt 2 enjo! d!sz war = !nd!kat!v ov fakt
kap!tal!zm az fasc!zm = 1 maSS
movmnt. adolf h!tler != s!ngular. kontrar!.




>I blame the new computer games, myself.


l!f 4rmz who = zelekt 1 komputr game ovr 1 grat!z book
= posez 1 perfa m9nd konta!nr 4 market!ng msgz pump foam kap!tal!zt s!r!nge
pekul!ar lak ov eku!l!br!um - d!alekt!kl paSS.port.




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17404;
          20 May 99 15:16 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kTck-0008IV-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 15:16:38 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA15237); Thu, 20 May 1999 15:12:48 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 15:12:33 +0100
Received: from root@mail.sci.fi [195.74.0.53] by hermes via ESMTP (PAA17594); Thu, 20 May 1999 15:12:32 +0100 (BST)
Received: from sci.fi (MCCCXV.dyn.saunalahti.fi [195.197.4.115])
	by pefletti.saunalahti.fi (8.9.1/8.9.1) with ESMTP id RAA24119;
	Thu, 20 May 1999 17:12:26 +0300 (EET DST)
Message-ID: <3744180B.B2D2B765@sci.fi>
Date: Thu, 20 May 1999 17:11:24 +0300
From: Matti Koskinen 
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.35 i586)
MIME-Version: 1.0
To: Thomas Huber 
CC: Csound 
Subject: Re: MIDI files
References: <199905200559.HAA25355@klee.iamexwi.unibe.ch>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Thomas Huber wrote:
> 
> > there is  "MIDI File Format Conversion" utility for Win32
> >
> > The author is Jeff Glatt
> 
> Does anyone know one for Unix ? At the moment I'm using a DOS version called
> midi1to0, but it's very unpractical. I also downloaded its source, but I
> couldn't compile, because it needs some midi library I couldn't find anywhere.
> 
> Thomas
i wrote once a simple one using tclmidi, worked in way or another,
i'll look if i still got it somewhere.

-matti
mjkoskin@sci.fi


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17461;
          20 May 99 15:26 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kTm9-0008Iy-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 15:26:21 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA12196); Thu, 20 May 1999 15:22:34 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 15:22:23 +0100
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (PAA06269); Thu, 20 May 1999 15:22:19 +0100 (BST)
Received: from ccrma.stanford.edu ([207.97.74.59])
	by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id HAA08728;
	Thu, 20 May 1999 07:22:07 -0700 (PDT)
Message-ID: <374419B0.13E49A2A@ccrma.stanford.edu>
Date: Thu, 20 May 1999 10:18:24 -0400
From: Tobias Kunze 
X-Mailer: Mozilla 4.05C-SGI [en] (X11; I; IRIX 6.5 IP22)
MIME-Version: 1.0
To: Michael Gogins 
CC: csound@maths.ex.ac.uk
Subject: Re: realtime polyphony
References: <001801bea2b4$f03b8c80$79d496c0@Realizer.ngt.sungard.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> It is not possible, in principle, to write code faster than handwritten and
> carefully optimized machine language. Therefore, every advance in software
> engineering since the invention of the computer itself has done nothing to
> add to this basic speed.

True, but in practice carefully hand-optimized code turns
often out to be hard to maintain and thus tends to lead to 
secondary inefficiencies.

-Tobias


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17503;
          20 May 99 15:40 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kTzb-0008JU-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 15:40:16 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA00041); Thu, 20 May 1999 15:36:16 +0100 (BST)
From: f1f0@m9ndfukc.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 15:36:05 +0100
Received: from anago.wwa.com [198.49.174.54] by hermes via SMTP (PAA07823); Thu, 20 May 1999 15:36:02 +0100 (BST)
Received: from [207.241.63.161](really [207.241.63.161]) by anago.wwa.com
	via sendmail with smtp
	id 
	for ; Thu, 20 May 1999 09:35:43 -0500 (CDT)
	(Smail-3.2 1996-Jul-4 #88 built 1997-Nov-30)
Message-Id: 
X-Sender: f1f0@m9ndfukc.com (Unverified)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 20 May 1999 09:36:00 -0600
To: csound@maths.ex.ac.uk
Subject: [ot]
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


!t = 1 perfa rout!n

0+1zt = shall deztro! dze demokrat!k rout!n !n ur land
az !t = `fasc!zt!k`. WE = shall !nztall OUR demokraSS!

aprez

= shall zteal ur hammr + break ur head w!Th
[!f du != ku!et = shall zteal ur z!kl + d!z+membr u
aftr all demokraSS! haz !tz wa!z - tzo du = bezt b ku!et B0!]

et aprez

= shall zell 2 u dze ztoln hammr +
zell 2 u human!tar!an ass!ztansz 4 ur brokn head ! = hav brokn
w!th ur hammr wh!ch ! = hav ztoln

et apresz

az du = suffer!ng 4rom 1 zever kasz ov vztrn human!tar!an ass!ztansz
+ = feel radzr letharg!k = shall zteal ur natural resorsez
= shall pak.age ur natural resorsez !n 1 kan!ztr
produszd w!th natural resorsez 4rom ur ne!ghborsz natural resorsez
+ = shall zell 2 u ur natural resorsesz wh!ch ! = hav ztoln
[bkausz aftr all demokraSS! haz !tz wa!z - tzo bezt b ku!et B0!]
dusz pakaged.

du = muzt agr! ___  dze! = look evr tzo luvl! !n dzat
kan!ztr w!th 1 ultra verztrn ar!an fasz on !t non +?
[nutr!entz pour ur m9nd konta!nr B0!]

+ !n an! kasz = am zell!ng !t 2 u at 1 d!zkountd kozt
[w!nk - du = lern!ng dze mean!ng ov 1 kap!tal!zt SALE BO!]
az du = ma! not!sz ur ne!ghborsz koztz = much h!gher
[btw - d!d ! = menz!on. a. o. ouch. hou kould ! = hav ovrlookd.
ur ne!ghbor = w!shez u harm. du = muzt b mozt atent!v.
+ natural! WE = h!er 2 aSS!zt. en fakt WE = hav alred!
!nztald m!l!tar! basez all ovr ur land tzo az 2 protekt ur !ntrztz.
WE love you B0!]

nou = arnt u konv!nszd kap!tal!zm = zuper!or 2 ur
`fasc!zt!k` pred!lekt!onz +?

jas. = am read! + w!ll!ng + abl

a. dze jankee zvazt!ka = per4mz zuperbl! aga!n.

-
-
-


hallo vztrn l!f 4rmz + felou kountr! MEN
! = hav juzt kompl!etd dze p!llage. zteal + defakat on 1 odr `rogue reg!m`
wh!ch = !mpl!ez ! = worth! ov re+elekz!on.

we = red! 2 bl!ev u.

-
-
-


!n dze !nter!m vztrn l!f 4rmz =
ultra !nfur!atd apropoz fakt b!257+!2 US. ed!z!on
= koztz $30 > !nternaz!onl ed!z!on.

= hou kan 1 juzt!f! d!sz d!zkr!m!naz!on

vl. veztrn l!f 4rm. dze r!zon!ng = vud b mozt verboze
+ !nvoke numerouz !n ur proud 2 b 1 jankee kou bo! fasz sp!t rout!nz
abr - 2 b ultra konz!sz !t = due 2 du = 1 global paraz!te




Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17632;
          20 May 99 16:18 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kUaI-0004Xq-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 16:18:10 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA11085); Thu, 20 May 1999 16:14:12 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 16:13:59 +0100
Received: from root@big.fishnet.net [204.89.144.3] by hermes via ESMTP (QAA10258); Thu, 20 May 1999 16:13:56 +0100 (BST)
Received: from rcsreg.com (x200.core.fishnet.net [204.89.144.200])
	by big.fishnet.net (8.9.2/8.8.5) with ESMTP id HAA27889
	for ; Thu, 20 May 1999 07:21:21 -0700 (PDT)
Message-ID: <374427D7.B4AC667B@rcsreg.com>
Date: Thu, 20 May 1999 15:18:47 +0000
From: Tobiah 
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5 i686)
X-Accept-Language: en
MIME-Version: 1.0
CC: csound@maths.ex.ac.uk
Subject: Re: realtime polyphony
References: <199905200445.AAA28372@renoir.op.net> <3743EE4E.4B9E86F1@erols.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

It is amazing that we are getting such different results from
different compilers and machines.  I have a Celeron 333A that
gets 206 oscils with the same flags on gcc. Hmmm.

> > Yowsa! On a 450Mhz P-II, with -O3 -funroll-loops: 798 oscillators (daddy-oh!)
> 
> Interesting. For the most part, I've been impressed that my cheapo
> Celeron-333 performs pretty close to a PII, but I'm not finding that
> with your last version of the code...
> 
> Original: about 40
> With floats & integer phase accum.: about 110
> 
> compiled with egcs -O3 -funroll-all-loops -m486 -ffast-math
> 
> Any idea why it's so far behind? (110 vs. 565 at same mhz!)
> I know the cache memory is much smaller. Could that account for it?
> 
> 
> --PW


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17790;
          20 May 99 17:21 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kVZM-0008OS-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 17:21:16 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA01437); Thu, 20 May 1999 17:17:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 17:17:42 +0100
Received: from out2.ibm.net [165.87.194.229] by hermes via ESMTP (RAA12608); Thu, 20 May 1999 17:17:41 +0100 (BST)
Received: from ibm.net (slip-32-101-211-120.dc.us.ibm.net [32.101.211.120]) by out2.ibm.net (8.8.5/8.6.9) with ESMTP id QAA138478 for ; Thu, 20 May 1999 16:17:32 GMT
Message-ID: <374436B6.BDF12038@ibm.net>
Date: Thu, 20 May 1999 12:22:14 -0400
From: "Job M. van Zuijlen" 
Reply-To: zuijlen@ibm.net
Organization: electona
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: realtime polyphony
References: <199905200445.AAA28372@renoir.op.net> <3743EE4E.4B9E86F1@erols.com> <374427D7.B4AC667B@rcsreg.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

It might be worthwhile, given the differences, to upload a number of
compiled versions (or the fastest one if that can be established) for
those who do not compile their own Csound and have to use the executable
that is made available at the Bath ftp site.  This would then be in
addition to the one placed there by John ffitch.  Same perhaps for other
Csound flavors.

I'm using Csound on Windows and I for one had no idea that the Intel C
compiler would give much better results than MSVC.  I suppose similar
observations hold for Csound for other OSs.  I usually don't compile
Csound and just grab the executable, so contributions from people who
really know about building software and compilers are / would be greatly
appreciated.

Job van Zuijlen   

Tobiah wrote:
> 
> It is amazing that we are getting such different results from
> different compilers and machines.  I have a Celeron 333A that
> gets 206 oscils with the same flags on gcc. Hmmm.
>


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17960;
          20 May 99 17:58 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kW9P-0004dg-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 17:58:31 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA11924); Thu, 20 May 1999 17:55:28 +0100 (BST)
From: thudson@cygnus.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 17:55:15 +0100
Received: from root@www.tomy.net [209.186.149.104] by hermes via ESMTP (RAA16315); Thu, 20 May 1999 17:55:14 +0100 (BST)
Received: from cygnus.com (IDENT:thudson@jimi.tomy.net [192.168.1.2])
	by www.tomy.net (8.9.3/8.9.3) with ESMTP id NAA09051;
	Thu, 20 May 1999 13:16:29 -0400
Message-ID: <37443FAA.506D633E@cygnus.com>
Date: Thu, 20 May 1999 13:00:26 -0400
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Paul Barton-Davis 
CC: Ed Hall , csound@maths.ex.ac.uk
Subject: Re: realtime polyphony
References: <199905200445.AAA28372@renoir.op.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Paul Barton-Davis wrote:
> 
> >The score for a 333MHz P-II:
> >
> >   Original benchmark:        49 oscillators
> >   With float wavetable:     104 oscillators
> >   And integer phase accum:  565 oscillators
> 
> Yowsa! On a 450Mhz P-II, with -O3 -funroll-loops: 798 oscillators (daddy-oh!)
> 
I have a Celeron 300A w/ Abit BH6 motherboard, overclocked to 464Mhz.

76 oscillators
163 oscillators
852 oscillators

It's interesting that my osc/Mhz ratio is higher. The Celeron
has it's L2 cache on die and running at the same speed as the 
processor.

Not bad for a mb/cpu combo that only cost $180.


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18208;
          20 May 99 19:43 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kXmi-0008S8-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 19:43:12 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (TAA07333); Thu, 20 May 1999 19:38:36 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 19:38:25 +0100
Received: from root@cr386117-a.ktchnr1.on.wave.home.com [24.112.244.248] by hermes via ESMTP (TAA02575); Thu, 20 May 1999 19:38:19 +0100 (BST)
Received: by globalserve.net
	via sendmail from stdin
	id  (Debian Smail3.2.0.102)
	for csound@maths.ex.ac.uk; Thu, 20 May 1999 14:38:13 -0400 (EDT) 
To: Paul Barton-Davis 
Cc: Ed Hall , csound@maths.ex.ac.uk
Subject: Re: realtime polyphony
References: <199905200445.AAA28372@renoir.op.net>
From: Allover Stripes 
Date: 20 May 1999 14:38:13 -0400
In-Reply-To: Paul Barton-Davis's message of "Thu, 20 May 1999 00:42:37 -0400"
Message-ID: <87d7zvegdm.fsf@hedgehog.zoo>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Paul Barton-Davis  writes:

> >The score for a 333MHz P-II:
> >
> >   Original benchmark:        49 oscillators
> >   With float wavetable:     104 oscillators
> >   And integer phase accum:  565 oscillators
> 
> Yowsa! On a 450Mhz P-II, with -O3 -funroll-loops: 798 oscillators (daddy-oh!)

You might try -m686 or even -march=686.  You're compiling
386-optimized code.  The first gives PII optimized, and the second
uses PII opcodes.  You might also want to try -O9 (if you're using
egcs) since this may allow even more optimization.  Also, optimizing
for size instead of speed may make things faster; using sine and
cosine could be faster (!) than a lookup table if the table's big ---
memory is *slow* so if you're short of cache, and Pentia have good
floating point. 

> Thanks Ed. Nice demonstration of how the little details sometimes
> matter a lot.
> 
> --p

Let me know if it helps...  Not that thisi is especially relevant to
the original poster's question.

Andrew


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18581;
          20 May 99 23:25 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kbGB-0004lV-00
	for jpff@maths.bath.ac.uk; Thu, 20 May 1999 23:25:51 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (XAA14757); Thu, 20 May 1999 23:22:47 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 20 May 1999 23:22:40 +0100
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (XAA08644); Thu, 20 May 1999 23:22:38 +0100 (BST)
Received: from ccrma.stanford.edu ([207.97.74.58])
	by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id PAA12921;
	Thu, 20 May 1999 15:22:33 -0700 (PDT)
Message-ID: <37448A4E.F19EF4AE@ccrma.stanford.edu>
Date: Thu, 20 May 1999 18:18:54 -0400
From: Tobias Kunze 
X-Mailer: Mozilla 4.05C-SGI [en] (X11; I; IRIX 6.5 IP22)
MIME-Version: 1.0
To: zuijlen@ibm.net, ":csound" 
Subject: Re: MIDI Files (retry)
References: <19990518221247.8651.qmail@nwcst059.netaddress.usa.net> <37425E3E.57472AD7@ibm.net> <3743B4C5.80CE763D@ccrma.stanford.edu> <37443245.30255396@ibm.net> <37443FAD.858F5A66@ccrma.stanford.edu> <37444B15.1DF5C924@ibm.net>
Content-Type: multipart/mixed; boundary="------------968A6E1F3D30143FD1FD083A"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

This is a multi-part message in MIME format.
--------------968A6E1F3D30143FD1FD083A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Problem is csound doesn't recognize program changes (message 
type 0xcN, where N is the channel number).  So, in order to
get MIDI files to drive csound you'll have to manually remove
these messages and add their delta times to the delta times
of previous non-program-change messages.  

Or go fix the csound sources.  :)

Attached you will find the test material:  midiin.{orc,sco} 
and {no,}progch.mid

Then run 

  csound -F noprogch.mid -o dac mididin.{orc,sco}


-Tobias
--------------968A6E1F3D30143FD1FD083A
Content-Type: audio/midi; name="progch.mid"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="progch.mid"

TVRoZAAAAAYAAAABAHhNVHJrAAAApwD/Awh1bnRpdGxlZAD/AiZDb3B5cmlnaHQgqSAxOTk5
IGJ5IEpvYiBNLiB2YW4gWnVpamxlbgD/ARJKb2IgTS4gdmFuIFp1aWpsZW4A/1gEBAIYCAD/
WQIAAAD/UQMHoSAAwAAAsAd/AApAAJAcZDwcAAAdZDwdAAAiZDwiAAAmZDwmAAAoZDwoAAAm
ZDwmAAAiZDwiAAAfZDwfAAAhZIFwIQAA/y8A
--------------968A6E1F3D30143FD1FD083A
Content-Type: audio/midi; name="noprogch.mid"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="noprogch.mid"

TVRoZAAAAAYAAAABAHhNVHJrAAAAtQD/Awh1bnRpdGxlZAD/AiZDb3B5cmlnaHQgqSAxOTk5
IGJ5IEpvYiBNLiB2YW4gWnVpamxlbgD/ARJKb2IgTS4gdmFuIFp1aWpsZW4A/1gEBAIYCAD/
WQIAAAD/UQMHoSAAsAd/AApAAJAcZDyAHH8AkB1kPIAdfwCQImQ8gCJ/AJAmZDyAJn8AkChk
PIAofwCQJmQ8gCZ/AJAiZDyAIn8AkB9kPIAffwCQIWSBcIAhfwD/LwA=
--------------968A6E1F3D30143FD1FD083A
Content-Type: text/plain; charset=us-ascii; name="midiin.orc"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="midiin.orc"

;-----CYNTHIA - 0.93-------------------------------------------

    sr = 22050
    kr = 441
    ksmps = 50
    nchnls = 1

;-----------------------------------------------------------

    instr 1


iamp	ampmidi		32767*.01
icps	cpsmidi
kg	linenr		iamp,0,1,0.00001
asig	oscili		kg, icps, 1
ar1	reson		asig, 440, 40
ar2	reson		asig, 1000, 80
ar3	reverb		(ar1 + ar2)*.5,1
	out		ar3
  
    endin






--------------968A6E1F3D30143FD1FD083A
Content-Type: x-music/x-csound; name="midiin.sco"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="midiin.sco"

;-----CYNTHIA - 0.93-------------------------------------------
	     
f1 0 8192 10 1 .2 .33 .25 .2 .17 .125 .11 .1
f0 100

;-----------------------------------------------------------






--------------968A6E1F3D30143FD1FD083A--



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18833;
          21 May 99 1:26 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kd91-0004ph-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 01:26:35 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (BAA10621); Fri, 21 May 1999 01:22:37 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 01:22:26 +0100
Received: from out5.ibm.net [165.87.194.243] by hermes via ESMTP (BAA11830); Fri, 21 May 1999 01:22:25 +0100 (BST)
Received: from ibm.net (slip-32-100-148-96.wa.us.ibm.net [32.100.148.96]) by out5.ibm.net (8.8.5/8.6.9) with ESMTP id AAA84508 for ; Fri, 21 May 1999 00:22:22 GMT
Message-ID: <3744A6AC.E301308B@ibm.net>
Date: Thu, 20 May 1999 17:19:57 -0700
From: Prent Rodgers 
Reply-To: prodgers@ibm.net
X-Mailer: Mozilla 4.51 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Examples of Csound Music files on MP3.Com - shameless promotion follows
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Csounders,

I have placed some new examples of my microtonal music on MP3.com. For
those interested in the use of Csound in a musical
context, you can listen to RealAudio snippets or MP3 compressed versions

of the files. All were created with Csound and some sample files from a
variety of sources. The site is http://www.mp3.com/PrentRodgers . The
source code (macro files and Csound .sco and .orc) are available at my
personal web site: http://pws.prserv.net/Music1 . The source code goes
through a macro-processor I wrote to simplify composition using
microtonal scales and complex rhythms, with a healthy dose of
indeterminancy. It produces .sco files, which I then send directly
into Csound sample based orchestra.

The new songs are:

    - Speaking into the Air, a jazzy percussive piece with a simple
theme and challenging modulations around the 11 limit tonality diamond.
The piece stays in an identity for a random number of measures, and
wanders some more.

    - In the Tongues of Men and Angels, which uses only the tones of
Partch's Incipient Tonality Diamond, which is limited to the 5 limit.
The piece uses only 6 tones at a time, which I call A-, C, E, F, G,
which is kind of like an A minor, without a B; and Ab, C, E--, F, G,
which is like an Ab major, again without the Bb.

@ Incipient tonality diamond with 1:1 set to C
@
@                 3:3
@                  C
@            5:3        6:5
@             A-        E--
@       4:3       5:5        3:2
@        F         C         G
@            8:5        5:4
@             Ab         E
@                 1:1
@                  C

Prent Rodgers
Mercer Island, WA





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18844;
          21 May 99 1:34 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kdGg-0004pl-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 01:34:30 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (BAA13726); Fri, 21 May 1999 01:32:33 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 01:32:21 +0100
Received: from ares.flash.net [209.30.0.41] by hermes via ESMTP (BAA16731); Fri, 21 May 1999 01:32:20 +0100 (BST)
Received: from bigfoot.com (p228-251.atnt5.dialup.ftw1.flash.net [209.30.228.251])
	by ares.flash.net (8.9.3/8.9.3) with ESMTP id TAA04360
	for ; Thu, 20 May 1999 19:32:18 -0500 (CDT)
Message-ID: <3744A9C8.AA9D2A44@bigfoot.com>
Date: Thu, 20 May 1999 19:33:12 -0500
From: pete moss 
Organization: pete moss GmbH
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "csound@maths.ex.ac.uk" 
Subject: some of my comps
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

i too have put up some of my csound compositions.  check out:
http://www.bigfoot.com/~bantha/music.html

enjoy!

pete


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa19015;
          21 May 99 3: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 10keyj-00008i-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 03:24:05 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (DAA10999); Fri, 21 May 1999 03:21:58 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 03:21:47 +0100
Received: from root@skye1.skyenet.net [162.142.242.20] by hermes via ESMTP (DAA00808); Fri, 21 May 1999 03:21:46 +0100 (BST)
Received: from skynet.net (skye-oc04-23.statewideweb.com [208.141.202.181])
	by skye1.skyenet.net (8.8.8/8.8.7) with SMTP id VAA12934
	for ; Thu, 20 May 1999 21:20:46 -0500
Date: Thu, 20 May 1999 21:20:46 -0500
Message-Id: <199905210220.VAA12934@skye1.skyenet.net>
X-Sender: ada@pop.skyenet.net
X-Mailer: Windows Eudora Version 1.4.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: csound@maths.ex.ac.uk
From: "A. Archias" 
Subject: Re; Winsound 3.54 for PC prob?
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

 I downloaded 3.54 PC version form the maths\bath ftp server. Unzipped it,
ran it and all that opens is the shell. Is something missing?

   Andy A.



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa19066;
          21 May 99 3:56 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kfU7-000097-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 03:56:31 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (DAA06243); Fri, 21 May 1999 03:54:20 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 03:54:09 +0100
Received: from vcn.bc.ca [207.102.64.2] by hermes via ESMTP (DAA17195); Fri, 21 May 1999 03:54:07 +0100 (BST)
Received: from localhost (wfreno@localhost)
	by vcn.bc.ca (8.9.2/8.9.2) with ESMTP id TAA15584;
	Thu, 20 May 1999 19:54:04 -0700 (PDT)
Date: Thu, 20 May 1999 19:54:04 -0700 (PDT)
From: Wayne Freno 
To: "A. Archias" 
cc: csound@maths.ex.ac.uk
Subject: Re: Re; Winsound 3.54 for PC prob?
In-Reply-To: <199905210220.VAA12934@skye1.skyenet.net>
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


Which unzipper are you using?  I found that one called 
Powerzip consistently does the same thing.  I just got 
a different unzipper.  BTW I haven't tried unzipping
the new version of csound yet.

On Thu, 20 May 1999, A. Archias wrote:

>  I downloaded 3.54 PC version form the maths\bath ftp server. Unzipped it,
> ran it and all that opens is the shell. Is something missing?
> 
>    Andy A.
> 
> 

sound endbyte





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa19356;
          21 May 99 7:11 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kiX9-0004yQ-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 07:11:51 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (HAA11802); Fri, 21 May 1999 07:09:40 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 07:09:29 +0100
Received: from mail4.lig.bellsouth.net [205.152.0.32] by hermes via ESMTP (HAA00501); Fri, 21 May 1999 07:09:27 +0100 (BST)
Received: from bellsouth.net (host-216-76-185-47.gnv.bellsouth.net [216.76.185.47])
	by mail4.lig.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id BAA09254
	for ; Fri, 21 May 1999 01:57:16 -0400 (EDT)
Message-ID: <3744F8B4.D1161D8C@bellsouth.net>
Date: Fri, 21 May 1999 02:09:56 -0400
From: Patrick Pagano 
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List 
Subject: New 3.54
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Dear John and Csounders
Had no troubles loading in the New one
In your notes you did not mention that it works about 3x as Fast!!!
I am running it on a clunky ibm cloney and minute and a half pieces were
previously a "run to the store or shower while" affair
Is this Just a pleasant Bonus for Winsound or is it across the board?
Beautiful regardless
Thanks
Pat Pagano



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa19471;
          21 May 99 8:30 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kjlC-0000Fy-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 08:30:26 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (IAA01430); Fri, 21 May 1999 08:25:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 08:25:42 +0100
Received: from mailhub.unibe.ch [130.92.254.109] by hermes via ESMTP (IAA10707); Fri, 21 May 1999 08:25:42 +0100 (BST)
Received: from iamexwi.unibe.ch (haegar.unibe.ch [130.92.71.10])
 by mailhub.unibe.ch (PMDF V5.2-29 #33079)
 with ESMTP id <0FC200ENJN9KSH@mailhub.unibe.ch> for csound@maths.ex.ac.uk;
 Fri, 21 May 1999 09:24:57 +0200 (MET DST)
Received: from klee.iamexwi.unibe.ch (klee [130.92.63.36])
	by iamexwi.unibe.ch (8.8.8+Sun/8.8.8) with ESMTP id JAA06450	for
 ; Fri, 21 May 1999 09:25:25 +0200 (MET DST)
Received: by klee.iamexwi.unibe.ch (8.8.8+Sun/SMI-SVR4)	id JAA02313; Fri,
 21 May 1999 09:25:23 +0200 (MET DST)
Date: Fri, 21 May 1999 09:25:23 +0200 (MET DST)
From: Thomas Huber 
Subject: Re: realtime polyphony
To: csound@maths.ex.ac.uk
Message-id: <199905210725.JAA02313@klee.iamexwi.unibe.ch>
Content-transfer-encoding: 7BIT
X-Sun-Charset: US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> I have a Celeron 300A w/ Abit BH6 motherboard, overclocked to 464Mhz.
> 76 oscillators
> 163 oscillators
> 852 oscillators

I have a PentiumII/350. My results were _very_ dependent of the
compiler switches (egcs-2.91.66):

-O3 -mpentium				: 650  oscillators
-O3					: 700  oscillators
-O3 -funroll-loops			: 890  oscillators
-O3 -fomit-frame-pointer -funroll-loops	: 1036 oscillators (Daddy-oh!!!!!!!!)

After that, I will recompile my csound with these switches...



Thomas



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa19620;
          21 May 99 9:45 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 10kkvi-00052m-00
	for jpff@maths.bath.ac.uk; Fri, 21 May 1999 09:45:22 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (JAA08446); Fri, 21 May 1999 09:43:19 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 21 May 1999 09:43:03 +0100
Received: from smtp1.erols.com [207.172.3.234] by hermes via ESMTP (JAA17543); Fri, 21 May 1999 09:32:22 +0100 (BST)
Received: from erols.com (209-122-225-134.s134.tnt1.nyw.ny.dialup.rcn.com [209.122.225.134])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id EAA03168;
	Fri, 21 May 1999 04:32:18 -0400 (EDT)
Message-ID: <3744C989.E0F397AB@erols.com>
Date: Thu, 20 May 1999 22:48:41 -0400
From: Paul Winkler 
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686)
MIME-Version: 1.0
To: Tobiah 
CC: csound@maths.ex.ac.uk
Subject: Re: realtime polyphony
References: <199905200445.AAA28372@renoir.op.net> <3743EE4E.4B9E86F1@erols.com> <374427D7.B4AC667B@rcsreg.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Tobiah wrote:
> 
> It is amazing that we are getting such different results from
> different compilers and machines.  I have a Celeron 333A that
> gets 206 oscils with the same flags on gcc. Hmmm.
> 

Whoops.
I _must_ have confused my versions of oscillates.c ... the one I thought
was Ed's is not the same as his message at all. I should have checked
that before posting.

I just re-copied Ed's code into a new file, compiled it with egcs
-m486 -ffast-math -funroll-all-loops, and it's running right now, over
400 oscillators and counting ... no glitches with X and emacs running at
the same time. 

Final score: 720 oscillators, daddy-oh!

gcc with the same flags scores 690 oscillators.

Csound doesn't fare nearly so well. Compiled with gcc -O2 (at the
moment, due to a buggy .config file, I can't compile it with anything
else), I get 200 super-simple oscillators from this orc. ( I get about
160 if I use oscili instead of oscil, and only about 40 if I use
oscil3).

I can increase the performance with the -b flag: best for me seems to be
-b 4096, or -b 2048, which both get about 220 oscils. Even down at -b
256 I can get up to 200 oscils, which is pretty low latency for realtime
MIDI. I think I can say that small buffer sizes work better on this
machine than they did on a Pentium 133.

; begin orc

	sr	=	44100
	kr	=	2205
	ksmps	=	20
	nchnls	=	1

instr 1
ipitch = p5 + 200
a1 oscil p4, ipitch, 1              
out a1 
print p5                        ;  this tells us how many oscils.
endin

; begin score
f1 0 1024 10 1 ; sine
t 0 400 100 120 400 60 ; edit to your taste

;1    at       dur      amp     count (same as at, but not time-warped)
i1    1         700     1000    1   
i1    2         .       .       2   
i1    3         .       .       3   
i1    4         .       .       4   
i1    5         .       .       5   
i1    6         .       .       6   
i1    7         .       .       7   
i1    8         .       .       8   
i1    9         .       .       9   
i1    10        .       .       10  
etc. etc...




-------------------   paul winkler   --------------------
slinkP arts: music, sound, illustration, web design, etc.

zarmzarm@erols.com      http://members.tripod.com/~slinkP
=========================================================

Date1999-05-20 10:16
FromRichard Dobson
SubjectRe: realtime polyphony
This depends very much on the compiler - Intel's C compiler is very much
faster that MSVC, for example, as the latter employs a function call
within the casting code. A hand-built assembly routine to do the
conversion gives a very big speed increase. It can be done even more
quickly if you accept the Pentium's default rounding mode (which is
usually just fine), rather than the truncation  mode predicated by C.
There was an extensive discussion about this on the music-dsp list a
while back; if anyone is interested I can dig up some of the assembly
routines that were passed around.

I haven't done Csound benchmarks on Linux yet (nor even installed it,
yet), but the phase vocoder (compiled with GCC) runs usefully faster
under Linux than the identical program (VC++) does under Win32. PVOC is
~so~ f/p intensive that it is as much a test of the motherboard as of
the CPU itself!

>From other posts: Win32 is of course fully pre-emptive multi-tasking and
multi-threaded, so the direct comparison with Linux is pertinent. All
the comments I haver heard suggest Linux is usefully faster than Win32.
However, I can well believe that the Linux audio drivers could be the
bottleneck, especially if any amount of polling is being used. 

A propos of which - a Linux driver for the XTCsound card would be very
useful right now!

Richard Dobson


Paul Barton-Davis wrote:

> 
> I had no idea that the float->int conversion was so expensive on the
> Pentium. A very good thing to keep in mind ...
> 
> --p

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 19th May 1999)

Date1999-05-20 10:52
FromAnders Andersson
SubjectRe: realtime polyphony
> From other posts: Win32 is of course fully pre-emptive multi-tasking and
> multi-threaded, so the direct comparison with Linux is pertinent. All
> the comments I haver heard suggest Linux is usefully faster than Win32.
> However, I can well believe that the Linux audio drivers could be the
> bottleneck, especially if any amount of polling is being used. 
> 
> A propos of which - a Linux driver for the XTCsound card would be very
> useful right now!

The best thing would be if Amiga Inc would come up with some updated
hardware,
so we'll get a OS where you CAN shut down all other processes, and let
CSound
run with 100% of the CPU, and where you have DIRECT! access to the audio
D/A,
that is, do a "move.w d0,BLAH" where BLAH is the mapped adress of the D/A
converter,
and the sample is played.. Or better still, let the Audio DMA do the whole
thing
and forget about the whole thing.. And shut down the Video DMA so that the
computer
don't have to worry about displaying any picture.. :)

The problem with the Amiga is that all hardware stuff is QUITE outdated..
(fastest CPU's - 240MHz, fastest memory - 60ns, etc etc)
Still have to be fixed..

Amazing still..
14-bit stereo in 56kHz with 16 year old hardware.. =)


// Anders