473,386 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Best language for music apps

_R
I know VC++ and C# fairly well, but I'm trying to weigh pros and cons
for use of each on a music project. It will entail MIDI and sample
playback, use of fairly high-res timers (if available) and quick
(realtime) update of screen graphics.

I've written similar programs, but not under .NET. I'd love to use
C#, but I'm concerned about speed and access to lower level code, if
that becomes necessary.

I realize that I could use PInvoke to call the old graphics Bitblt for
speed, etc. And I can drop to unmanaged C++ if necessary for some
runtime functions.

I guess the main question is whether it's worth writing any of it in
C#, given the amount of time-critical code, though I do love the
quick dev time of C# and absence of tedious function prototypes, etc.
Nov 17 '05 #1
3 1396
Well, Vertigo Software ported Quake II to managed C++
(http://www.vertigosoftware.com/Quake2.htm), and, according to them,
the performance was very close to the original C version developed by
id Software.

While it was done in managed C++, and not C#, and it's a game, not a
music authoring application, I think it's very relevant to what you are
trying to do. One can conclude that, in general, C# and .NET are
suitable for non-mission critical real time applications.

Of course, your mileage might vary.

Nov 17 '05 #2
Well, Vertigo Software ported Quake II to managed C++
(http://www.vertigosoftware.com/Quake2.htm), and, according to them,
the performance was very close to the original C version developed by
id Software.

While it was done in managed C++, and not C#, and it's a game, not a
music authoring application, I think it's very relevant to what you are
trying to do. One can conclude that, in general, C# and .NET are
suitable for non-mission critical real time applications.

Of course, your mileage might vary.

Nov 17 '05 #3
For Quake the actual code was in C++ (native), so for them it was easy to
convert in managed C++ than any other NET languages. It's better to
experiment in CLI, I don't think you will get an edge over C# if you use MC++

"Mohammad" wrote:
Well, Vertigo Software ported Quake II to managed C++
(http://www.vertigosoftware.com/Quake2.htm), and, according to them,
the performance was very close to the original C version developed by
id Software.

While it was done in managed C++, and not C#, and it's a game, not a
music authoring application, I think it's very relevant to what you are
trying to do. One can conclude that, in general, C# and .NET are
suitable for non-mission critical real time applications.

Of course, your mileage might vary.

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
0
by: _R | last post by:
I know VC++ and C# fairly well, but I'm trying to weigh pros and cons for use of each on a music project. It will entail MIDI and sample playback, use of fairly high-res timers (if available) and...
2
by: _R | last post by:
I know VC++ and C# fairly well, but I'm trying to weigh pros and cons for use of each on a music project. It will entail MIDI and sample playback, use of fairly high-res timers (if available) and...
10
by: PJ6 | last post by:
I've read some of the posts on this subject but let me add this little twist to the subject's question- I can appreciate the utility of doing screen caps off of other websites with PSP or PhotoShop...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.