MIDP2 live audio capture and streming out

HI,
I want for my project to capture (capture:/audio) from mobile while speaking and send it to the host live. Ya, i could do this by recording juz a clip and sending over and over (as datagrams) but my requirement is, how to capture audio live.
But, record controler interface supports only setRecordStream() - can't get data untill commit() and setRecordLocation() - supports only file protocol. So, i found a class inside mmapi RecordCtrl (implements RecordControl) and i thought of writing an extension for it. but there are lots of restrictions too...
Do i have to go deeper that much to capture live voice?
Does anyone have done that?
Easy way you can think of?
Thanks!
Cheers,
Ivana.

Hi, I have exactly the same requirement. Did you manage to get a solution?

Similar Messages

  • Is it possible to do the audio capture and playback simultaneously?

    In short :
    Is it possible to do the audio capture and playback simultaneously? . If it is not supported directly by Sun, pl suggest another way to achieve the same.
    In detail:
    I am doing a voice chat application by using the streaming through UDP . I am able to play the byte stream. But , is it possible to capture sound simultaneously (while playing the audio) to send to the other end?
    Edited by: dhillarun on Jan 4, 2008 7:11 AM

    If you're Airplaying from you computer, you might be able to do this. Here's what I would try:
    Go to the Airplay icon in iTunes. You should see both your Apple TV and your speakers listed as options. Select "Multiple speakers." You'll see both devices together. Turn the volume all the way down on the Apple TV. You should be getting the video on the TV, but only hear audio through the speakers.
    Using the "Multiple Speakers" option will sync the output of your devices so that the sound matches the picture.
    I haven't tried this myself, but I'm thinking this would work. However, this approach will only work when using Airplay from your computer – not from am iPad or iPhone – as they don’t have the "Multiple Speakers" option (as far as I know). It also won't work with content streamed directly to your ATV, obviously, because there's no way to stream from ATV to other devices.
    Let me know if this works.

  • What for a live event capture and edition ?

    Hi there,
    What software is best for a live event capture and edition ? (for an instant public feedback) a one with the ability to be controlled by a 2-octave midi keyboard.
    Can FCP do that ? even partly ?
    The idea is to be able to do the same then tv shows (live cuts and effect layers)
    thanks,
    Ionel

    FCP is a professional non-linear editing application ... not a live event playback device.
    If you need a very fast turnaround editing facility you can look at FCP coupled with something like Picture Ready from Gallery, you can download a demo to test
    if you're looking at doing a 2 camera live cut/switch then you can consider a dual decklink I/O solution and On-Air 2.0

  • Live Conferencing, capturing and maybe editing....

    To those who are familiar with this...
    Here is the script...
    I work part time for a firm who do audio visuals for Mainly Conferences and events in the Channel Island, UK.
    Most of these events require Camera work, for live projections with visual desk mixing. Each camera would have tapes in and press record when the event would start. Coming out of the mixing desk would be connected a Sony DV recorder that records live what shows on the screen.
    Up until now, when clients required a DVD of the event, we would bring the tapes back inhouse, log and capture, and start editing..
    Problem starts here....
    The Live Mixed tape recorded is not good enough for DVD play back for two reasons.
    1. for example of a pointpower presentation which would drag on the screens, would not be required on the DVD for such a long time, therefore editing is required.
    2. Slides, photos coming out of PC/Mac would go through scan converters in order to fit the screen in the room. Losing the aspect ratio of 4:3 or 16:9.
    SO....
    We have come to the conclusion that what ever is mixed live for the screens is not good enough for the DVD, and we need to edit for DVD seperatly. Cannot use the live mixed tape. We must use each camera feed seperatly for editing and the slides, PP presentations or keynote seperate...
    How do we do this quickly? What I mean by quickly is, yes of course we could bring all tapes back to the studio and capture them, a series of Mac, each having a player, each capturing at the same time.....That requires time... and most events finish at 2am...
    Question 1:
    The idea is to Capture straight from Cameras (keeping the tapes in cameras as backup) straight into a powermac. This is to save capturing time....
    How do we do this?
    Question 2:
    FCP support Multicam editing. But as far as I understand it, this is only post production. Or is it not? Can we edit live straight from the camera feed?
    Question 3:
    Would a capture card slove our problem? something like a blackmagic decklink?
    The last option we have left is to invest into a new Visual desk, split the feed from the cameras, and create a second mixing/editing desk, first one being for live projection, and this second new one being for DVD production, mixing using a visual desk, recording this to tape, being left with only one tape to capture which will still need a few twicks to fix on FCP.
    What do you reckon?
    I know this is a long thread, but trying to be as clear as possible....
    Thanks in Advance...
    Regards
    Steph
    G5, D2.0, 5G-ram, 250GB500GB500G lacie+ 300 Maxtor, X800XT, 30'' display   Mac OS X (10.4.8)  

    thank you all 3 for your replies.....
    I sort of knew the answer to my own questions but was hoping for some sort of magic trick to sort our problems....
    Yes those conference, ball, events are important... big budget, big nights.... But thats no problem... it is turning around the job quick that is difficult.... and hte more time consuming is capturing....
    I have more ideas now on how best and quick to do the job....
    Picture ready is over budget I am afraid....
    Thanks again...
    Steph

  • Audio Tracks and Video Out of Sync!!

    I am having a problem with not only the video and audio being out of sync, but the audio tracks, left and right, are out of sync with each other. I know it isn't the camera or tape because I watch the footage while it's capturing and it is fine, plus it happens all the time, with different tapes and different cameras. What would cause this and how do I fix it? Also, how do I set my preferences to automatically start the camera when I click capture? I have it set on my iMac but I can't find it on my G5.

    I am having a problem with not only the video and audio being out of sync, but the audio tracks, left and right, are out of sync with each other. I know it isn't the camera or tape because I watch the footage while it's capturing and it is fine, plus it happens all the time, with different tapes and different cameras. What would cause this and how do I fix it? Also, how do I set my preferences to automatically start the camera when I click capture? I have it set on my iMac but I can't find it on my G5.

  • Audio Capture and Play - Problem. can u help?

    hello all
    currently i am working in a project for which i need to capture sound and play that using headphone. for this i have implemented two classes those r CaptureSound.java and PlaySound.java. most of the cases these classes r working fine but some time these do not work perfectly. when i capture i think the recording part works fine but when i am going to play that recorded file then its playing some noisy sound though this sound file is playing perfectly if i use any audio player and i have seen that the file properties r same as which is playing with my PlaySound.java. i have tried to find - what is wrong but i can't
    any one can help me for this problem?
    the classes r :
    import java.io.*;
    import javax.sound.sampled.*;
    import javax.sound.sampled.Port.*;
    public class CaptureSound {
         private AudioFormat audioFormat;
    private TargetDataLine targetDataLine;
    AudioFormat recordingFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 11025.0F, 16, 2, 4, 11025.0F, false);
         public CaptureSound(String filePath) {
              AudioFileFormat.Type fileType = null;
              File audioFile = null;
              fileType = AudioFileFormat.Type.WAVE;
              File createDirectory = new File("C:\\Capture\\test");
              if(!createDirectory.exists()) {
                   createDirectory.mkdirs();
              audioFile = new File(createDirectory + "\\1.wav");
              try {
                   audioFormat = recordingFormat;
              DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.class, audioFormat);
              targetDataLine = (TargetDataLine) AudioSystem.getLine(dataLineInfo);
              targetDataLine.open(audioFormat);
              targetDataLine.start();
              AudioSystem.write(new AudioInputStream(targetDataLine), fileType, audioFile);
              } catch (Exception e) {
              e.printStackTrace();
              System.out.println("File Not Found");
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import javax.sound.sampled.*;
    import java.net.URL;
    import java.awt.*;
    import java.net.URLConnection;
    public class PlaySound {
    private SourceDataLine sourcedataline;
    private AudioInputStream ais = null;
    private AudioFormat audioformat = null;
    private FloatControl gainControl;
    private InputStream inputStream = null;
    private boolean isPlayEnd = false;
         public PlaySound(String sourceFile) {
              try {
                   ais = AudioSystem.getAudioInputStream(new File("C:\\Capture\\test\1.wav"));
                   audioformat = getAudioFormat(ais);
         DataLine.Info datalineinfo = new DataLine.Info(SourceDataLine.class,audioformat);
              if (AudioSystem.isLineSupported(datalineinfo)) {
         sourcedataline = (SourceDataLine) AudioSystem.getLine(datalineinfo);
              sourcedataline.open(audioformat);
              //Copy data from the input stream to the output data line
              int framesizeinbytes = audioformat.getFrameSize();
              int bufferlengthinframes = sourcedataline.getBufferSize() / 8;
              int bufferlengthinbytes = bufferlengthinframes *framesizeinbytes;
              byte[] sounddata = new byte[bufferlengthinbytes];
              int numberofbytesread = 0;
              while ( (numberofbytesread = ais.read(sounddata, 0, sounddata.length)) != -1) {
                   if (!sourcedataline.isRunning()) {
                        sourcedataline.start();
              sourcedataline.write(sounddata, 0, numberofbytesread);
              isPlayEnd = false;
              isPlayEnd = true;
              } catch (LineUnavailableException lue) {
              } catch (IOException ioe) {
              } catch (NullPointerException npe) {
              } catch (ArrayIndexOutOfBoundsException npe) {
    } catch (UnsupportedAudioFileException use) {
         private AudioFormat getAudioFormat(AudioInputStream ais) throws
              UnsupportedAudioFileException, IOException {
         AudioFormat audioFormat = null;
         try {
              audioFormat = ais.getFormat();
         AudioFormat newformat = new AudioFormat(
         AudioFormat.Encoding.PCM_SIGNED,
         audioFormat.getSampleRate(),
         16, //audioFormat.getSampleSizeInBits()
         audioFormat.getChannels(),
         audioFormat.getChannels() * 2,
         audioFormat.getSampleRate(),
         false);
         AudioInputStream newStream = AudioSystem.getAudioInputStream(
              newformat, ais);
         audioFormat = newformat;
         ais = newStream;
              } catch (Exception e) {
              System.err.println("Exception: " + e.getMessage());
         return audioFormat;
    ///////////////////////////////////////////////////////////////////////////////////////////////////

    hello all
    i have captured sound with the format : AudioFormat recordingFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 11025.0F, 16, 2, 4, 11025.0F, false); now i want to play this file. for that i have created AudioInputStream and then i have created AudioFormat like:
    AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(new File("C://Capture//test.wav"));
    AudioFormat audioFormat = audioInputStream.getFormat();after this i have got the format like :
    bigEndian: boolean = true
    channels: int = 1
    frameRate: float = -1.0
    frameSize: int = -1
    sampleRate: float = 48000.0
    sampleSizeInBits: int = -1
    here i have found different file format and it can't play. why this is happening? can any one help for this?
    thanks
    bashar

  • Multitrack live audio capture

    have a program coming up where I need to record 8 discreet tracks silmultaneously. I'll be using a prosonus firepod firewire A/D. which ap would be the best? FCP, Garage Band, or Soundtrack Pro. I'll be capturing and multiclipping video from several cams later so ultimately everything will need to go to FCP. How about 16 tracks? Has anyone ever pulled that off? There will be no video capture while capturing the audio. --Wayne

    I'd use the Cubase that came with the Firepod.
    Or look into the Alesis HDR24. That's what I use for multitrack location audio. I've never had it crash. It's rock solid. Software can crash and you can lose everything. I'm sure the Alesis could crash, but I've never seen it.

  • Audio capture and converting the audio data to .wav file

    hi,
    i am new to applet and javax.sound and trying to build online recorder SDK in applet. I could captured the audio data and play the sound from microphone and also store the audio data to .wav file successfully. But when try to play that file from Window Media Player, i got the message "Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play." I have tried it all in different way but it's not working for last 5-6 days. Is there anyone who could help me , my work is stocked b'coz of this.
    Thanks

    this is the thread in which i am storing the audio data from audio stream to .wav file
    class CaptureThread extends Thread{
                          public void run(){
                                      AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
                                      File audioFile = new File("junk.wav");
                                       try{
                                       final AudioFormat format = getFormat();
                                             line.open(format);
                                          line.start();
                                             AudioSystem.write(
                                              new AudioInputStream(line),
                                              fileType,audioFile);
                                        }catch (Exception e){
                                             e.printStackTrace();
                                          }//end catch
                                     }//end run
                        }//end inner class CaptureThread

  • Can I enable both a bluetooth audio device and digital-out port at the same time?

    Hi!  I just got a bluetooth speaker and want to use it at the same time as my audio-out port which drives speakers in another room.  In preferences, the iMac wants me to choose one or the other...  Is there a way to enable both at once?
    Thanks!

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • Can we capture and filter out wavelengths with the camera?

    Hi,
    I don't know if somebody can answer this, but is there a method to filter out wavelengths using the lumia camera and capture them? This capability could be applied in the field of biophotonics. So e.g. you make an app that sets the camera to only capture
    light that reaches it in the wavelength range of 750 - 1400 nanometer.
    The applications of this would be e.g. making an app that displays the body's veins on the screen (similar to devices like the VeinViewer), or an app that estimates the approximate surface temperature of a given hot surface (organic or inorganic). Other
    biophotonic applications can be investigated too.
    So far I've only taken a brief look at the Lumia Imaging SDK. At a glance, it doesn't seem to offer this capability.

    Thanks for the answer.
    Is it theoretically speaking possible to have the capability to filter by wavelength? Something like an API that is added by Microsoft? If so then I'll consider adding a feature request to the
    dev feedback. If not then there's no point in the request in the first place. I think it would be an excellent way of extending the phone's capabilities beyond what we can currently do with them. In the same vein as the
    Ultrascope.

  • In Premiere Pro 2014 imported audio skips and is out of sync - version 7.2.2 was ok

    I have been importing AVCHD Content in to Premiere Pro 7.2.2 with no issues.  Now that I have upgraded to Premiere Pro 2014, importing that same AVCHD footage causes the audio to skip and finish before the video causing it to be out of sync.  I compared preferences between the 2 versions and all settings seem to be the same.  This is something clearly different between these two versions of Premiere Pro.  Anyone else have this issue?

    Here is some additional info:
    AMD Radeon HD 6770M:
      Chipset Model: AMD Radeon HD 6770M
      Type: GPU
      Bus: PCIe
      PCIe Lane Width: x16
      VRAM (Total): 512 MB
      Vendor: ATI (0x1002)
      Device ID: 0x6740
      Revision ID: 0x0000
      ROM Revision: 113-C0170F-175
      EFI Driver Version: 01.00.560
      Displays:
    iMac:
      Display Type: LCD
      Resolution: 2560 x 1440
      Pixel Depth: 32-Bit Color (ARGB8888)
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Built-In: Yes
      Connection Type: DisplayPort

  • Live audio capturing question

    We're using Reflectmedia and a Ultimatte DV. Since the ultimatte DV only captures either S-Video and output Firewire, we have no audio. Therefore, when the receiver of the wireless mic is connected to Digidesign M Box 2, I can hear it on the speaker. However, I can’t seem to log and capture the audio in on Final Cut Pro HD. Is there a way to log and capture the audio using a wireless mic?
    I setup the Capture setting to use the MBox2 instead of the internal audi, or DV Firewire.
    FCP sees the DigiDesign interface in the capture setting. I think that DigiDesign limits the abliliy to record from FCP. However, if FCP is actually recongnizing the interface, why couldn't I use it to capture audio from usb (MBOX2)while video from another firewire source, Ultimatte DV.
    The problem here is, I'm attempting to "Log and Capture" the Ultimatte DV (whick only processes video and not audio), through firewire while I capture audio through another source.
    Thanks for all your effort
    I'm using:
    MAC OS X G5, Version 10.4.8, Processor 4 X 2.5 GHz, Power PC G5, Memory 2GB DDR2. 5DRAM, MAC HD
    FCP 5.0.4
    ProTools LE 6.8.1
    DigiDesign MBox2
    Mic, Sennheiser Sk 100 G2
    receiver Sennheiser Ew 100 G2

    c3lolle wrote:
    It would be very nice if you people could share some thoughts on a little problem I have.Sure thing.
    I'm gonna try and capture audio from a flash-application (www.delorean.se/mixer) and convert it to a .mp3-file.
    I browsed the web for a few days for a solution and first thought of using The Java Soun API but later read that it doesn't convert to .mp3 :(
    I managed to read and create .wav files with it and it wasn't too difficult at all so it was kind of sad that there's no .mp3 support
    Then I found JMF and saw that it has a mp3 converter plug-in :)Technically, no. JMF has an MP3 plugin that allows JMF to play MP3s, but the plugin does not allow you to create MP3s. Actually, the same plugin allows JavaSound to play MP3s too..
    [http://java.sun.com/javase/technologies/desktop/media/jmf/mp3/download.html]
    Would the JMF be a good tool to use for my problem?No, because you cannot encode MP3s. Only decode them...
    Does it work like Java Sound API?Not at all.
    Does anyone have any general tips when it comes to capture audio from the web using java? (It feels like I've looked over the whole web and I didn't find anyone trying to do the same thing or someone who has done anything similar in the past)Capturing audio is easy. JavaSound + applet...but if you need to store it as an MP3, you're probably going to want to build an Adobe Flex application.
    Adobe Flex is their free API you can use to build Flash applications. Google it.
    I would be so very happy if I could get some answers on these questions! Be happy. :-)

  • Audio glitches and drops out when using varispeed

    So I have a very complex drum part to record and need to drop the tempo about 10% to get it right.
    My problem is that I can only get reliable audio when I use varispeed for playback (and even then, there are noticeable "flakey" artifacts);  If I try recording anything, I get glitching and after about 3 seconds all audio drops-out.
    I tried varying i/o buffer, processing threads and process buffer range, also muting/unmuting the 14 tracks I'm trying to record but nothing seems to solve it.
    Anyone have any advice?
    Thanks,
    Chuck

    It's not a mac/tv problem, it is a network problem.
    Power cycling is simply unplugging the device from power and plugging it back in.  A restart is not sufficient, in most cases, to reset the network connection.

  • Cnr audio card and tv out card

    I have a new tv out card and cnr card for the k7n420 and im looking to sell them together. If anyone is interested please email at [email protected] Im looking to get $45usd including shipping. (usa only) There brand new and never used.

    hikerkev,
    1) The price is a little high.
    2) I do not want this forum to become a market. (I do not mind members helping other members out.)
    Richard

  • Inserting audio track and timing out a presentation

    Good afternoon
    I'm having problems with inserting a audio clip so that I rehearse the timings. I want to be able to press start when I'm on site and have the show run for itself.
    Thank you in advance for your help.

    Under the Play Menu, Record Slideshow. Then when you start the slideshow after that it will use the recorded timing.

Maybe you are looking for