473,387 Members | 3,750 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,387 software developers and data experts.

audio synthesis libraries / platforms / drivers questions

What is a basic library or call for audio output, easy to set up and
get started on. Say for example I wanted to render a wave with a C++
program and then play it back, possibly with a real time control, in
Windows or Linux. (perhaps not the right forum but... ) Is it
possible to do this without using the layers such as found on the Linux
audio? Do they come with alot of baggage (perhaps interface to these
later for integration) ? What is stk like, is there a book on using
it? What about audio in VS.NET, what about latency?

Aug 6 '05 #1
6 1436
sa************@hotmail.com sade:
What is a basic library or call for audio output, easy to set up and
std::cout<<"\a";
get started on. Say for example I wanted to render a wave with a C++
program and then play it back, possibly with a real time control, in
Windows or Linux. (perhaps not the right forum but... ) Is it
possible to do this without using the layers such as found on the Linux
audio? Do they come with alot of baggage (perhaps interface to these
later for integration) ? What is stk like, is there a book on using
it? What about audio in VS.NET, what about latency?


DirectX provides a complete sound control interface, and further help
can be found on microsoft.public.directx.* (and numerous websites).

Tobias
--
IMPORTANT: The contents of this email and attachments are confidential
and may be subject to legal privilege and/or protected by copyright.
Copying or communicating any part of it to others is prohibited and may
be unlawful.
Aug 6 '05 #2
DirectX looks too bloated. The sample code is abisimal. I am not
interested in build in mixers, 3d sound and such like.

Tobias Blomkvist wrote:
sa************@hotmail.com sade:
What is a basic library or call for audio output, easy to set up and


std::cout<<"\a";
get started on. Say for example I wanted to render a wave with a C++
program and then play it back, possibly with a real time control, in
Windows or Linux. (perhaps not the right forum but... ) Is it
possible to do this without using the layers such as found on the Linux
audio? Do they come with alot of baggage (perhaps interface to these
later for integration) ? What is stk like, is there a book on using
it? What about audio in VS.NET, what about latency?


DirectX provides a complete sound control interface, and further help
can be found on microsoft.public.directx.* (and numerous websites).

Tobias
--
IMPORTANT: The contents of this email and attachments are confidential
and may be subject to legal privilege and/or protected by copyright.
Copying or communicating any part of it to others is prohibited and may
be unlawful.


Aug 7 '05 #3
I do not know if this exactly that you are looking for but exists a
called library SDL that possess resources for manipulation of audio.
More accurate the SDL_mixer that can be found in
http://www.libsdl.org/projects/SDL_mixer/index.html. An advantage is
that it works in some platforms (Windows, Linux, MacOS)

Aug 9 '05 #4
That looks good but I do not see anything on rendering a sound in
memory, only loading in wavs and playing them back.

Aug 9 '05 #5
I think SDL is 16bit, my sound card is 24bit 96KHz. I am looking for
code that sends raw stereo pcm data to the sound card, loading and
mixing wavs is of no interest to me.

Aug 9 '05 #6
On 9 Aug 2005 15:18:51 -0700, sa************@hotmail.com wrote:
I think SDL is 16bit, my sound card is 24bit 96KHz. I am looking for
code that sends raw stereo pcm data to the sound card, loading and
mixing wavs is of no interest to me.


Not many people have 24 bit sound yet ... you'll probably have to
write some kind of device driver or find some open source project
(hint: Google, sourceforge).

[This is all OT in comp.lang.c++, BTW...]
--
Bob Hairgrove
No**********@Home.com
Aug 10 '05 #7

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

Similar topics

4
by: Wayne... | last post by:
While still being pretty new to C++ I'd like to produce some audio FX plug in's. S#o I was wondering if anyoner could point me at any known good libraries or resources. I'm a bit beliver in...
7
by: psk | last post by:
Hi, I need to read live audio from microphone and somehow make data packets from it and send using my client-server implementation where it will be played. Can anyone tell me abt any...
17
by: Synic | last post by:
Hi guys. It's been a while since I've done programming in C. What I'm after is a multi-platform library (X11 and MS Windows at a minimum) which is not C++ that will let me program GUI apps....
14
by: gilad | last post by:
Hi, I have just released the initial beta of a C# project called 'aumplib'. aumplib is a C# namespace which is made up of a set of classes that interface several prominent open source audio...
3
by: gilad | last post by:
This is to announce the beta 2 release of Aumplib. After garnering comments from this newsgroup, I have modified the code to use a more standard style convention. Aumplib is a C# namespace which...
1
by: JC | last post by:
Hi, I have to play a streaming audio. So in a thread I play audio as follow thread{ //some code for(;;){ //some code waveOutPrepareHeader(hwo, &(whdr), sizeof(WAVEHDR)); waveOutWrite(hwo,...
2
by: andrea valle | last post by:
Dear all, I have created a large Python-based GUI project and I'd like to use it as a GUI interface for real time audio sequencing (using the SuperCollider -SC- synthesis server). Python (the...
1
by: =?Utf-8?B?15DXldeo158=?= | last post by:
I have recently installed my windows XP, the process went smoothly, but I had encounterd some drivers issues after the installation. I managed to solve the ethernet adapter driver issue, but I...
4
by: murasoliselvan | last post by:
Hi, I am trying to tap the audio data which is going to play by the player. So i tried to use the virtual audio driver (simple) which is msvad path of WDK. I have couple of questions. Can anyone in...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.