Sending voice over UDP with JavaSound

Hello,
do anybody know how to send voice over UDP?. I have .wav files and I want to send them over UDP. If you have an example of this, send me it please. All the examples that I have seen only send one or to lines of text, but I need to know if I should convert the frames to bytes to be sent.
Thank your help

Hello,
do anybody know how to send voice over UDP?. I have .wav files and I want to send them over UDP. If you have an example of this, send me it please. All the examples that I have seen only send one or to lines of text, but I need to know if I should convert the frames to bytes to be sent.
Thank your help

Similar Messages

  • Voice over Wireless with Cisco phones 7921 and 7925

    Hello experts,
    I made an wireless audit for a company.
    They have 2 WLCs 5508 in HA mode, with APs 2602 for indoor and 1552. Version of the WLC : 7.6.120.0
    At the end of the day we noticed that the roaming between indoor and outdoor access points is sometimes failing and results to a complete disconnection of the wireless phone (7921 or 7925) from the network. When people go from the indoor to the outdoor area, there is no problem. The problem comes when people are coming from the outdoor to the indoor.
    Also, on the WLC, the power lvl of the outdoor APs are set to 1 ... Is it good or not ?
    My question is, is there any known issue about Voice over wireless with WLC 5508-7.6.120.0 with APs 2602 and 1552 ?
    Maybe it should be better to upgrade to 7.6.130.0 ?
    Thanks in advance,
    Alexis

    Normally yes.
    Is there a way to troubleshoot what's going on with the phones ? Maybe a "show client detail MAC address* on the WLC ?
    Here are some logs when the phones are losing the network :
    *Dot1x_NW_MsgTask_4: Apr 09 12:44:21.320: #DOT1X-3-INVALID_WPA_KEY_MSG_STATE: 1x_eapkey.c:957 Received invalid EAPOL-key M2 msg in START  state - invalid secure bit; KeyLen 40, Key type 1, client 00:24:d7:83:56:dc
    *apfMsConnTask_6: Apr 09 12:28:32.668: #APF-3-VALIDATE_CCKM_REASS_REQ_ELEMENT: apf_utils.c:2506 Could not validate the CCKM Reassociation request element.Received Timestamp deviation > 1sec in CCKM Info Element from mobile. Mobile:4c:00:82:85:6e:e1,  AP:1
    *Dot1x_NW_MsgTask_1: Apr 09 12:26:53.964: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 74:26:ac:63:8c:a9 - got 00 00 00 00 00 00 00 03, expected 00 00 00 00 00 00 00 04
    *Dot1x_NW_MsgTask_1: Apr 09 12:26:53.929: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 74:26:ac:63:8c:a9 - got 00 00 00 00 00 00 00 02, expected 00 00 00 00 00 00 00 04
    *apfMsConnTask_4: Apr 09 12:24:34.959: #APF-3-VALIDATE_CCKM_REASS_REQ_ELEMENT: apf_utils.c:2506 Could not validate the CCKM Reassociation request element.Received Timestamp deviation > 1sec in CCKM Info Element from mobile. Mobile:78:da:6e:f6:5f:89,  AP:5
    *Dot1x_NW_MsgTask_0: Apr 09 12:22:30.217: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 4c:00:82:85:1d:68 - got 00 00 00 00 00 00 00 03, expected 00 00 00 00 00 00 00 04
    *Dot1x_NW_MsgTask_4: Apr 09 12:22:30.206: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 4c:00:82:85:b3:ac - got 00 00 00 00 00 00 00 03, expected 00 00 00 00 00 00 00 04
    *Dot1x_NW_MsgTask_4: Apr 09 12:22:30.186: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 4c:00:82:85:b3:ac - got 00 00 00 00 00 00 00 02, expected 00 00 00 00 00 00 00 04
    *Dot1x_NW_MsgTask_0: Apr 09 12:22:30.167: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 4c:00:82:85:1d:68 - got 00 00 00 00 00 00 00 02, expected 00 00 00 00 00 00 00 04
    *Dot1x_NW_MsgTask_6: Apr 09 12:22:29.672: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 78:da:6e:f6:14:2e - got 00 00 00 00 00 00 00 03, expected 00 00 00 00 00 00 00 04
    *Dot1x_NW_MsgTask_6: Apr 09 12:22:29.638: #DOT1X-3-INVALID_REPLAY_CTR: 1x_eapkey.c:445 Invalid replay counter from client 78:da:6e:f6:14:2e - got 00 00 00 00 00 00 00 02, expected 00 00 00 00 00 00 00 04
    *apfMsConnTask_3: Apr 09 12:19:22.098: #APF-3-VALIDATE_CCKM_REASS_REQ_ELEMENT: apf_utils.c:2506 Could not validate the CCKM Reassociation request element.Received Timestamp deviation > 1sec in CCKM Info Element from mobile. Mobile:4c:00:82:85:6e:e1,  AP:5
    *osapiBsnTimer: Apr 09 12:13:36.031: #LOG-3-Q_IND: spam_lrad.c:53542 The system is unable to find WLAN 2 to be deleted

  • VOICE over UDP need some help here

    I have attached a vi i have been working on and i am having a litte trouble.  I want to do somethink like voice over ip.  Currently i have a setup that broadcasts the data to a client.  The mic is sent over udp to the clients speakers and vice versa. I ingore anything that comes from one's one ip address.  This works just great,  but the problem is i need more than 2 on at a time.  I dont want to mess with entering specific ip address ect. At most i only want to have to enter ones own ip address as i have in the example.  
    When i start running 3 of these vi's on separate machines, i can probe the address which the data is being received, and it seems to only get data from one address, not two like i would expect.  Is there a buffer being cleared when read or something?   Any help would be appreciated.
    Thanks
    Dave
    Attachments:
    UDPVOICE.vi ‏70 KB

    Here is how I have dealt with the port problem in the past (albeit, not
    in labview, but lets hope LabView's usage of UDP is consistent with
    other programming languages ) is you always have clients connect to
    a listen port on the server.  You will have a thread watching for
    incoming connections on that port.  When one is detected, you
    create a new "personalized" connection for that client to use to
    communicate with the server.  Part of this process involves
    assigning that conenction a new port.  This assignment is
    dynamic--the server just assigns some random available port (so in
    other words, you don't have to hard code one in).
    So once a client connects, the server responds from the new port, the
    client receives that datagram and checks where it came from (address
    and port) and sends all future messages to that port on the server.
    Does this make sense?  I'm afraid I won't be much help with
    anything aside from theory as I haven't actually played with the
    network functionality in labview--all my network programming comes from
    C and Java. 
    As to combining the sounds, I'm afraid I don't know.  I think the
    simplest system would be a half-duplex system whereby clients can only
    send data when they are not receiving it (or rather, 1 person talks at
    a time).  I can understand how this isn't ideal.  I wonder
    how this is accomplished in other, similar voice-chat programs?
    One final thought: I'm not sure, but I'd be willing to make a wild stab
    in the dark and say you might run into bandwidth problems if you're
    transmitting an unencoded (uncompressed) voice signal.  This is
    undoubtably more complex than you want to get, but you might look
    around for ways to reduce the amount of bandwidth you're going to
    use.  And if you'd like examples of programs that will allow this
    kind of chat go check out Teamspeak (http://www.teamspeak.org/) or
    Skype (http://www.skype.com/).  Both these programs allow
    multiuser voice chat (teamspeak is intended for chatting with your team
    in video games).  Skype is a very professional, very high quality
    voice chat program that works more or less the same, with higher
    quality voice.  Oh and both are free
    --R

  • No Levels in Voice Over Meter with Presonus Firebox Preamp

    I've searched a bit through this forum and it seems this has been a problem in the past for several people. Has anyone figured out why the Presonus Firebox Preamp (using a condenser mic with phantom power)will register sound in Garage Band...Soundtrack Pro...etc, but not in Final Cut Pro 5.
    Final Cut Pro's VO utility identifies the Presonus Firebox, but no sound comes through at all...even if you try to record...say a few lines...and then play it back...still absolutely silent.
    Help!!!
    Mr. Pants

    Check that the sample rate is set the same everywhere:
    Presonus dialog
    Audio MiIDI setup
    Sequence settings
    Audio/Video settings- A/V Devices - Playback Output - Options
    and finally, Toolbench Voice Over dialog.

  • Ipod 4th Gen Shuffle - voice over prob with podcasts

    Hi. I have TWO of these cute little shuffles and I really like them.
    The problem is that each lives with its OWN Mac, each with its own install of itunes on the mac and BOTH OF THEM will refuse to say some of the PODCAST names.
    So for example in the computery voice when I press and hold the voice over button it will say:
    ABOVE AND BEYOND TRANCE AROUND THE WORLD
    then "Podcast 2" instead  of "The Dave Ramsey Pocast
    Then For mac eyes only
    Then "podcast 4" instead of "Tiestos club life".
    It doesn't seem to matter how many podcast episodes are in each major podcast label or whether I have started listening to the podcast or if its "unplayed".
    I have both of the shuffles set to "sync all podcasts" because I only have a few podcasts and there is always room..
    It seems sort of random.
    Any thoughts?

    SOLVED! The person who posted in another  message to voice over not working with all podcasts got it right and it worked
    So you go to   SUMMARY tab when clicking on your ipod , unclick voice over, click APPLY. Then click voice over then click APPLY. Then it all works!
    Re: Voiceover not working with all podcasts 
    May 15, 2011 11:51 PM (in response to jessicafromclitherall)
    sanfranciscotx was the person who gave this anser.
    You need to go to the Shuffle settings page, disable Voiceover, apply settings, the re-enable Voiceover to reset the spoken data.

  • Can I get the voice over Bluetooth with Google Map on WEBOS 2.0 (Palm Pre 2)?

    Hi,
    I just got a Palm Pre 2 with WEBOS 2.0, I am wondering if there is a setup or an application that can provide/enable the GPS voice over bluetooth when using the direction from the Google Map?
    Post relates to: Pre 2 p102una (Rogers)

    Hello Danmtl,
    If what you are referring to is being able to use a Bluetooth headset for Google Maps voice navigation, then you're in for disappointment. Google Maps w/ Navigation is only available for Android devices at this point in time, although there are talks of Google allowing the service to be placed on Windows Phone 7. As for the WebOS lineup, your only options for voice navigation would be either Verizon's VZ Navigator or Spint's Sprint Navigation. Either of those would require that you had purchased the phone specifically from that provider, so no luck for you there.
    Looks like we're all waiting on Google to step in for us at this point in time!

  • Is mac voice over compatilbe with pro tools 10?

    I have a new 17inch macbook pro with Liion, and I just purchased adn installed Avid Pro Tools 10.  I'm wondering if Voice Over is compatible with Pro Tools 10.

    Welcome to Apple Discussions!
    If your Mac shipped with 10.5.2, no.
    If your Mac shipped with an older operating system, it depends.
    According to http://www.digidesign.com/ you need a Mac with Tiger to run Protools LE. Check with them which version of Tiger it will work with.
    Then check this article to see if your Mac can run that version of Tiger:
    http://docs.info.apple.com/article.html?artnum=303315
    http://docs.info.apple.com/article.html?artnum=25517
    If it can't, sell your Mac, and get a used or refurbished one which can.
    Once you know your Mac can run that version of Tiger, if it is an Intel Mac, make sure you have the original Tiger installer which shipped with the Mac, as the retail Tiger installer will not work on the Intel Macs. Once you have discovered which version of Tiger works, backup your data at least twice*:
    http://www.macmaps.com/backup.html
    and Erase and Install Tiger on your Mac. Archive and Installing Tiger over Leopard does not work. Your other option is to get a Firewire external hard drive and install Tiger on that. http://www.macsales.com/ sells such hard drives. You can also partition your existing hard drive to have both Tiger and Leopard on it by erasing it with your Leopard Disk Utility and using its Partition function when booted off the Leopard installer, and selecting Disk Utility from the Utilities menu of the Leopard installer. Restore your documents to your hard drive from the backup when done. Applications may need to be reinstalled after an erase and install using the registration codes of the said applications.
    See my FAQ* here on how to buy used and refurbished Macs:
    http://www.macmaps.com/usedrefurbished.html
    And in the future always check the compatibility of the software you need before upgrading your operating system.
    - * Links to my pages may give me compensation.

  • Sending text over  bluetooth with J2ME

    hello..
    Can you help me about sending text over bluetooth from one phone to another one with help of J2ME?
    If you have code relation with sending text over bluetooth, please sent me.....
    mail: [email protected]
    thanks....

    Thankfully, I don't think that can be done. And I hope it will never will be possible.
    As it is there's more than enough of SMS spam without a methodology that bypasses the operators' charges.
    db

  • Voice over Frame with FXS

    I have two branch routers connected to central site over frame relay network.
    Now i've put fxs cards in all three routers and want voice connectivity among all three routers.
    Basically its like hub and spoke.. one central site connecting on sub-interface to two other sites on frame network.
    What is the best way to configure these three routers ???
    please advice

    Your requirements seem vey simple so my suggestion is to keep the configuration very simple as well. You need a dialplan which allows each site to call the other two sites.
    I would suggest you use voice over ip OVER frame, rather than just voice over frame. There is a little bit more overhead, but ease of troubleshooting and configuration makes it worth it.
    You need two voip dial peers at most to differntiate what destination patterns go to which site and one pots dial peer for each FXS port that you have a phone attached to.
    For QOS, i suggest using frame relay traffic shaping and if necessary LLQ.
    Hope this answers your question.

  • Controlling sending rate over UDP socket

    Hello,
    After some NIO study, i finally managed to send and receive UDP data from a single thread. Here is my code
    so far:
    try {
          DatagramChannel channel = DatagramChannel.open();
          channel.configureBlocking(false);
         channel.socket().bind(localAddress);
          boolean flag = true;
          int LIMIT = 1000;
          Selector selector = Selector.open();
          channel.register(selector, SelectionKey.OP_READ | SelectionKey.OP_WRITE);
          ByteBuffer buffer = ByteBuffer.allocate(4);
          int n = 0;
          int numbersRead = 0;
          while (flag) {
            selector.select();
            Set readyKeys = selector.selectedKeys();
              Iterator iterator = readyKeys.iterator();
              while (iterator.hasNext()) {
                SelectionKey key = (SelectionKey) iterator.next();
                iterator.remove();
                if (key.isReadable()) {
                  buffer.clear();
                  channel.read(buffer);
                  buffer.flip();
                  numbersRead++;
                } else if (key.isWritable()) {
                  n = queue.poll();
                  buffer.clear();
                  buffer.putInt(n);
                  buffer.flip();
                  channel.write(buffer);
                  System.out.println("Wrote: " + n);
                 if (n == LIMIT) {
                    // All packets have been written; switch to read-only mode
                    key.interestOps(SelectionKey.OP_READ);
        }  // end try
        catch (IOException ex) {
          System.err.println(ex);
        }  // end catchThis thread both receives and send integers from/to my UDP echo server. Another thread acts as data generator and add data to ConcurentLinkedQueue. The sending thread poll the data from the queue and sends it.
    Right now, the thread is sending at full speed.
    I would like to know how i can control the sending rate ?
    I would like to be able to specify a given rate like 50 packets per second, 100 packets per seconds...?
    Of course i can always slow down the sending part by adding Thread.sleep(someValue) before or after sending..
    but this way i am not sure what is the real rate achieved.
    any advises would be welcome.
    thanks
    sepi
    Edited by: sepi_seb on Dec 17, 2007 6:50 PM

    hi
    thanks for your reply.
    I have some difficulties calculating the amount of time i need to sleep to achieve a proper sending speed.
    basically it takes 16ms to send 20 requests so 1250req/s. Hoe can i regulate this accurately.
    I added this kind of code in my sending part: Every 50 requests i execute this code.For some reason i get a divided by zero exception at the line marked in bold.
    it happens at the second execution of this code.
         if(count == 50){
                  count = 0;
                  elapsedTime = System.currentTimeMillis() - startTime;
                  System.out.println(elapsedTime);
                  *sendingRate = (50 * 1000) / elapsedTime;*
                  System.out.println("sending at:" + sendingRate + " req/s");
                  if(sendingRate > speed){
                    long diff = sendingRate - speed;
                    long sleepTime = (diff * elapsedTime) / 50;
                    try {
                      Thread.sleep(sleepTime);
                    } catch (InterruptedException e) {
          }any comments are welcome
    thanks
    sebastien

  • I'm trying to trigger voice over audio with markers in a Edge timeline.

    I’m working on 4 instructional videos.
    Audio was not part of the initial plan, but it is now.
    Here’s the current edge video: http://docs.smoke51.com/Social/email/setup/web/
    I’m trying to sync the audio to the sections of the instructional video.
    There are 5 sections in the video; each can be triggered by a click. The play and pause buttons also work.

    on the button element that you use to pause the animation, you can have the audio pause as well.
    you might try something like the following:
    var myaudio = new Audio();
    myaudio.src = 'narration.wav';
    myaudio.pause();
    or with an audio tag such as <audio id="soundfile">, you can use:
    myaudio = $('soundfile');
    myaudio.pause();
    for the timeline, you can use sym.stop();
    that way, when one pauses, the other one does also.
    to autostart, set a trigger at 0ms on your timeline, then in the editor, put:
    var myaudio = new Audio();
    myaudio.src = 'narration.wav';
    myaudio.play();
    hope this helps.

  • Can't send voice over fax modem

    HP Pavilion A6009N with a CTI softdata fax modem installed...
    I have connected the RJ11 connector on the modem card to my home phone line and everything is okay, except...
    I can dial out using built in phone dialer, make connection, I can hear the party on the other end but they can't hear me. I know the microphone works because I tested it on the sound recorder. Any ideas?
    Dave

    Which program are you using to make phone calls?Skype and other apps have audio tuning wizards to check setup of mic.
    Message Edited by CherylG on 09-28-2009 10:44 PM
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Adobe Edge -  How to voice over syncing with time-line animation in adobe edge ?

    Hi ,
    I have created e-learning animation demo in using edge animate tool.
    I want to add voiceover  in this demo & functionality (play/ pause button, sound on/off)
    Regards
    Susanta Kumar Muduli

    This has worked for me inserted into a click event:
    var newSound = new Audio();
            newSound.src = "music.mp3";
            newSound.volume = 0.5;
            newSound.play();
    In a browser I have gotten it to play automatically, but on my  stupidphone I have to click on something.
    from Edge Animate JavaScript Docs - on Help Menu: Look at the example they cite
    bindTimelineAction
    Symbol.bindTimelineAction ( compId, symbolName, timelineName, eventName,actionFunction )
    compId - The composition ID, passed through the project-level closure. For example, "EDGE-519469".
    symbolName - The symbol ID, passed through the symbol closure.
    timelineName - The timeline name.
    eventName - The event. For example, click.
    actionFunction - The JavaScript function that executes when the trigger action fires. For stop, complete, and play events, the action function takes no arguments. For update events, the argument is elapsed. the milliseconds elapsed since the start of the timeline's playing.
    Description: Defines a function that executes when the specified timeline event is triggered.
    Example:
    Symbol.bindTimelineAction(compId, symbolName, "Default Timeline", "play", function(sym, e) {   
    var adobesound=new Audio();   
    adobesound.src="sound/SleepAway.mp3";   
    sym.setVariable("adobesound", adobesound);   
    this.getSymbol("volplus").stop(0);   
    this.getSymbol("volminus").stop(0);   
    adobesound.volume=0.1;    
    $(adobesound).bind("ended",function(){
    adobesound.play();
    Good luck
    Bob

  • Working with voice over and a Blackmagic Multibridge Eclipse

    I cant make the voice over work with my Blackmagic. I've tried with my M-Audio but I get the same result... No audio in voice over. The only way I can record is if I use Soundtrack.
    Can anyone help me?
    Thanks

    so many options here but to start with basics:
    using Firewire:
    mic > XLR cable > XLR mic input of mixer > Firewire out of mixer > Firewire Input of Mac
    using Decklink:
    mic > XLR cable > XLR mic input of mixer > balanced output of mixer > balanced line in of Decklink
    the mixer must have a mic input, which has an internal preamp, a line level input is no use; you need some thing like this ?
    link: [M-Audio front|http://www.m-audio.com/images/global/mediahqpics/FWSolo-frontRGB.jpg]
    link: [M-Audio back|http://www.m-audio.com/images/global/mediahqpics/fwsolo-backrgb.jpg]

  • Screencasting with audio voice over, how?

    I want to use QT to create a screencast tutorial, but need it to record my voice, too. Any way to do that with the free or pro version? (Using OS 10.6)

    Found a post that could help
    Re: Adobe Edge - How to voice over syncing with time-line animation in adobe edge ?
    Thanks,
    Preran

Maybe you are looking for

  • Opening new site in dreamweaver

    I am trying to open a new site in dw but I already have an icon/folder for "desktop" under "Files". How can I delte it and only keep the new site folder? Thanks a lot.

  • Good deal on a Macbook?

    I'm about to switch to a Macbook and was wondering if this was a good deal I have found on Craigslist. Black 2.0GHz 1GB ram 120 gb HD Snow Leopard, iWork, and iLife installed. $650 sound like a good deal to you? I need it for iWork essentially. Thank

  • Cheap and effective fix for scratching DVD/CDs in iMacs

    After looking at the slot on the side of the iMac, I couldn't help but notice how sharp the edges of the sides are. That will cause huge problems for everyone of us at one point or another. After reading a number of complaints surrounding this design

  • 0CostCenter in a structure in a query need text field

    Hi, I am creating a query using a structure so that cost centers can place on the query in a fixed ordered location.  When I pull 0COSTCENTER into a selection and restrict it to the cost center I want, the key and the text have the key value in them.

  • Airport Utility/Airport 6th Generation + Xbox One LIVE

    Here I am going to show how to configure your Airport device in order to use you Xbox One and have the NAT open, so you can have the best connection to your peers and have the advantage over your opponents. 1. Open the Airport Utility app, choose you