How to make raw audio sample to QTMovie?

Hi,all.
I'm a newer to QTKit.Now i want to add some series of raw audio samples to my QTMovie.The raw audio samples contain some propertys about the audio.such as sampleRate,channelPerframe and so on .
According to search the interent,I found to use the propertys to fill with the "AudioStreamBasicDescription" struct.then,use the api of "QTSoundDescriptionCreate" to get the SoundDescriptionHandle.At last use "AddMediaSample".Only this ,I didnt find any useful sample code.So could anyone give me some useful information about it ?
Thanks in advance for every reply.

Hi Sharathm,
I saw that you were using Background Task to detect the Local Setting "toast", based on its value, you could determine whether the sending notification operation was needed.
In my view, you are in the right direction, the Background Task helps us to do work in the background.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to make the audio track independent from the video track?

    Can someone remind me how to make the audio track independent from the video track? My memory just went blank. Must be the age.
    Thanks

    Hi -
    Select the clip in the timeline.
    Type Command + L or go to the menu Modify > Link to toggle it off.
    MtD

  • How to make an audio Multi-Unicasts session with JMF&RTP?

    Hi,
    I am developing an application that could make an audio communications between diffrents users without conferencing or broadcasting.
    I have tried to make many separatly unicasts but the application crash.
    Can someone help me with a sample of source code in multi-Unicast session? It's very urgent.
    Thanks in advance.
    Badr.

    Hi,
    look at this: http://forum.java.sun.com/thread.jspa?threadID=5158056&tstart=0.
    My server is a multi-unicast application. Conferencing is here only a kind of administration.
    Best,
    Andreas

  • How to make an audio file on Dreamweaver not auto play?

    hi,
    ive been trying to make my audio file on dreamweaver not play when the webpage is opened.
    i have tired the 'autoplay, false' however this dosent seem to work for me. im using Dreamweaver CS6
    im hoping for some help as this is becoming frustrating!
    and i am using a music file which has been downloaded!

    At a minimum, you need MP3 and OGG audio files.  If you don't have them, use the online converter below: http://media.io/
    With an HTML5 doc type, your code should look like this:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Audio Demo</title>
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    </head>
    <body>
    <p>This works in all modern browsers. </p>
    <audio controls>
    <source src="path/yourSong.ogg" type="audio/ogg">
    <source src="path/yourSong.mp3" type="audio/mp3">
    <p>Your browser doesn't support audio.</p>
    </audio>
    </body>
    </html>
    Nancy O.

  • How to make an audio clip sound like it is on a radio?

    I have an audio clip and I need to mess with it to make it sound like it is on the radio, how do I do that?

    Hey Pat
    "The new system for discussions asks that after you mark your question as solved, you take the time to mark any posts that have aided you with the helpful tag and the post that provided your answer with the solved tag. This not only gives points to the posters, but points anyone searching for answers to similar problems to the proper posts.
    If we use the forums properly they will work well..."

  • How do i change Audio sample rate to suit?

    Hi,
    I Just captured a small clip from my DV camera on final express 4. At the end of the capture i got a message saying that the sample rate on my source may be different to the rate on my capture and it may cause the video and audio to go out of sync. This did happen so i checked the camcorder and it is set to 12bit. How do i set the captute settings to suit??
    Thanks,
    Dave.

    Can I ask a stupid question?
    What do you mean "if you overrun" I just encountered all the above issues. First tape imported perfectly once I changed it to 32. The next one appeared to but then like jerryws1431 said, FCE quit. I wasn't here at the point it quit, but if was either after or during the "Validating Audio". Last time I looked it was validating.
    So, if I have a 60 minute tape and I tape 51 minutes, is that too much to have on one tape, or am I completely missing something......
    Tom, thank you so much for all this information! I would have been stuck with out of sync audio had it not been for you!

  • How to make an Audio library with a download option?

    I'm looking to set up an online audio library with Business Catalyst, I'm wandering how would be the best way to set it up if its at all possible?

    Hi heshy c,
    The best method to achieve this would be to upload your files as media downloads: http://helpx.adobe.com/business-catalyst/using/add-media-downloads.html. The benefit of this is that you'll be able to track the amount of downloads, etc and run various reports on these files.

  • How to make the audio play in a widget slide?

    I am using a widget on a Captivate 6 slide and the audio will not play.  What can I do to correct it?

    I had a similar problem and i was given a great workaround by lilybiri a member on here.
    On the attributes for the slide assign "On enter" a "Play Audio" Function. You can then select the audio file from your library.
    I also had problems adding audio within a widget, but for me it seems to work if the audio is .mp3 format. .Wav would not play
    Thanks

  • How to make vedio/audio standalone application in java

    i need an overall idea of developing a vedio/audio application in java a standalone application using swings. from scratch i need to develope so i need some idea of dataflow,class diagrams etc everything related to develope a project.

    J
    D
    B
    C
    Search these forums or follow the JDBC tutorial

  • How to make the eyedropper sample non-transparent color of a transparant layer?

    I have an image of a flower I am trying to paint.
    I put the flower as the top layer at 50% opacity to use as a guide.
    Then I am trying to paint on a layer below that.
    I would like to be able to use the eyedropper on the original image but for it to pick up the full color and not the %50 opacity version of the color.
    I saw this done in a demo but can't seem to figure it out.
    I tried setting the eyedropper options to "All layers no adjustments" but it's still only picking up the lighter version of the color.
    Any suggestions?

    Another option might be to make a fully transparent layer on top to paint on, and get your color from a fully opaque layer below.  I have painted with the Mixer Brush quite effectively this way, though it's not incredibly speedy.
    -Noel

  • How can I compress an audio sample?

    Hi, I have raw audio sample in a byte array. I want to compress this sample. more specifically, I want to develop a method which will take this byte array as an input and returns the compressed sample in the byte array again. Please suggest me if anyone knows about this.
    The code which I am using for capturing the data through the microphone is as follows. After executing the following, a byteArrayOutputStream is created, from which I am getting the captured audio byte array just by calling byteArrayOutputStream.toByteArray() method.
    public void captureAudio(){
        try{
          //Get everything set up for
          // capture
          audioFormat = getAudioFormat();
          DataLine.Info dataLineInfo =
                    new DataLine.Info(
                      TargetDataLine.class,
                       audioFormat);
          targetDataLine = (TargetDataLine)
                       AudioSystem.getLine(
                             dataLineInfo);
          targetDataLine.open(audioFormat);
          targetDataLine.start();
          //Create a thread to capture the
          // microphone data and start it
          // running.  It will run until
          // the Stop button is clicked.
          Thread captureThread =
                    new Thread(
                      new CaptureThread());
          captureThread.start();
        } catch (Exception e) {
          System.out.println(e);
          System.exit(0);
        }//end catch
      }//end captureAudio method
    class CaptureThread extends Thread{
      //An arbitrary-size temporary holding
      // buffer
      byte tempBuffer[] = new byte[10000];
      public void run(){
        byteArrayOutputStream =
               new ByteArrayOutputStream();
        stopCapture = false;
        try{//Loop until stopCapture is set
            // by another thread that
            // services the Stop button.
          while(!stopCapture){
            //Read data from the internal
            // buffer of the data line.
            int cnt = targetDataLine.read(
                        tempBuffer,
                        0,
                        tempBuffer.length);
            if(cnt > 0){
              //Save data in output stream
              // object.
              byteArrayOutputStream.write(
                       tempBuffer, 0, cnt);
            }//end if
          }//end while
          byteArrayOutputStream.close();
        }catch (Exception e) {
          System.out.println(e);
          System.exit(0);
        }//end catch
      }//end run
    }//end inner class CaptureThreadI am new to sound api and I hope you got my question. Please ask me if anything required from my side.
    Regards

    Thanks Andrew and Captfoss, I agree both of you and I am really a newbie. Andrew, you are talking about the decreasing the quality, like what we do in video conferencing application where quality of an image not really matters [we set the jpeg quality to 0.5 etc]. I'll definitely do that. Please tell me the values for lower quality sound. The audio format I am using currently is as follows:
    private AudioFormat getAudioFormat(){
        float sampleRate = 8000.0F;
        //8000,11025,16000,22050,44100
        int sampleSizeInBits = 16;
        //8,16
        int channels = 1;
        //1,2
        boolean signed = true;
        //true,false
        boolean bigEndian = false;
        //true,false
        return new AudioFormat(
                          sampleRate,
                          sampleSizeInBits,
                          channels,
                          signed,
                          bigEndian);
      }//end getAudioFormatcaptfoss, I also thought of ULAW compression. But I am not getting the way to apply this compression on the piece of sound which is stored in a byte[]. I am capturing the sound in piece by piece through the microphone.each piece of sound is stored in a byte[]. Now I want to compress this byte[] using ULAW. How can I do that? I don't have any file on the hard disk as I am capturing through the mic. Also, I don't want the compressed file to be stored on the hard disk. Instead, I'll want the compressed output in a byte[].

  • How to Make Audio Books

    Hi,
    I'm not sure if this is the correct place for this topic but I have a 80 GB Black Classic and was wondering how to make a audio book to add to my iPod.
    I have several audio books on CD that have numerous chapters in them. Is there some type of conversion program to convert these to files that can be loaded onto the iPod or are they just mp3 files when added? If they are just mp3 files, will they load onto the music playlist or how due you make them show up in the Audio books menu?
    Adding files from a CD does not seem to be a problem as far as converting or ripping them to iTunes to be then synced to the iPod, but I do not know if a different type of file is needed other than mp3 to be able to play them as a audio book.
    Any help on this matter would be appreciated.
    Thank you in advance
    Mr. Hoz

    If you had a Mac, you could take it a step further and add chapter like Audible does. I came across a a AppleScript called Join Together which uses a tool from Apple called ChapterTool. Basically, you select the files to join and run Launch Join Together from the iTunes script menu. A dialog box pops up allowing to set the Artist, track info, release year, Album, etc. It also lets you set the output bit rate, frequency, and stereo/mono. It will either output a .m4a file (music) or a .m4b file (audiobook). If you have Apple's ChapterTool install, it will have an option to add chapter names based ont he song titles.
    Example: I have a dramatized version of the NIV Bible which wad a separate mp3 file for each chapter. So, it was broken into 1189 files:
    Song : Album
    Genesis 01 : 01 Genesis
    Genesis 02 : 01 Genesis
    Genesis 03 : 01 Genesis
    Exodus 01 : 02 Exodus
    Exodus 02 : 02 Exodus
    Exodus 03 : 02 Exodus
    Revelation 20 : 66 Revelation
    Revelation 21 : 66 Revelation
    Revelation 22 : 66 Revelation
    After using Join Together, I now have only 68 .m4b files, one for every book except Psalms which I split into three parts (001-050, 051-100, 101-150). Now when I select oneof the books on the iPod, a list of chapters are shown except for r the 5 books that only have one chapter (Test: name the 5 books without looking them up. .
    I in the proces of doing this for more books which I kept the individual chapter files like _Teach Yourself Norwegian_ (2 CDs) and two _Birding By Ear_ books (3 CDs each).
    For some reason the Join Together script errors out about 10% of the time and I have to re run it. I haven't tried to troubleshoot the issue, yet. Also at the beginning when it starts to join the tracks, the script plays all of the files being joined all at the same time for about 10 to 30 seconds. What a noise that is!
    Enjoy life,
    Steven

  • How to add an audio widget in IBA?

    HI,
    I want to record an audio and to add it in IBA.
    I know how to make an audio widget and how to add a song from my list of music.
    But how could i record my voice? With what?  Do Apple offer an application for that?
    Tx

    How old is your Mac? Did it come with preinstalled iLife applications?
    Then you might want to give GarageBand a try.
    GarageBand comes with many predefined filters to enhance vocals, or to make it sound like a Life performance, radio effect, like a megaphon, etc. And you have automation curves to adjust the volume, for example to fade the voice out.
    Also you can trim and mix several recordings and position the sound along the stereo baseline. This way you can let the voice walk from left right or let a car drive by.
    This screenshot shows how to use the predefined effects for voices, the Track pan automation to move the voice from left to right, the track volume automation to adjust the volume, and the "record" button to record a voice on one of the tracks in the time line.
    Regards
    Léonie

  • How can I ensure that the audio sample rare of my capture preset matches?

    Hi everyone
    When capturing tapes I get warning that the audio sample rate of one or more of captured files does not match the sample rate on my source tape. This may cause the vidio and audeo of the media files to be out of sync. How can I make sure that the my capture preset matches the sample rate of my tape? Can anyone be able to show me how? Thank you. Faruk.

    Hi
    Fuerther, I have double checked and found that none of my ten projects has sound, although audio meters settings moves up & down. Simultaniously, canvas displays that in- & out of clips are not set , and in browser I see time codes on the images when the playhead stops in timeline. I did not have this problem before. I wonder appreciate if if these issues are interrelated, and if I may have clicked something that has triggered this.
    I would appreciate it if you or other friends could kindly address this problem and help me resolve the isssue. Thank you. Faruk.

  • Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    If you use an HDMI cable, the audiostream will be integrated, so there will be sound when using an HDMI cable!
    Not necessarily.  That only works as stated if you have one of the most recent MBP's that has a built-in HDMI port.
    If the MBP only has a Thunderbolt or miniDisplayPort, you need an appropriate adapter cable and even if you use an HDMI adapter or cable to connect to your HDTV there is no guarantee it will carry audio.  You have to determine if your specific MBP model supports audio out through its miniDisplayPort or Thunderbolt output, and whether the adapter does likewise.

Maybe you are looking for

  • How do I create custom subject lines for form responses?

    We want our forms to be able to generate a custom subject line--each time someone puts in a request. Gmail threads everything together with the same subject line so when we get e-mail notifications when someone submits a form we often miss these beca

  • Should I keep WIFI on?

    Should I keep WIFI on all the time when i am at home or school. I always have it on right now but i would like to know what is best....

  • Bind subscreen in CL_GUI_CONTAINER object

    Hi colleagues, I have following code which works fine - divide screen with splitter into two section.   create main container     create object go_cont       exporting         extension         = 500         side              = go_cont->dock_at_top  

  • Kernel Panic at Shutdown

    After installing 10.6, shutting down with my browser(Safari) open and external modem connected results in a kernel panic message and the shutdown is not completed. If I close Safari and disconnect the modem first before shutting down there is no prob

  • Losing connection

    Well i have an WRT54GS v1.1 with the latest firmware and an ADSLMUE modem. I connect wirelessly to my router with an WUSB54G v4, also with the latest firmware. The problem i'm having is every so often my internet dies completely, whether i'm attempti