473,287 Members | 1,663 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,287 software developers and data experts.

polyphony of average sound card

I'd like to know how many sounds I can play at once using the average
pc. of course, average is rather vague. let's say, 1 gigahertz, 256
mb ram, and a 16 bit 44.1 khz sound card. the complete sample library
I will be playing back samples from is about 30 MBs total, the
individual samples are about 50 KB. if I construct a program from
scratch using C to play these sounds, how many could be sounded
concurrently?

Dec 1 '05 #1
4 1725
in*****@yahoo.com wrote:
I'd like to know how many sounds I can play at once [..]


This is off-topic. C++ has no means to "play sounds" except
outputting '\a', which is implementation-specific "alarm".
Please ask in a newsgroup for your OS.

V
Dec 1 '05 #2
in*****@yahoo.com writes:
using C to play these sounds, how many could be sounded
concurrently?


None, unless you use some platform-specific library to play them. Try asking
in a group that's dedicated to sound programming on your target platform.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Dec 1 '05 #3

in*****@yahoo.com wrote:
I'd like to know how many sounds I can play at once using the average
pc.


The "average" PC has some pos. Most are only capable of playing one
sound at a time. If you are talking about MIDI, most these days are
not capable of MIDI.

There are some few soundcards at the "average" PC level that can do
more than one output track at once and have onboard mixers. Some
operating systems can deal with that and others can't. Finding out is
pretty specific and I have no clue on any OS how to do it. In Linux
you would want to read on programming for ALSA.

Dec 1 '05 #4
ro**********@gmail.com writes:
in*****@yahoo.com wrote:
I'd like to know how many sounds I can play at once using the average
pc.


The "average" PC has some pos. Most are only capable of playing one
sound at a time. If you are talking about MIDI, most these days are
not capable of MIDI.

There are some few soundcards at the "average" PC level that can do
more than one output track at once and have onboard mixers. Some
operating systems can deal with that and others can't. Finding out is
pretty specific and I have no clue on any OS how to do it. In Linux
you would want to read on programming for ALSA.


Wrong newsgroup?
Dec 1 '05 #5

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

Similar topics

22
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play...
4
by: Robert Gravereaux | last post by:
I'm putting together a C# .Net forms project on win2k. The application requires some sort of horn sound. I've never implemented any audio in .Net, so I'm not sure how best to accomplish this. ...
3
by: June Li | last post by:
H I got a problem with detecting sound card with Windows x I use SDK function waveInGetNumDevs() to test if there is a sound card. But even if there is no sound card installed, the function...
0
by: June Li | last post by:
H I got a problem with detecting sound card with Windows xp I am working on an application to test microphone. First I need detect if there is a sound card installed (or integrated audio...
3
by: larry | last post by:
Hi, my friends, My boss asked me to use sound card to do analog to digital conversion for my application. I know when we record sound, sound card changes anolog signal to digital file. I have no...
7
tpgames
by: tpgames | last post by:
I know that an internal sound card has to be one listed as for a specific mother board. However, does this rule apply to external sound cards? I use a satellite A75-s2112 toshiba laptop, intel pent...
3
by: =?Utf-8?B?SlZE?= | last post by:
In my system, i have two sound card installed. I am developing one multimedia application in c# using DirectShow. I want to select particular sound card and play one audio file and, play another...
6
by: JNeko | last post by:
Hello all, awesome site! I guess I am technically not a beginner in JAVA, but from my code you would not realize it! I don’t expect anyone to help me with this, but I figure I might as well as try...
2
by: lazzypink | last post by:
hi guys! i having a problem in my project which is create a media player and let the user choose the sound card for audio output. Let say i have 2 sound card in my computer, i want to select the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.