play « sound « iPhone iPad Media Q&A

Home
iPhone iPad Media Q&A
1.animation
2.audio
3.AVAudioPlayer
4.box2d
5.cocos2d
6.CoreGraphics
7.CorePlot
8.Flash
9.graphics
10.icon
11.image
12.photo
13.plot
14.sound
15.video
iPhone iPad Media Q&A » sound » play 

1. Play 1 sound clip after another without any interruption in iPhone !    stackoverflow.com

I am developing a simple iPhone sound app. How can I play 1 sound clip after another without any interruption ?

2. While playing sound acceleration occurs    stackoverflow.com

I am developing one game where I want to move UIImageView based on accelerometer. When I rotate iphone device left to right or right to left the UIImageView have to rotate ...

3. Playing short sound on timer end?    stackoverflow.com

In my app I have a timer that counts down, and when it stops an image is displayed and a sound is played. The sound is loaded like this: NSString *path = ...

4. How to play iPhone tap sound?    stackoverflow.com

I have a button in my iPhone app that I'd like to have play the default "keyboard tap" sound when it's tapped. I've been able to play my own custom sounds ...

5. How do I call an array value and use it to play a sound file?    stackoverflow.com

I have an array that creates several different sound file names in a specific order. I have successfully created the array but I am not sure how to call the value ...

6. Check if sound is playing    stackoverflow.com

I have a button that plays a sound and i want to prevent users from tapping the button multiple times and having the sound play more than once. I need a ...

7. play sound while sliding finger on iphone    stackoverflow.com

i like to add the function playing sounds when either sliding fingers on the surface to my iphone app. the sounds are playing now only when pushing buttons. i suppose this works ...

8. Trying to play sound on iPhone    stackoverflow.com

Ok this works

- (id)initWithCoder:(NSCoder*)coder
{
 if ((self = [super initWithCoder:coder]))
  {
   // Load the sounds
  NSURL *soundURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Begin Drawing" ofType:@"wav"]];
  AudioServicesCreateSystemSoundID((CFURLRef)soundURL, &_boomSoundIDs[0]);
  ...

9. stop a sound and later play it continuing from the stop position and not from the beginning of the sound    stackoverflow.com

play sound
[soundSh play];

later stop sound (not pause!)
[soundShe stop];

later play sound again
[soundSh play];
fixed, i call sound int again ...

10. how to play MID sound file in iphone?    stackoverflow.com

I have implement game application in which i want to play mid sound file in the background.How it possible?

11. how to play sound file using FMOD sdk?    stackoverflow.com

I want to implement playing sound file using FMOD sdk in iphone. I know this is third party tool but i want to implement playback speed.So only possible in FMOD.So please help ...

12. how to play m4a sound file in systemsoundid?    stackoverflow.com

I want to play m4a sound file in device.In simulater its playing but not in device.can help me for this problem?

13. Possible to play a sound without stopping music?    stackoverflow.com

I use AVFoundation framework to play sound. If music is playing when I play a sound, the music stops. Is there a way of avoiding that?

14. Playing sound from web page for iPhone    stackoverflow.com


I'm developing a site for mobile devices (such as iPhones and Androids). And I would like to have a scenario when user clicks a button and hears a sound from audio-file ...

15. play sound clips in iphone    stackoverflow.com

I'm new to iphone development. i want to write an app that has 3 buttons. touching each will trigger a sound.

  • 1.wav
  • 2.wav
  • 3.wav
  • ...

16. playing sound files in resources folder    stackoverflow.com

I have some mp3 files in my resources folder, how can i play those mp3 files? I just know their name.

17. Is there anyway to play the "sent mail" sound clip that the mail client uses?    stackoverflow.com

I was wondering if there was a way you could play the "sent mail" sound clip in your app without using MFMailComposeViewController. I have a custom view controller for sending messages ...

18. Playing a custom sound    stackoverflow.com

I want to develop an application for iPhone that plays mp3 files. Which framework and functions should I work with? Thanks in advance, Sagifw

19. playing a sound, waiting it to finish playing and continue (iphone)    stackoverflow.com

i'm new with the iphone and objective c, so far, I have been able to code some small examples. i would like to play a sound and, continue with rest of the ...

20. Play sound on iPhone without resources    stackoverflow.com

I want to play the sounds in iphone without calling them from resources. My problem was i copied the project on the desktop changed the project name and installed it on the ...

21. Is there a standard way of playing longer sound clips?    stackoverflow.com

I'm currently using AudioServicesPlaySystemSound(_soundID) to play sound clips. My understanding is that this can only be used to play clips under 30 seconds. What is the standard way of ...

22. Play sound in iPhone web app    stackoverflow.com

I assume there might be a HTML5 or some JS that can be used to play sound? Before you mark this as duplicate, this question is old, so I believe outdated: http://stackoverflow.com/questions/1694631/play-sound-in-iphone-web-app-with-javascript ...

23. play a tick sound when one second completes    stackoverflow.com

I am creating an application,in my app i am changing images for countdown. I want to play a Tick sound when one second completes(i mean when image changes).I have a 25 ...

24. How to play the wav sound in IPhone?    stackoverflow.com

Now I want to play some audio files in a webview by AVAudioPlayer, I found that before a sound is finish another sound file playing , and I think maybe the ...

25. How to play sound at precise moments on iPhone?    stackoverflow.com

I'm working on creating a simple metronome on the iPhone. What the app does right now is to run a timer, entering the timer's function every 1/1000th of second. Then it ...

26. Problem in playing sound in application?    stackoverflow.com

I developing simple game application in which i playing sound with UIView animation.

theAudioPlayer = [[AVAudioPlayer alloc] init];  

[theAudioPlayer initWithContentsOfURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"pageTurn"] ofType:@"mp3"]] error:NULL];

