I’m working on a project where I need to generate sound and/or play sound files.
Tried to start an Audio App project from the Projucer, but I’m not very familiar with the syntax and structure of the code that was generated, so I thought that a consol project would be the simplest.
So now I started a new consol project, I got a simple main function which is nice, now I wonder
how I can play sound files with the least amount of code possible from this main function?
I’d also like to ask the same question regarding playing a sine tone from this main function.
I’m working on a project involving the Sensel Morph, which is a multi touch tablet. In the example they provide:
They scan for touches inside a while loop inside the main function. When I generated the Audio App project from Projucer, I didn’t get a main function, it’s all event driven so I couldn’t figure out where to put the code.
So now I’m trying it the other way around, instead of adapting the sensel code to the Juce code, I now want to adapt the Juce code to the sensel code. And for that purpose I need the simplest way possible to generate sounds!
Thanks in advance