Hi all, I want to play real time notes with CMidiClientUtility.
I try with NoteOnL and NoteOffL but they are very slow, I think because are synchronous messages.
Is there a way to send NoteOnL and NoteOffL message asynchronously?
Regards,
A993
Hi all, I want to play real time notes with CMidiClientUtility.
I try with NoteOnL and NoteOffL but they are very slow, I think because are synchronous messages.
Is there a way to send NoteOnL and NoteOffL message asynchronously?
Regards,
A993
Last edited by andrea993; 2012-12-06 at 11:03.
You might want to see if CMdaAudioToneUtility does what you want - check out wiki article Playing_audio_tones
The problem is unlikely to be because they are synchronous or asynchronous
How can I help?
Hamish Willee, Nokia Developer Community Manager, ext-hamish.willee@nokia.com
I do not know how slow CMidiClientUtility is, but the other two main players CMdaAudioTone/PlayerUtility involve a preparation step which makes them slow too unless you know in advance what you are going to play.
The most robust option is probably having a stream player (CMdaAudioOutputStream), and synthetize the data in real-time. However this is also the option requiring the most work/coding.
On the other hand you may be lucky and re-use parts of the streaming-related examples on https://www.developer.nokia.com/Deve...ltimedia.xhtml