Reputation: 5005
My iOS app is an musical instrument and I want to make a record of playing, but without using mic. Any suggestion or at least direction will be appreciated.
Upvotes: 2
Views: 532
Reputation: 5005
The best way is to use buffers to write them into a file. Audio units or Audio Queues.
Upvotes: 1
Reputation: 5773
my curiosity... ex. if its a musical instrument(ex piano or keyboard), on pressing any key, it should play some sound. In your app, while playing sound(tone 1, tone 2)on pressing the key, create a new file(.mp3 or .midi) & write the data to it. But, you should be familiar with sound file internals(headers, body ....etc)
Upvotes: 1