How to capture audio encoded by pcm at 16 Bits,2 channel, 44KHz samples by using crossbridge

sorry for trouble you,  i want realtime encode aac+ audio using adobe flash, but i can't get raw pcm audio using as3 api 's micphone interface. SampleDataEvent.SAMPLE_DATA.
so i want to use directshow to replace to get raw audio data, but i don't know how to get it, could you give me some advice?
thanks.
FYI
as3 micphone 's api now support pcma/pcmu, but the rate is just 8kHz, how can i capture 32KHz or  44KHz samples.
thanks.

Hi,
directshow is not the easyeest way to do it.
take a look at PortAudio, a nice lib which allow to get raw pcm audio.
http://portaudio.com/docs/v19-doxydocs/api_overview.html
Regards,
Philippe

Similar Messages

  • How to capture audio??

    Dear sir,
    Have anyone know how to capture audio use JMF?
    Have anyone can give me a reference URL?

    I think there is everything you need here:
    http://java.sun.com/products/java-media/jmf/2.1.1/guide/
    http://java.sun.com/products/java-media/jmf/2.1.1/guide/JMFCapturing.html
    Regards,
    Paul

  • How to export audio timeline as PCM and not AAC?

    Well this is something I have not come across before and unfortunately, I have not founjd an answer.
    As you can se from the attached screen shot, I have an audio sequence that is comprised of many pieces, all of which come from uncompressed PCM sound capture. They are aiff files.
    Anyway, if I try to export that sound sequence as Audio Only, my only option is as AAC, which is compressed. That cannot be an option. I need to output as PCM. Under no circumstances can I compress the sound down to a lossy format like AAC or Dolby Digital.
    But I don 't see how to make it happen.
    Any ideas? I also don't see how it is possible to export to Soundbooth. That can only be done with a single clip.
    I do see export as an AAF file, but I have no experience with that. Would that work and then I open in Soundbooth and I save as a PCM wave file?
    With that I see options to "Save as legacy AAF" and also "Embed Audio."
    I'm lost. Oh yes, I am on a PC and have CS5 Production Premium.

    No, if I choose audio only, I have AAC as the only option.
    Now I just noticed I somehow missed I can export as an aif and will do that now and see if I can put it in Soundbooth and covert to PCM.
    Not ideal.

  • How can capture audio with labview

        I desired to make a audio equalizer vi using lab view. Audio will be taken from microphone. How can I capture sound from microphone with labview?

    See the example "Sound Card AutoPower Spectrum" This allows you to sample from an input device through your sound card, and take a spectrum.  you should be able to bin the spectrum by frequency bands, and show the histogram of frequencies.  You probably can even selectively resample and scale the frequencies, mix the signal and output the new sounds but I hav not tried this (I am not an audiophile so this is beyond my scope of expertise)  Good luck  ,
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How to capture audio into buffer

    i currently doing a voip apllication using SIP as the protocol
    since the j2me now doesnt only have the jsr 180
    its not enough to support voip call
    wat i wan to do is capture d audio then put in buffer then send out through d socket to another client and its automatically plays it
    can this work?
    its seen like converting the text conversation into voice conversation
    but sadly i dont know how to implement the real-time voice conversation
    can anyone help me?

    Hi,
    you have to deal with OCCI Metadata. To start look here
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14294/metadata.htm#BABFEDDJ
    Regards,
    Michael

  • How to capture audio properties

    According to the Oracle Intermedia User's Guide I should be able to capture the properties for the attributes format, encoding type, number of channels, sampling rate and sample size of the audio data using the setProperties method of the ORDAudio object.
    However if I try to use this method based on the examples in the User's guide I get the AUDIO_PLUGIN_EXCEPTION. Who has suggestions?

    What is the full error stack? You will get an exception if the audio file is not understood by setproperties or the audio data is corrupt. See the release notes in $ORACLE_HOME/ord/im/admin/README.txt for
    supported formats.
    null

  • How to capture the Status code in Web application Transcation monitoring if we are using multiple Request

    Hi Team
    We would like to monitor 12 url,s which requires Authentication. Hence i have added the same in one Single Web application transcation template.
    i have added the below info to the get the Stats code displayed in Alert
    Status code is $Data/Context/RequestResults/RequestResult["1"]/BasePageData/StatusCode$
    when i recived a alert it gave the Status code of the 1st Request
    hence i changed the same as
    Status code is $Data/Context/RequestResults/RequestResult["12"]/BasePageData/StatusCode$
    But still i am facing the same issue .
    My first request shows me a status code of 200, and my 12th Request comes with 500 but in the alert i get 200 but it should be 500.
    Kindly help me in how i can get the Status code for the multiple  Request.
    Regards
    Sriram

    Hi Sriram,
    Please run the test of your 12th Request, view full result and check if Status Code is 200.
    Meanwhile, you can run the URL manually to check the result.
    Niki Han
    TechNet Community Support

  • Audio Q: How to capture and play back later?

    Hi,
    Looking at the JMStudio app, it's pretty clear how to capture audio and stream it out through the speakers. What I don't understand is how to capture audio, stop, and at a later time, play that stream back. In particular, I'd like to be able to play it back beginning at a specific position. I see the Positionable interface, but I haven't found any demo code for a DataSource that implements it. Any help appreciated,
    +scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    you have to stream your media to a file and later re-open it. To do this, simply get a DataSink and use it to save on a file.

  • How to get audio device information connected with MAC system?

    I want to know the samplerate (the number of samples per second) supported by the device connected with the MAC system.
    I am also pasting the code as below where I need that info.
    // Using PCM 44.1 kHz, 16 bit signed,stereo.
              AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED,  //     the audio encoding technique
              44100.0F,// sampleRate           the number of samples per second
              16,      // sampleSizeInBits the number of bits in each sample
              2,       // channels           the number of channels (1 for mono, 2 for stereo, and so on)
              4,       // frameSize           the number of bytes in each frame
              44100.0F,// frameRate          the number of frames per second
              false);  // bigEndian          indicates whether the data for a single sample is stored in big-endian byte order (<code>false</code> means little-endian)

    Kanni wrote:
    Can you sugget something in that area.That's not an issue that's specific to MAC, it'd be specific to any system with a limited number of supported capture formats.
    I've handled this problem in the past by generating an array full of all of the AudioFormat objects I'd consider acceptable, and I just iterate through them until I can find a TargetDataline that supports it.
    TargetDataLine tdl = null;
    /* Write your own code to get an array of acceptable formats here */
    AudioFormat formats[] = JavaSoundFormats.getFormatList();
    for (AudioFormat format : formats) {
        DataLine.Info dlinfo = new DataLine.Info(TargetDataLine.class,
                                                 format);
            if (AudioSystem.isLineSupported(dlinfo)) {
                try {
                    audio_in_format = format;
                    tdl = (TargetDataLine)AudioSystem.getLine(dlinfo);
                    break;
                catch(LineUnavailableException e) {
                    // No need to do anything
    /* If we don't have a targetdataoutput object, give up */
    if (tdl == null) {
        System.err.println("No TargetDataLines found!");
        System.exit(1);
    }

  • Using Flex to capture audio from Flash

    Hi!
    I've been trying for a while to figure out how to capture audio from a flash-application (http://www.delorean.se/mixer)
    and store it as a mp3-file.
    Since I've studied Java for 2 years I thought I'd try and use it to capture the audio but I'm running into problems all the time,
    and I've been advised to look up Flex by other Java users.
    So, I got some questions:
    Is Flex a good tool to use to capture audio from flash-applications and store the audio as a mp3-file?
    Is Flex hard to learn (I've been working with Eclipse for a long time so the IDE shouldn't be a problem and learning another language/framework is always nice)
    Any tips in general?
    Any answers would make me very happy!
    Thanks!

    physical are closed : how will it managed the queues and overspill queues when target is not present? Also the data dictionary must reflect the primary but If you run capture, then you introduce rules that are not on primary: How ?

  • How to capture first two digit in a number

    Hi,
    I have numbers with differeent lenth in a variable How to capture first two digit??
    Thanks.

    Hi,
    We can achieve that using the following methods:
    DATA : loc_1  type string,
                loc_2(2) type c.
    loc_1 = '123423428340923990'.
    loc_2 = loc_1+0(2).
    Here you will get only the first two digits.
    You can use move statement also.
    MOVE LOC_1(2) TO loc_2.
    If you are having mixed string with characters and digits mixed together i.e. like this 'test01test03sample01'.
    You can so that using this method.
    data : lv_length type I.
    loc_1 = 'test01test03sample0'.
    LV_LENGTH = STRLEN( loc_1 ).
      DO LV_LENGTH TIMES.
    *&-- Read from first string validing the numeric fields and move your first two digits to the required variable --&*
      ENDDO.
    Hope it will be useful.
    Regards,
    Sakthi
    Edited by: Sakthi Saravanan C on Oct 8, 2010 6:45 PM

  • How to capture profile value in AM

    Hi,
    How to capture profile value in AM.
    Krishna

    Here is the code you can use
      String profileValue=  getOADBTransaction().getProfile("profile Name");Thanks
    --Anil                                                                                                                                                                                                                                                                                       

  • How to limited Media Encoder connect the media server?

    how to limited Media Encoder connect the media server?
    I have a adobe media server3 for liniux and  hava a live IP.
       I can  use the Media Encoder connenct the media server anywhere  when I use the live IP.
    I want to know how to limited Media Encoder connect the media server.
    thank you!

    You can use an authorization plugin, or you can use server side actionscript to validate credentials (as of FMS 3.0, you can use get variables in the RTMP URL)

  • How to fix audio  of a video captured from DV output of camcorder using Adobe Premiere Elements 8?

    Hello,
    I purchased Adobe Premiere Elements 8 about one week ago.  I installed it and everything seem to work well in my first project.  I am new at editing videos but I was succesful in testing it by loading an existing video file in avi format from my computer and then doing some very basic editing (I splitted 2 scenes and added a title). 
    After my first succesful project (described above) I started a brand new project. Here, I want to capture a one hour video  from the dv output of a video camera. So I connected the camera to the PC and then started adobe elements 8.  Before starting the capture I only checked the boxes that said "capture video" and "capture audio" (the other 2 boxes that said download to timeline and autoanalyze were left unchecked).  After that I started the capture process.
    After the video capture was completed, a small window opened at the bottom saying that a PEAK FILE was being generated.    After the peak file generation finished, I looked at the captured video.  The video looked perfect.  However the audio of the video was too fast. By this, I mean that the voices of the people in the movie were like they were speaking at more than twice the normal speed.  Or to explain it in a different way, they sounded like the  chipmunks.
    So now I come to the question of this thread I started.  Is there a way that I can fix the audio part of the video I captured?  I will appreciate any help on this. Below I listed a few additional details in case this is needed.
    Thanks,
    ronel_8
    PS.  Here are some more details about my system:
    1) Operating System: Windows XP
    2) I am capturing the video on an external drive with 40 GB of available space. The external drive is connected to a PC via a USB connection.
    3) Computer CPU: 2.4 GHZ
    4) Computer RAM: 1.25 GB
    5) Video tape is about one hour long.

    Hello Bill and Steve,
    Your responses are very helpful.  Although I was not able to fix the problem yet I do seem to think from what you both say that my system may be too slow to capture the one hour video. In any case I will copy below more details about the system as you requested:
    1) Results from running Gspot:
    The audio section of the Gspot window was blank. That is, no information was there.  The File and Container sections say:
    File Size: 12.6 GB
    Note: 7.63 GB unneeded bytes at the end of the file
    DV Type1 AVI
    2) I did run the Gspot on another good avi file (captured to the PC with same camcorder) and says:
    Codec PCM Audio
    32kHz 1024 kb/s tot (2 chnls).
    I suppose these are the audio settings from the camera.
    3) Yes, I am capturing video from a miniDV camcorder (JVC GR-D70U).
    4) I did not defragment the external drive prior to capturing the video with the audi problem.  So I will give that I try and see if it solves the problem.
    5) The external drive I am using is formatted to NTFS.
    6) The computer is a Dell Dimension 2400, CPU: 2.4 GHZ, RAM: 1.25 GB
    7) HDD Size=74GB and 11 GB of free space.  But I am downloading video to external drive that has 60 GB free space.
    One last piece of information that may be useful.  If I open the AVI file (that I captured with Adobe Premiere Elements) with Windows Media Player, the audi sounds good.  However if I open it with Adobe it has the problem I mentioned in my previous e-mail.
    I'll aprreciate any further hints.
    Thanks again,
    ronel_8

  • How to capture two audio channels on seperate tracks?

    Does anybody know how to get audio from two or more channels on seperate tracks when capturing in Premier pro!
    I have used two mics, but the audio is on the same track when i have capturede the video. Any suggestions?

    Highlight the clip in the Project window and then Clip - Audio Options - Breakout to Mono.
    You will get two mono tracks as separate files in the project window but they won't be linked to the video clip

