I am trying to write an application where the user records a sound and would be listening to the same with a background music from music library. However, when i try to play the recorded file using AVAudioplayer, the background music (iPod Player) is going very low and not audible. Is there any session property i need to set for playing ...
I have a MPMediaPickerController that lets the user pick his/her own songs in my app. Problem is my app has the "black" navigation bar throughout and the picker is the standard blue. Now I know it's not allowed/possible to subclass the picker but is there any other way to change the navigation bar to "black"?
...
I am using a music player property for iPod player controller.
// .h
@property (nonatomic, retain) MPMusicPlayerController *ipodPlayer;
// .m
ipodPlayer = [MPMusicPlayerController iPodMusicPlayer];
NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
[notificationCenter addObserver:self selector:@selector(...
My question is a very simple one i'm sure. It's just I'm not quite sure how to effectively describe what i'm trying to achieve.
Anyway to the point, I have a simple button, I know how to "link" a raw sound file to hand make it play. BUT what i want to do is maybe link a 3 second sound to the button and just have it loop while the user ...
Hi All,
I am trying to play an in app audio with ipod the code I am using to play the audio file is:
Code:
[[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: nil];
UInt32 doSetProperty = 1;
AudioSessionSetProperty (kAudioSessionProperty_OverrideCategoryMixWithOthers, sizeof(doSetP...
Hi,
Im using an iPodMusicPlayer for my MPMusicController.
My question is once my appplication is launched and will continue what the iPod app is playing, can i retrieve the MPMediaItem of the next and previous track of the iPod music app? I cant seem to find a way to know if user chose albums, artists or songs as his/her choice on th...
Hi, all !
Can I play sound by MPMusicPlayerController (from iPod) and video by MPMoviePlayerController at the same time?
I need change tracks sometime (use a lot of tracks for any video).
My video has no sound.
When i run playing track it is playing good, but when i loading video and [MPMoviePlayerController play], then video is playin...
I have an iPad application that allows a user to select between 5 different videos. However, three of these videos only display the first frame when selected.
These videos were all made in iMovie, exported (shared) to iTunes, and added to the application bundle. These videos work fine both on the Mac AND on the iPad if I sync them throu...
I'm trying to figure out the track number of the MPMusicPlayerController's nowPlayingItem in its playlist. This would be super simple, except for the fact that the same song can appear multiple times in the same playlist (as in they both point to the same file). For example, if a playlist consisted of Song 1, Song 2, Song 1, Song 3, Song...
Hi All,
I am trying to have my app play music from ipod using MPMusicPlayerController but there are devices which do not have music in there ipod library. Can anyone tell me if there is a way to check whether there is music in the ipod library or not before initializing the ipod player.
Thanks in advance.
...
Hi!
On one hand, I have a MPMusicPlayerController playing music, on the other, I play sound effects like this:
NSString *sound_path=[[NSBundle mainBundle] pathForResource:@"snd_special_explode" ofType:@"caf"];
CFURLRef url =(CFURLRef)[NSURL fileURLWithPath:sound_path];
SystemSoundID specialExplode;
AudioServicesCreateSystemSoundID(...
Hi I have went through a lot of searching and have deduced that
1) I can query for a specific audio file from Ipod Library and can play it using MPMusicPlayerController Library. But the problem is I cannot copy a part of this song and save it with diffrent name.
2) Using AVAudioPlayer I can modify or copy a part of an audio file but th...