I know we can load and play sounds. I would like to port my Morse Code Tutor over to Corona sdk from Android sdk, but the sounds have to loaded from files, which makes it difficult to play morse code at higher speeds. I would like to give the users a good choice of speed and tone. I would kike to see a tone generator API in Corona. [import]uid: 68376 topic_id: 26760 reply_id: 326760[/import]
As a workaround, you could provide a set of base sounds and use the pitch shifting feature in the “secret” audio APIs to let the user further tweak the pitch/speed.
[import]uid: 7563 topic_id: 26760 reply_id: 108560[/import]
Thanks for the reply. I read some text about the secret audio API, however, I publish my apps and don’t want to use something that could be dropped later. [import]uid: 68376 topic_id: 26760 reply_id: 108572[/import]
It’s unlikely it will be dropped at this point. I think tone generation is pretty far off. We still have big issues to tackle for audio, particularly on the Android side. (Lower latency, OpenSL ES backend, OpenSL ES native decoder codecs which require an increasing versions of Android which we are currently blocked by supporting 2.2.)
[import]uid: 7563 topic_id: 26760 reply_id: 108574[/import]
The pitch change secret API changes playback speed as well, which is not desirable in this application. Is there a way to just change the pitch and leave playback speed constant?
[import]uid: 148257 topic_id: 26760 reply_id: 109811[/import]
No, there isn’t. (OpenAL doesn’t support that. Might make a good extension though. Might be worth filing a feature request with Apple and OpenAL Soft.)
[import]uid: 7563 topic_id: 26760 reply_id: 109816[/import]
Since there is a big price increase for the pro version, and the fact that my subscription expires in 7 days, I will drop back to the free version until I see some improvements in audio functions, plus other things.
-
No text to speech or speech to text yet.
-
No tone generator.
-
Complex graphic things are easy, but simple things like text input seems to require way too much code and effort.
When I am spending more on Corona subscriptions than I am making on Corona apps, it’s time to take a break, or quit altogether.
Jerry
Since there is a big price increase for the pro version, and the fact that my subscription expires in 7 days, I will drop back to the free version until I see some improvements in audio functions, plus other things.
-
No text to speech or speech to text yet.
-
No tone generator.
-
Complex graphic things are easy, but simple things like text input seems to require way too much code and effort.
When I am spending more on Corona subscriptions than I am making on Corona apps, it’s time to take a break, or quit altogether.
Jerry