doglios wrote:I'm on Mac 10.5.8 and I have to say, I haven't even been able to figure out how to get a f***ing sin wav output to my audio system using C++ after downloading like 5 different libraries and wasting a TON TON TON TON TON of time messing with Terminal and compilation issues.
It has been *extremely* disheartening, to say the least. I even got the BasicSynth book and can't get a f***ing thing to work on my computer with that, or with anything else. At this point I am packing it in and moving back to just messing with MIDI.
I honestly think if I could have just gotten a simple sin wav output up and running that would have been nice. It shouldn't be this hard - but I guess it is. I've got some updates in the mail and maybe, just maybe, they'll help.
But I have to say, I really am extremely frustrated.
That said I've only been programming for a few months, and only been using C++ for two weeks at this point.
Still... I can't help but feel sad. I have literally spent about a week straight trying and failing to get any libraries to work on my computer. I had a relatively complex program with a GUI and excellent features built in Python after picking up computer programming for the first time in my life - within a couple weeks!
You'd think there would just be a straightfoward guide to using built in stuff to make such a SIMPLE sin wav program without a f***ing library... but no.
I just want a god damn sin wav in real time, with some basic parameters, that doesn't use external libraries. I know that may sound stupid but I can't figure a f***ing thing out when every header file in any library (CoreAudio as well) has 1,000 things in it that have nothing to do with my problem.
I just don't get how it has to be this complicated to just build a sin wav with real time audio output in a single file without a header or ANYTHING overly complicated. I mean - that's literally the most basic level of audio output that there is. So yeah.
I had to rage somewhere.
My advices if you want to code audio application would be:
1°) Be sure to be okay with the basics of audio signal processing (no need to be a math expert be knowing what is the math behind a sinus wave is good)
2°) Study the basics of the programmation
3°) Read book. I would recommend you this one "Learning Core Audio: A Hands-On Guide to Audio Programming for Mac and iOS
" by Chris Adamson, Kevin Avila