Sound for Apps, Simple Guide?

Ok so i want to do some sound stuff like play some short audio clips. I can have them in any kind of format but it seems like i should be able to do wav. So now how do initialize a sound file and play it. There are some tutorials out there and most of them cover sound in applets. And very few do it with applications. And the problem is that they do complex stuff, they dont even tell u how to intialize the sound file. So either can someone give me some basic code or point me to a good site/ tutorial.
Thanks

Yes, the class is long and complicated, but it solves a big complicated problem.
The method playShortClip near the bottom of that code does just that. It uses the applet support, but it can be used anywhere. It is restricted to short clips in PCM encoding. The playClip method does the same thing for more difficult cases.

Similar Messages

  • Why is there no sound for apps since updating to iOS6

    Since I updated my phone (4s)  to iOS6, there is no sound for apps like netflix, youtube, audio book, music or even for any of my games, but it works perfectly fine when I make/take a call.  I reset my phone and everything.  Anyone else have this problem? Any solutions? 

    I've not had the problem, but basic troubleshooting steps outlined in the User Guide are restart, reset, restore from backup, restore as new device.
    Try those steps in order until your problem is solved.

  • Do macs have sounds for apps like clicking in safari or minimizing windows?

    Do macs have sounds for apps like clicking in safari or minimizing windows?
    If so how do I turn them on? Thanks

    That looks like what I want, but when I tried to install it I get an error:
    "You cannot open Xounds preferences pane on this computer. Contact the developer of this software for a newer version."
    Do you think this is because of the intel chips?
    Thanks

  • How to mute sound for app?

    Is there a way to mute sound for one particular app? In windows, you can do this from the volume control. It list each app and you can control volume there. I don't see a way to do this in Windows.
    Particularly in gotomeeting, there isn't any mute available. Safari is the same way.

    Hijack Safai with Audio Hijack Pro
    <http://www.rogueamoeba.com/audiohijackpro/>
    and use the Mute button. You can get by with the free version for just muting.

  • Problem changing sounds for apps

    I have an iPhone 5 with ios 7.0.4.  In sound settings, I've selected specific sounds for specific apps (Twitter, Facebook, etc). However, incoming alerts for these apps are not using the selected sounds, they are still using the default.  What am I missing?

    You cannot.

  • IPhone sound for apps, keyboard suddenly mute

    Just got my iPhone 4s replaced and all was well for 1 week.  This morning my apps (YouTube, keyboard taps, text swoosh, etc) are no longer making a sound. Speakerphone works ok and phone is NOT on mute.
    Thoughts?

    I had the the no sound issue also on my iPhone.  I found this trick to solve the problem and it give back all sound on any iPhone.
    1- Go to Settings
    2- General
    3- Scroll down to : Accessibility
    4- Select Assistive touch (for more information about Using AssistiveTouch on your iOS device : http://support.apple.com/kb/HT5587)
    5- If the "White dot" doesn't appear - Click 3 times to the home bottom and you should get the "White dot" somewhere on your iPhone sceen (you can move the "White dot" where you want on the screen of the iPhone)
    6- When you get the "White dot" - click on it
    7- You will have 4 icons, click on the device icon
    8- Click volume up (be sure the volume is at the maximum)
    9- Click on the little bell (make sure the bell is not muted - I found, it's not very clear whic bell is on or wich bell is mute)
    10- Call your iPhone - the problem of no sound should be fix (if the problem is not not fix be sure the volume is up and the bell is not muted - select the other bell by clicking on the bell -  call again your iPhone - the problem should be solve and it should work)
    11- If you do not like to keep the "White dot" on your iPhone screen - click 3 times to the home bottom and the "White dot" should disappear (if you want it back - click 3 times to the home bottom and the "White dot" should be back)
    I found this trick at :  http://www.iphonefaq.org/archives/972122 -  My iPhone ring/silent switch is stuck on mute, how can I turn on sound? - On the comments of " hi iphone users i have had " Submitted by jodray (on February 5, 2013 - 10:05am.
    Hoping it will work for you.   Best regards.

  • My iPhone 4s no longer has sound for any of the applications but it does have sound for phone functions.  Where is the setting for app sound?  I have gone to the multitask screen and the volume bar is empty.

    I recently found my phone outside in light rain (it had been there about 20 minutes).  It had some glitches at first, however after letting it rest overnight it seemed to mostly recover.  The one problem I am having is that I no longer have sound for any of my applications.  I do have sound for phone fuctions, and I am able to use the speaker for phone functions. 
    When I am in my applications, including music/videos, the only way I can hear is if I use my earbuds.  I am able to make a video and it will record sound just fine.
    When I go to the multitask screen, the volume bar is empty and I cannot adjust it using the side buttons (even though in settings I have that feature activated). I completely reset all of my settings tonight and that did not make a difference. 
    Is there a setting I am missing, or am I just SOL?  I am trying to avoid having to get a whole new phone but it is very frustrating to not have sound with my applications.

    Hi Baileyfour,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    There are two places where vibrations can be set.
    One is the Settings > Sounds
    The other area is Settings > Notifications
    If you have an app set to Alert, it may have a vibration set for it.
    iOS: Understanding Notifications
    http://support.apple.com/kb/ht3576
    Information about Notifications settings can also be found in the iPhone User Guide (pages 131, 132)
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    I hope this information helps ....
    Have a great day!
    - Judy

  • Is there a way to change the notification sound for the FB app

    is there a way to change the notification sound for the FB app?

    Go to: Settings, Sounds and look for Facebook Post.  You can click on it and select which sound you want.

  • I'm looking for a simple DJ app

    Hi Folks,
    I hope this is the best place for this question!  I'm looking for a simple App that will allow me to add music on the fly to a playing playlist. iTunes DJ does most of what I want but doesn't allow me to drag and drop order or remove songs.  I don't need turntables or eq or anything like that.  Just a simple way to create playlists on the fly with the ability ro rearange the order, add and remove songs on the fly. Also, if there's a better forum for my question, please advise.
    Thanks!
    Greg

    Which particular Mac OS are you running, psychmac?

  • Looking for a simple voice to text app

    I am looking for a simple app that will recognize my contacts and create voice to text messages. What is the best? Thanks for your help!

    Thanks, this app is simple and it works well. It has good voice recognition.

  • I am looking for a simple app to enable me to crop a face from one pic to another(fun). is it possible to do this via iPhoto or aperture?

    i am looking for a simple app to enable me to crop a face from one pic to another(fun). is it possible to do this via iPhoto or aperture?

    No, you will need something more advanced, like Photoshop.

  • I no longer have sound for either my audio books or my music on itunes.  I've tried everything--restarting, updating, re-installing audible app, and restoring the iphone to its factory settings--nothing helps.  How do I get the sound back?

    How do I get the sound back on my iPhone 4?  I've tried all the fixes such as restarting iPhone, reinstalling the audible app, and finally yesterday, I restored the phone to its factory settings.  I still get no sound from music on iTunes or from my audible books.  The phone still rings (I have sound for that) and the voice control speaks to me, and when I'm typing, the automatic text voice speaks so I can hear it but nothing else works. 

    Since it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer.  As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
    You can try and find 3rd party applications that might help you.  I'm sure you'll pay, however.
    Let this be a very important lesson learned.
    Best.

  • I am looking for an simple app to do invoices. I only need to send around 6 invoices per week and they are usually paid by cheque. I need to be able to tick these as paid and keep a list of unpaid invoices so I can send reminders. Any suggestions please?

    I am looking for an simple app to do invoices. I only need to send around 6 invoices per week and they are usually paid by cheque. I need to be able to tick these as paid and keep a list of unpaid invoices so I can send reminders. Any suggestions please?

    I am looking for an simple app to do invoices. I only need to send around 6 invoices per week and they are usually paid by cheque. I need to be able to tick these as paid and keep a list of unpaid invoices so I can send reminders. Any suggestions please?

  • How to get iPhone sounds for Mail.app on Snow Leopard?

    Hi,
    I like the "new text message" sound called "Chime". I would like to use this sound for new mails in Mail.app, too. Is there any way I can download this sound on my MacBook Pro (from some webpage?)?
    The sound "Glas" is available both on Mail.app and on the iPhone, but note the "Chime" sound.
    Cheers

    http://forums.crackberry.com/f15/iphone-chime-294401/

  • No sound for hello hello french app

    I purchased the app "Hello Hello French language" and the sound worked for one day.  I sent an email to their support site and received no reply.
    Recently, I bought an app called "Vocabulary", which teaches you vocabulary in different languages and the sound for it won't work.
    The sound from my other apps work.  I have Netflix, Hebrew language etc.
    Hadov

    Hi Hadov, I am Preeti writing on behalf of Hello-Hello Team. When I saw your comment I immediately checked the app but everything seems to be fine. All the audios are working well. Please do a little cross check with the iPad sound settings I am mentioning below.
    Check 1)  Please check the iPad sound settings via sound button when app is running.
    Check 2) Please check with the mute button (a small button just above the sound button) whether is it OFF or ON. If you can see the red dot on button itself that means mute is ON. So you need to push it upside in order to turn the mute OFF. Sometimes it happens in the device even if the sound is full and mute is ON you will not get any sound.
    Check 3) Please check the lateral switch as a screen blocker if it is set mute.
    Check 4) If by trying above steps you are not getting any sound I would recommend you to delete and re-install your app from the app store. To delete an app you need to press and hold the icon until it begins to shake and an X will appear at the top right corner. Click on the X and the app will be deleted. Go to the App store, search for Hello-Hello French and install it again. Even though it will say Buy App, you will not be charged since you already purchased the app before.
    Kindly let us know if it worked. - Feel free to write me if you face any problem anywhere.
    Thanks! Happy Learning. :-)
    You can write me at [email protected]

Maybe you are looking for

  • Enquiry about checkbox

    Hi, My requirement is I have one editable field in my alv report. After editing that particular field , next screen has to be called. In the Next screen, I need to have one checkbox for one  sales order with different items. But the checkbox is repea

  • Build of DC fails libraries on classpath are not found - Please Help

    HI Guys, I am trying to build an ejb dc. There are no errors showing up in NWDS but when doing an Development Component -> Build the Build fails with the errors here in the log - how can I make sure the libs are found at compiletime????? DC Model che

  • Java/font/yahoo games

    I recently upgraded to the latest version of Tiger. Now, when I go to Yahoo Games (specifically Word Racer) the font that is used in the java window that opens is unreadable. Previously, (on Panther) the only browser that would display it clearly was

  • Don't want to include podcasts in itunes backup

    I just backed up my itunes library to CDs for the first time and was surprised to see my podcasts copying. I have the settings set to only keep unplayed podcasts, and all have been played and removed from my ipod. They are also un-checked in my itune

  • Exch 2013 Installation and configuration from a SBS point of view?

    I was just wondering if anyone has stumbled upon any good "how-to" sites for those of us that (up to now) have been used to using SBS servers but now find ourselves needing to go the manual route with separate new servers (domain controller and Excha