Speakerplans.com Homepage
Forum Home Forum Home > Other Chat > Computer Talk
  New Posts New Posts RSS Feed - Audio output c++
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Audio output c++

 Post Reply Post Reply
Author
Message Reverse Sort Order
gen0me View Drop Down
Young Croc
Young Croc
Avatar

Joined: 20 February 2016
Location: UK
Status: Offline
Points: 999
Post Options Post Options   Thanks (0) Thanks(0)   Quote gen0me Quote  Post ReplyReply Direct Link To This Post Topic: Audio output c++
    Posted: 28 July 2019 at 8:57am
Target OS is Win/Mac/Lin.
Ive been using Code::Blocks with TDM, but I see more and more problems with that now. Cant make one library working for long. I have win SDK dependiency but compiler keeps crashing on that..
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/
Back to Top
APW View Drop Down
Young Croc
Young Croc
Avatar

Joined: 13 November 2012
Location: Kent, UK
Status: Offline
Points: 1173
Post Options Post Options   Thanks (0) Thanks(0)   Quote APW Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2019 at 1:19pm
Originally posted by gen0me gen0me wrote:

Forgot it has to be compiled with 64 bit compiler. Now I dont understand if Bass audio can or not (?)


What compiler are you using and what is your target OS?
Back to Top
odc04r View Drop Down
Old Croc
Old Croc
Avatar

Joined: 12 July 2006
Location: Sarfampton
Status: Offline
Points: 5483
Post Options Post Options   Thanks (0) Thanks(0)   Quote odc04r Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2019 at 12:39pm
You'd be best of with PortAudio. PyAudio is just the Python implementation of Portaudio. It is free/OS and I am sure will have zero problems compiling to 64 bit.

I'd still probably go for Python as the extra features it has on tap such as graphing, data manipulation, and data display blow C++ out of the water when it comes down to rapid development with audio. Moving to a GUI app is also fairly straightforward using PyQt. 

Yep you'll lose a bit of time getting up and going with a new language, but tbh C/C++ is harder to grasp (imo) and getting started with Python is not so bad. I am only a beginner myself but within a couple of nights developing with it I had real time graphical display of raw and processed input audio. Good luck doing that with C++.
Back to Top
gen0me View Drop Down
Young Croc
Young Croc
Avatar

Joined: 20 February 2016
Location: UK
Status: Offline
Points: 999
Post Options Post Options   Thanks (0) Thanks(0)   Quote gen0me Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2019 at 9:13pm
Forgot it has to be compiled with 64 bit compiler. Now I dont understand if Bass audio can or not (?)
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/
Back to Top
APW View Drop Down
Young Croc
Young Croc
Avatar

Joined: 13 November 2012
Location: Kent, UK
Status: Offline
Points: 1173
Post Options Post Options   Thanks (1) Thanks(1)   Quote APW Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2019 at 8:08pm

"Bass audio library" supports multiple outputs, also look at http://www.multimediasoft.com, they have ActiveX and .net components that support multi-channel streaming/playback.

Back to Top
gen0me View Drop Down
Young Croc
Young Croc
Avatar

Joined: 20 February 2016
Location: UK
Status: Offline
Points: 999
Post Options Post Options   Thanks (0) Thanks(0)   Quote gen0me Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2019 at 7:39pm
I am already writing rest of a program in c++. And compiling libraries is the hardest for me. Harder than language difficultiesDead For both languages would I have to compile them for NET framework? How does it practically work?
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/
Back to Top
odc04r View Drop Down
Old Croc
Old Croc
Avatar

Joined: 12 July 2006
Location: Sarfampton
Status: Offline
Points: 5483
Post Options Post Options   Thanks (1) Thanks(1)   Quote odc04r Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2019 at 12:32pm
You're probably better off using Python tbh. Can confirm working with PyAudio is fairly painless to get going. Haven't done C/C++ audio since programming TI DSP boards years ago but that was using their IDE

I think there is an equivalent C++ version of PyAudio via bondings etc, but if you actually want to process and work with the data you gather you're going to have a much easier time in Python due to the NumPy library and much easier data display methods.
Back to Top
gen0me View Drop Down
Young Croc
Young Croc
Avatar

Joined: 20 February 2016
Location: UK
Status: Offline
Points: 999
Post Options Post Options   Thanks (0) Thanks(0)   Quote gen0me Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2019 at 9:50pm
I need some guidance into right direction. Im looking for library which will handle audio output with multiple outputs. So I should be able to choose which outputs I use. In future I also plan to write driver for a device. Anything tested?
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.06
Copyright ©2001-2023 Web Wiz Ltd.

This page was generated in 0.078 seconds.