Playing music within your app

mDecks Music's avatarMusic App Developer

We released Mapping Tonal Harmony Pro 6 a few days ago.

One of the best features in the app is to be able to load and play tracks from the iPad’s Library. The process is pretty straight forward but we’ve encounter a few unexpected problems in the process.

We wanted the user to be able to pick a track from their library and load it into the app.
In order to do this the best option is to use the mediaPicker
This is how you call it:
– (void)chooseASongFromYourLibraryOnView:(UIViewController*) pViewController {
    MPMediaPickerController *picker =
    [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeMusic];
    
    picker.delegate                     = self;
    picker.allowsPickingMultipleItems   = NO;
    picker.prompt                       = NSLocalizedString (@”Select any song from the list”, @”Choose one song only”);
   
    curPickerController=picker;
    [pViewController presentViewController:picker animated:YES completion:nil];
}

Here’s the function called after the user has picked a track
– (void) mediaPicker: (MPMediaPickerController *) mediaPicker…

View original post 370 more words

Christmas Puzzles and Music Theory?

We are designing our next Music Theory App and we found it was a perfect fit for a Christmas App! The new Music Theory Puzzles series will include musical terms and concepts, harmony, melodic dictation, interval and chord recognition, and much more, at different levels depending on the volume number you get, all presented as... Continue Reading →

Blog at WordPress.com.

Up ↑