Here is the code (currently the player will not work) #import ĪVAudioRecorder (retain) AVAudioRecorder visited") I think there is code to do this for the Mac OS X that would be as simple as the iPhone version. SoundRecorder = initWithURL:soundFile settings:soundSetting error:nil] The sample code for Mac OS X seems to be about 10 times more complicated than similar sample code for the iPhone.įor iOS the commands are as simple as: soundFile =[NSURL FileURLWithPath:[tempDir = [NSDictionary dictionaryWithObjectsAndKeys: // dictionary setting code left out goes here I have been searching for hours and yes, there are some examples that will record voice and save it to a file such as. Does anyone have some sample code for a SIMPLE voice recorder for Mac OS X? I would just like to record my voice coming from the internal microphone on my MacBook Pro and save it to a file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |