| I presume you mean the souce code, not the orc/score syntax?
I think it depends on how inportant 'fashion' is. I am writing some simple dsp
routines (quasi-opcodes) in C++ because it is easy and convenient - I can plug
bits together very quickly. However, I am under no illusions that the result
runs particularly efficiently. Despite the style of its code (which is
continually being improved, anyway) Csound runs remarkably quickly - witness the
number of users who get it to work in real-time.
There are also some platforms, such as the Atari (still very much in use!) for
which C++ is not available, and one of the most important aspects of Csound is
that the core code will compile and run on just about any platform which
supports a C compiler.
Also, from all the books I have read, a surface revamp of this sort of C code
into C++ does not usually work well, and can even introduce more problem than it
solves. A good idiomatic C++ version of Csound would almost certainly have to be
written from scratch. Although C++ has now been 'standardized' there are still
areas of uncertainty, and significant differences between implementations, which
could lead to portability problems.
Actually, there is a bit of C++ code in Csound - in the GUI part of Winsound. It
currently sits in a rather uneasy relationship with the more unix-ish parts of
the code, but it is there. And ironically, some code (the physical modelling
opcodes) has been converted from C++ to C!
It is an interesting idea, nevertheless, and if someone came up with a
base-class definitition for an opcode (complete with krate and arate methods) I
would be very glad to try it out!
Richard Dobson
Koen Dejonghe wrote:
>
> Dear all,
>
> As a developer who programs in a variety of languages, I am baffled by
> the old fashioned way of writing CSound. It is very powerfull indeed,
> but so is Assembler. It is also very cumbersome to get even the least
> of sounds working. (I know I'm kicking some people's shins right now.)
>
> Is anybody working on a higher level version of CSound ? Can we expect
> a C++Sound in the future ?
>
> Thanks for reading and responding.
>
> Kind regards,
> Koen Dejonghe
>
> ==
> Koen Dejonghe
> QAD Service Line
> Origin International Competences & Alliances
> http://www.origin-it.com
> +32 2 712 3668
>
> _________________________________________________________
> DO YOU YAHOO!? |