Making a Synthesizer in Corona

Hello everyone. I just started using Corona a few days ago. Coming from a C++/Java history, Lua is vastly different. But, I have played with Python before, so it’s manageable.

I have been wanting to get into app development for quite some time, and when I saw Corona…I chose it. It is wonderful! As more intermediate practice I wanted to make some sort of synthesizer, where the user can manipulate several oscillator functions and make his/her own sounds. I have never made one of these before, so where to start is a bit tricky for me.

My question though is this. Once I make these different wave patterns, using whatever mathematical formula is needed, I will need some sort of way to “play” them in real-time. That is where things get murky for me. Maybe someone could guide me here, or at least let me know how I can somehow access the device’s hardware with Corona to achieve this.

I really appreciate all your guys’ help.
Thank you,
Julian :slight_smile: [import]uid: 126758 topic_id: 22011 reply_id: 322011[/import]

there are some undocumented audio API functions that are discussed here: http://blog.anscamobile.com/2011/07/the-secretundocumented-audio-apis-in-corona-sdk/

I don’t know if its in the build for non-subscribers tho.
and also if it’s able to do what you intend to do :confused:

-finefin [import]uid: 70635 topic_id: 22011 reply_id: 87489[/import]

Hey Julain.

I tried looking for a solution to this as well. I have to admit that I didn’t find any way to synthesize music in corona. I had to record the sounds that I want to use and load a lot of samples into memory.

if you do find an answer, I will really appreciate if you share it with us :slight_smile:

Good luck,
Shahar [import]uid: 13553 topic_id: 22011 reply_id: 87493[/import]

Thanks Shahar.

I am still looking for a solution and I will post whatever I find here right away.
Maybe someone from the Corona dev team could let us know if this is even possible. It would save us all some searching time.

Thanks,
Julian [import]uid: 126758 topic_id: 22011 reply_id: 87534[/import]

bump [import]uid: 126758 topic_id: 22011 reply_id: 87659[/import]