Maybe you are looking for

  • Boot camp with windows 7 downloaded online?

    I have a summer 2012 mac book pro running Mac OSX 10.7.4 (this is my first mac product, I bought it like a month ago so I know much). I am intersted in being able to boot Windows 7 though Apple Boot Camp. Windows 7 professional is avialable to me for

  • How do I define 2 disk groups for ocr and voting disks at the oracle grid infrastructure installation window

    Hello, It may sound too easy to someone but I need to ask it anyway. I am in the middle of building Oracle RAC 11.2.0.3 on Linux. I have 2 storage and I created three LUNs in each of storage so 6 LUNs in total look in both of servers. If I choose NOR

  • How to view all Actions in the Photoshop Actions Panel

    My computer crashed and I removed all apps and reinstalled so now none of my actions appear. However I do have a backup file of all of them and want to reinstall but before when I was using cs6 ( Im assuming same thing as CC as it was all on the subs

  • How to Up load a Java project in the Web Server

    Hello friends, Can u please help me to sort out this problem i want to upload my java project ie a web application with some database operations like add,delete,update. I took webspace in the webserver and from the client system i have to upload my A

  • Sharp LC-37D90U

    I have been looking all over for a monitor to use as both a computer monitor and tv. I have found the Westinghouse 37", and the Sharp 37"(d90U). Both these monitors have the same resolution(1920x1080). while calling about the Sharp, the representativ