Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Firstly as a new member to these fora a quick intro. I'm Fizz. In a former life I was a php/SQL coder, writing bespoke script for Internet based systems.
I no longer work professionally with IT, but my eye has been drawn by the limitless capabilities of iPhone applications. I have now started experimenting with Xcode. My knowledge of C++ is limited but there are some similarities with php.
This is my first project, and purely as a learning exercise I want to develop my first app. What I want to do is produce an algorithm to produce random sound (white noise). I know this has been done many times with the dozens of white noise (sleep inducing) apps already available, however I wish to get to the nuts and bolts of creating sound.
I can easily write the code to develop a random sequence of numbers, but I would like to know how to convert these numbers to sound.
Ay help would be appreciated, please write your responses assuming (correctly) I have the basic of iPhone development and C++ Knowledge.
Firstly as a new member to these fora a quick intro. I'm Fizz. In a former life I was a php/SQL coder, writing bespoke script for Internet based systems.
I no longer work professionally with IT, but my eye has been drawn by the limitless capabilities of iPhone applications. I have now started experimenting with Xcode. My knowledge of C++ is limited but there are some similarities with php.
This is my first project, and purely as a learning exercise I want to develop my first app. What I want to do is produce an algorithm to produce random sound (white noise). I know this has been done many times with the dozens of white noise (sleep inducing) apps already available, however I wish to get to the nuts and bolts of creating sound.
I can easily write the code to develop a random sequence of numbers, but I would like to know how to convert these numbers to sound.
Ay help would be appreciated, please write your responses assuming (correctly) I have the basic of iPhone development and C++ Knowledge.
Many thanks in advance ... Fizz
Hey fizz.
You should look into audio units, it has some amazing possibilities, though its sort of tedious to get you head around. Id imagine thats the way you have to go if you want to have that kind of control. http://timbolstad.com/2010/03/14/core-audio-getting-started this would be a good resource for you to get you started on creating a RemoteIO render callback and passing it a basic sine wave.
You should look into audio units, it has some amazing possibilities, though its sort of tedious to get you head around. Id imagine thats the way you have to go if you want to have that kind of control. http://timbolstad.com/2010/03/14/core-audio-getting-started this would be a good resource for you to get you started on creating a RemoteIO render callback and passing it a basic sine wave.
Hi Karatebasker.
Thanks for the reply. I'll have a look through and see how I manage.
I have two open source projects that will let you do sound synthesis. One is real time using Audio Queues, the other is non-real time and uses AVAudioPlayer. Both use the same principle of filling in a buffer with audio data.
Replies
You should look into audio units, it has some amazing possibilities, though its sort of tedious to get you head around. Id imagine thats the way you have to go if you want to have that kind of control. http://timbolstad.com/2010/03/14/core-audio-getting-started this would be a good resource for you to get you started on creating a RemoteIO render callback and passing it a basic sine wave.
Check out my site! <img src="http://www.iphonedevsdk.com/forum/images/smilies/smile.gif" border="0" alt="" title="Smile" class="inl
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeThanks for the reply. I'll have a look through and see how I manage.
... Fizz
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesomehttps://github.com/hollance/AudioBufferPlayer
https://github.com/hollance/AVBufferPlayer
I also wrote a blog post about doing sound synthesis that you might find useful: Sound Synthesis on the iPhone Hollance: Professional Freelance Software Development for iPhone and iPad
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeThanks ... Fizz
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome