How can i play a sound file in form 10g

hi every body ,
would any one help me with my problem
*I 'd like to play a soend wave file _ say when press a button _*
In forms 6i
it was too easy,
Read_sound_File('c:\aaa.wav', 'wav', 'emp.sound');
Go_Item('emp.sound ');
play_sound('emp.sound');
But it doesn't work in 10g
and there is n't read_sound_file in help of 10g
is there any compatability with this instruction in forms 10g
or how can i use sound file in 10g
is it with webUtil ( i' ve configured it correctly )
*or with java beans _ plz help me with it _*
Thanks _ waiting for u answers _ plzzzzzzzzzzzzzzzz

     I 'd like to play a soend wave file _ say when press a button package sound;
import oracle.forms.ui.VButton;
import java.applet.AudioClip;
import java.applet.Applet;
import java.net.URL;
import oracle.forms.properties.ID;
public class sound extends VButton
public final static ID PLAY = ID.registerProperty("PLAY");
public String sou_loc = "FILE:///C:\EAM_original.wav" ;
public sound()
public boolean setProperty(ID p0, Object p1)
if (p0==PLAY)
{ try
sou_loc = p1.toString();
URL sou = new URL(sou_loc);
AudioClip clip = Applet.newAudioClip(sou);
clip.play();
} catch (Exception ex)
{ex.printStackTrace();}
return super.setProperty(p0, p1);
}

Similar Messages

  • How can I transfer a sound file from my "Voice Memos" app on my iPhone to my iPad?

    How can I transfer a sound file from my "Voice Memos" app on my iPhone to my iPad?

    In iTunes with your iPhone connected, click on the iPhone device, select the Apps tab, scroll down to the File Sharing section and pick an app that plays Quicktimes ("Files Connect" works in this example, but I'm open to suggestions of better apps for playing transferred Quicktimes) and drag your Quicktime from Finder to the Documents pane for the File Sharing app.   Once the file transfer is complete, go to the app on your iPhone to play the Quicktime.

  • How do i play two sound file one after another

    Hi All,
    How do i play two sound file one after another using single AudioClip Component?.
    Advance in thanks
    Manivel

    AudioClip gives you very little control over what happens to the sound, it also isn't capable of playing long clips or waiting until a clip ends. It will play multiple clips over top of each other.
    To do what you want you should use the facilities of javax.sound. Here's a post with an example: http://forum.java.sun.com/thread.jspa?forumID=513&threadID=450768
    There is also a tutorial, but its example fails for long clips.

  • How can I play MPEG-4 files in Premier Elements?  It plays in iTunes but I only see video in Element

    how can I play MPEG-4 files in Premier Elements?  It plays in iTunes but I only see video in Elements

    LGSh
    Lots of questions, lots of answers needed as mentioned by Hunt. But please include what version of Premiere Elements that you are using when you reply.
    How are you importing these file into your Premiere Elements project?
    After you drag your file to the Timeline, do you see both an video and audio component (on Video 1/Audio 1) or is there nothing on the Audio 1 track? If you can see a wave form or file on Audio 1, have you checked all the program's volume settings including Edit Menu/Preferences/Audio Hardware and the ASIO settings?
    More later.
    Please do not hesitate to ask if you need clarification on anything written.
    Thank you.
    ATR

  • Premiere pro Encoded file having m4v & .wav & m4v.xmpse files how can i play this video file?

    Hello Guys,
    I am a beginner in Premiere ,just started learning.Created a project and wanted the finished project file as a bluray format,after 14 hours  adobe premiere pro(not encore) created all the above three files,what to do next? how can i play the video file?
    Kind advise pls

    Dear Mr,Hunt,
    You made my day....i felt its more than special a christmas day,thank's a Trillion..downloaded the MKV MERGE GUI ,within ten minutes job done!!!!!!!!!
    All my 16 hour rendering job is saved.End of the day i learned something new toooo.
    I would like to ask you a question which is not connected to this topic,i asked this question before in windows 7 forum but till date no body solved!!
    I am having few avi video files which having (avi.avi) extension i couldn't figure out how its occured(they all video files captured from samsung galaxy note,and appeared noraml avi files but became avi.avi i tried removing one extension,eventhough it says having one extension when you look in to the properties of that file you can see avi.avi ,the problem is eventhough it playable in vlc sometime,when i try to import to premiere pro -it says the file is corrupted.
    any idea??

  • How can i Play a sound in iPhone?

    in the application to play a sound file,use which API?who can tell me.

    AudioServicesPlaySystemSound in AudioToolbox framework.

  • How can i play (wmv) video files on E90 ?

    I was download video files (wmv) and it is not played on my mobile ..
    How can I play it ?
    Is there any app for this Files to play ?

    At the moment unfortunatley there is no app that can play those file types..
    Joing the bandwagon of other users who are waiting for an app to be developed.
    iPhone 5 32GB
    MacBook Pro Retina 15" Mac OS X Mountain Lion 10.8.4

  • How can I use a sound file on one slide, which fades to another sound file on the next?

    I am trying to make a slide show that begins with a certain sound file, which then I hope to fade out to the second slide which uses a different sound file, I've followed Apple's online tutorials, but what happens is I get two sound files playing simultaneously. Also, I'd like to add sounds files to different individual slides throughout the presentation, which I want to play independently from the entire slide show's sound track. I have programmed the slides to change automatically. Is there any way I can have multiple sound files on multiple slides all playing independently, without playing over the top of the previous sound file? I imagine this is a simply task, so my apologies if this is the case. Thanks in advance for any help!
    kind regards,

    Getting sound to work right in Keynote requires a basic understanding that:
    1. Sound played during slide transitions (from one slide to the next) must be placed in the Document Inspector > Audio > Soundtrack Well - there can only be one audio file and it plays across all slides
    2. Additional sounds files can be placed on individual slides as sound objects - each object can have build-in and build-out assignments, but sound files need at least a Build-In > Start Audio (done in the Build Inspector) - each object, wether a shape, image, sound or movie can have discrete start timing such that the start of one sound object can be delayed X seconds after the previous event. This can be used to avoid overlapping starts or playing. If you know the length of each sound file object, you can adjust the start to occur after the end of a previous sound using the Build Inspector. Click on the More Options Button to display the event build-order list and click on the event to reveal how the build starts and add any delays to start there.
    3. Keynote does not have a Fade Feature - any fade-in or fade-out (sound up/sound down) of audio files must be done to the sound file using third party applications and then brought into Keynote. If you'd like to join the crowd wishing Apple might add this feature in the future, you can provide feedback to Apple here:
    http://www.apple.com/feedback/
    4. If you need an audio file to play across a few slides and another audio file to play across another few slides, break the presentation into seperate documents, place the audio in the soundtrack well for each document and then add a hyperlink object to connect to the next Keynote document in the series. Note: all files must be "opened" in the background and ready to play or else the next file will attempt to start but stall just when you don't need it to.
    Hope this helps.

  • Please tell me how to automatically play a sound file in a PDF slideshow?Da

    I use PS CS3, LR2, and now I purchased Acrobat 9.1 Pro.  My intent is to create an image based full screen automatic slideshow WITH SOUND.  I have everything working well but I can't figure out how to get the sound file to simply play along with the images.  I do not want the viewer to have to press anything to hear the sounds.  The sound file should simply play along with the image(s).  I would like to be able to time the sound file to the images as well.
    I will appreciate any pointers you may have.
    Thanks...

    To do this reliably the document has to be in the list of the client applications list of trusted documents.  You get this prompt when you attempt to play a sound.  The other way is to actually set the Multimedia Trust (legacy) preference on each client for each type of Player application.  While this might seem a bit of a task it's meant to protect the user.

  • How can I play an audio file without the whole screen going black?

    When I play the mp3 file on IE it opens in a small screen so I can still see the web page.
    On Firefox the whole screen is taken up with the sound file being played.
    Can this be changed?

    Is that file played in a tab in the current window or in a separate pop-up window?
    Are you allowing pop-up to modify the window size (dom.disable_window_move_resize = false)?
    *http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
    You can try set the Boolean pref <b>media.windows-media-foundation.enabled</b> to <i>false</i> on the <b>about:config</b> page to disable the built-in HTML5 media player.
    *http://kb.mozillazine.org/about:config

  • How can I play a .pvr file stored in my STB?

    i need to play a .pvr file stored in my STB. first i listed the files using java.io.File, file.list() but i don't have any idea how to transform this file to a media locator one, for example.
    My STB have mhp 1.0.2, i need 1.0.3 or higer to do this? any suggestions?? thanks!!

    Hi
    Recently in my project I came across a scenario where my Web Dynpro Project had to pick the image from KM. The images to be displayed will be placed in KM. This will avoid loading the images into the Web DynPro project. More over when you have KM installed on your EP server, one can use it for storing backend data and resources. The KM Admin will be undertaking this task of uploading the images to predefined folder structures. Through the application path to the image will be provided dynamically giving you the flexibility to decide which image to be displayed according to the business logic.
    Getting an image from KM Documents to be used in Web Dynpro
    Uploading files to KM repository using Webdynpro APIs
    KM with WebDynpro
    thanks
    Suresh

  • How can I play embedded MP3 files in Firefox 19?

    I am on a site where I can buy MP3 files. There is a preview of each song. When I click the preview, nothing happens.
    If I open IE and do the same thing, I hear the song.
    When I return to Firefox, I can then play that same song in Firefox. I can only do this if I open the link in IE first.
    I have the Quicktime plugin installed and enabled. In Firefox options, it shows to open MP3 links using the Quicktime plugin

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder

  • How can I play 1080p MTS file without conversion?

    Hi,
    I wasn't yet able to find a decent player capable to play 1080p MTS files smoothly? I acquired the snapshots using a Sony DSC-HXV9 and I don't want to convert them. Any suggestions?
    Thanks

    This MTS files can't be direcly played by media player. You can find yourself a converter app. But since you don't want to convert your videos I recommend you VLC player, it may help you .But the quality may not very good. for some free converter app: Handbrake, MPEG Streamclip, freevideomaker.

  • How can i implement a doppel click im form 10g?

    Hi all,
    i want to implement a doppel click in my trigger in form 10g, because, wenn i start my form, it appears correctly on the canvas, but it disappears directly when i click the canvas when my mouse. it reappears when i doppelclik on the canvas.
    Have you any ideas how i can resolve this problem?
    thanks in advance for the answers.
    have a nice Weekend.

         I 'd like to play a soend wave file _ say when press a button package sound;
    import oracle.forms.ui.VButton;
    import java.applet.AudioClip;
    import java.applet.Applet;
    import java.net.URL;
    import oracle.forms.properties.ID;
    public class sound extends VButton
    public final static ID PLAY = ID.registerProperty("PLAY");
    public String sou_loc = "FILE:///C:\EAM_original.wav" ;
    public sound()
    public boolean setProperty(ID p0, Object p1)
    if (p0==PLAY)
    { try
    sou_loc = p1.toString();
    URL sou = new URL(sou_loc);
    AudioClip clip = Applet.newAudioClip(sou);
    clip.play();
    } catch (Exception ex)
    {ex.printStackTrace();}
    return super.setProperty(p0, p1);
    }

  • How to save SQL result to file in forms 10g

    Hi All,
         I am using Oracle/forms 10g and need to create a file from a predefined sql statement .
    Just wondering if there is a build-in provided by oracle to export sql result to a file from Forms?.
    Your quick response will be of great help.
    Thanks
    Aalishan

    Aalishan,
    I guess it all depends on where you need to create the output file. You can use the database package UTL_FILE to write a file to the database server file system or you can use the Forms TEXT_IO built-in to write to the client file system. Is your intent to export the data in a multi-line block to a file? If so, TEXT_IO is what you want to use. The Forms help system has all the information and a few examples you will need to get started.
    Hope this helps.
    Craig...

Maybe you are looking for