[theAudioPlayer play];
where theAudioPlayer is the instance ...

27. Why is the sound not playing?    stackoverflow.com

So this is the code I have: At the press of a button:

-(void)mediaPicker: (MPMediaPickerController *)mediaPicker didPickMediaItems:(MPMediaItemCollection *)mediaItemCollection {
    [self dismissModalViewControllerAnimated:YES];
self.selectedSong = mediaItemCollection;
    NSLog(@"Selected song: %@", self.selectedSong);
}
Later ...

28. How to know EXACTLY why a sound starts playing?    stackoverflow.com

I need to play an audio clip in mp3 format and synchronize something in my app with the audio being played. What audio tools in the iPhone SDK should I ...

29. Whats the simplest way to play a looping sound?    stackoverflow.com

What is the simplest way to play a looping sound in an iPhone app?

30. Playing three tones at the same time in different channels on the iPhone    stackoverflow.com

I need to play two tones, one in each ear (using earphones), with a common sound in the background. I would like to generate the tones, but my research indicates that it ...

31. How to get and play iPhone Default sound files?    stackoverflow.com

Possible Duplicate:
Play alert sound (same as default message ringtone)
Hi, How to get and play iPhone default Sound files in iPhone.

32. auto answer the phone and play a pre-recorded sound file.in iphone?    stackoverflow.com

HI, i want to create an iphone. The app should be able to auto answer the phone and play a pre-recorded sound file. Can it be done without using private frameworks?? if yes, than any ...

33. Can't play a sound with a space in the (NSURL *)sound_url    stackoverflow.com

I want to play a sound like this:

#define url(x) [NSURL URLWithString:x]
....

AVAudioPlayer *myFatBeat;
myFatBeat = [[AVAudioPlayer alloc] initWithContentsOfURL:url(@"/Library/Ringtones/Bell% Tower.m4r") error:nil];
[myFatBeat setNumberOfLoops:-1];  
[myFatBeat play];
but it fails. I think it's due to the space ...

34. Application getting crashed on playing some sound file on iPhone application?    stackoverflow.com

I am trying to play some music files on iPhone but after playing some files application getting crashed. It's random in nature and I am not getting any particular scenario can ...

35. How to play guitar sounds programmatically in iPhone application?    stackoverflow.com

I need some help for creating piano and guitar sound in iphone app.So if someone can provide me tutorial or source code it would be great. I found a link but it ...

36. how to play sound on incoming calls    stackoverflow.com

My client wants to play a sound for particular numbers for incoming call.So I want to play a sound on particular number for incoming calls, Please, help how can I solve this problem? Means ...

37. How to play the recorded sound in NSLocalNotifiaction    stackoverflow.com

I implemented local notification in my app but I am just wondering is there a way to play a sound that is not part of the NSMainbundle.Basically in my app, I ...

38. How to play a sound file while a phone call is going on?    stackoverflow.com

I would like to be able to play a sound file during a phone call so the person at the other end of the line can ear it clearly. How can ...

39. sound capture restart after movie play    stackoverflow.com

I'm using aurioTouch to get frequencies of sound. If I play a movie, the audio capture stops, and I can't restart it. I have tried AudioSessionSetActive(false) and AudioSessionSetActive(true) but I can't ...

40. Playing system sound without importing your own    stackoverflow.com

Is it possible to play already existing system sounds without importing your own?

41. Couldn't play system sound after switching to iOS 5    stackoverflow.com

This is how I played a beep sound effect in iOS 4:

SystemSoundId beepOnSoundId;

CFURLRef soundUrl = CFBundleCopyResourceURL(
    CFBundleGetMainBundle(), 
    CFSTR("beep"), 
    CFSTR("wav"), ...

42. Sounds playing concurrently with System Sound Services    stackoverflow.com

According to the iOS 5 documentation dealing with System Sound Services:

You can use System Sound Services to play short (30 seconds or shorter) sounds. The interface does ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.