Send WAV sound file to Modem

Hi,
After I use JavaComm API to dial to a phone with a common
dialup/Fax Modem, is it possible to output a WAV sound file
to the modem so that the receiver(the one pickup the phone
remotely) can hear the voice?
Best regards,
Eric

Look at the javax.sound.sampled api.
If your modem is capable of sending digital audio it should appear as
one of the available mixers. find the correct mixer and stream your
audio to it.
matfud

Similar Messages

  • How to i send a Sound File that made to itunes

    Hi created a sound file in soundtrack pro 2 and i want to send it to itunes. I created the sound useing my built in microphone on my macbook pro and actually it is lyrics to a song i made anyway i wanna send it to itunes so i can send it to friends ETC. can you help me out here? i pressed the send to itunes button and it isnt working...

    did you not read it? it says the first sentence soundtrack pro 2... so how do i do it? i want to export audio file but cant it wont lemme press the export button under file.. and it doesnt work when i press send to itunes

  • Wav sound file equalizer-​indicator

    Hi all!
    I have a newbie question I'm stucked on a stage of designing a wav sound equalizer.
    The point of my equalizer is to indicate in the form of a equalizer the magnitude of diferent frequency ranges, while you listen to it. The playback sound of the wav file and it's indication of magnitude (equalizers) must be sinhronised. for example: if you hear a bang you must also see it on the indicators at the same time.
    I can't figure out how to setup a loop that would do that.
    Now i get only first set of magnitude.
    Thanks for the help.
    Solved!
    Go to Solution.
    Attachments:
    Equalizer.vi ‏110 KB

    You have use chunks of the wav file in order to do what you want. Go to help in the toolbar. Select Find examples. Search for sound. Then locate the "\Sound File to Sound Output.vi" This will give you an idea on how to do things. Remember to save the example to your personal folder before you do any work on it.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Byte data extraction and interpretation from a WAVE sound file

    Hello,
    I'm trying to extract the signal data from a WAVE-file for further processing. Suppose the WAVE-file is in 16 bit/stereo format - then I get (8 bit) low-byte and (8 bit) high-byte for the left channel first, and then the low- and high-order bytes for the right channel (I hope I've got it right this far).
    Now since I'm interested in doing some frequency analysis on the signal, I need to have the amplitudes for every sample, but since each byte is signed I can't just compose the complete amplitude value from the two bytes for each channel. A simple way to solve this would be (I think) to check if a byte is negative, and if it is, store the absolute value of the byte + 127 in an integer. For example, the byte 11111111 would be interpreted as -128, but taking the absolute value and adding 127 produces 255 which would be the maximum "unsigned" value for an 8 bit binary number.
    This seems like a quite "ugly" solution to me, and I don't really like ugly things. I haven't worked that much with binary math in Java, and my general knowledge on the subject is not very thorough in the first place. I would be very grateful for any suggestions.

    Ok, I went to buy some food and came up with another solution:
    Suppose I have a sample from one of the channels in my byte array "signal" and I want to compose a (signed) total amplitude of the two bytes in the array. Code:
    byte[] signal = ... ; //Get the data
    int amp = 0x0000;
    amp = ((signal[1] & 0xFF) << 8) | (signal[0] & 0xFF);
    Here I assume that the data is aquired in little-endian format. If you have a better solution, please let me know.

  • How read/write matlab style WAV sound file?

    The supplied LabVIEW WAV read/write VIs require fixed sampling rates (like 8000, 11025, 22050, 44100), and use integer data (so the waveforms take on large +/- integer values).
    I need to read/write WAV files that are like those used in Matlab with its wavread and wavwrite functions. Those can use ANY sample rate, and the waveforms have decimal values between -1 and +1.
    Could someone suggest either how to directly write these standard WAV files with an existing VI, or how to write my own VI to do this?
    Thanks in advance.

    That's a great help! Thanks. I have made the changes to the supplied NI VIs so that any rate can be used. The new read/write VIs are attached and seem to work ok.
    Best,
    F
    Attachments:
    Snd_Read_Wave_File.vi ‏128 KB
    Snd_Write_Wave_File.vi ‏110 KB

  • Streaming Sound File Playing Early

    I'm creating a presentation in Flash v8. It's the very same
    presentation I created in v5 last month but now I'm recreating it
    from scratch in v8 and something's happening now that didn't happen
    then.
    It's a simple Flash document with multiple scenes and no
    Actionscript. I'm starting a new .wav sound file (narration) at the
    start of each scene. When I play each scene individually in the
    Flash environment, the sound synchs fine with the events in the
    presentation. But when I run the presentation as a .swf or .exe,
    the sound file on scene 2 begins playing before scene 1 has
    finished playing. The sound file from scene 3 begins playing before
    scene 2 has finished, etc. This didn't happen in the same
    presenation I created in v5. Is there something new that I haven't
    figured out yet?

    Its doing this to me too....
    Same thing - a series of scenes - each with sound streamed on
    its own layer.
    as soon as one sound ends, the next scene's sounds starts -
    The sounds are synched correctly in edit mode - its just when
    I play the SWFs.
    I'm publishing a MENU movie as a projector - this menu calls
    the other SWFs.
    Dave

  • Help on Play Sound File.vi - file format

    Hello,
    My request is quiet simple but I don't understand why it doesn't work.
    I want read a .wav sound file with the Play Sound File vi. But when I run the vi, an error message appears " Cannot recognize sound format"
    I have tried with different .wav sound files but nothing works.
    Do you know why this error happens ?
    Thanks
    Attachments:
    Sound_Labview.png ‏142 KB

    Ok thanks.
    Since the last time I posted I've tried many other wav sounds but nothing works I still had the same Labview error.
    I join you few of my wav files and maybe you can try it.
    Thanks
    Attachments:
    wav.zip ‏160 KB

  • Make sound file from byte array?

    Ok say I have a program that gets a byte array from a sound file and then randomly removes some of the samples from the array, so that instead of having a value the bytes are just zeroes. I then want to play my new byte array. Here is the code I try to use but when I use it nothing happens.
    AudioFormat = ((AudioInputStream) AudioSystem.getAudioInputStream(**The Original Sound File**)).getFormat();
    int numBytesRead = 0;
    DataLine.Info dataLineInfo = new DataLine.Info(SourceDataLine.class, audioFormat);
    SourceDataLine sourceDataLineTemp = (SourceDataLine)AudioSystem.getLine(dataLineInfo);
    sourceDataLineTemp.write(audioArray, 0, audioArray.length);(Try..catch removed for clarity.)
    Also, is it possible to convert a byte array to a .wav sound file?

    Im pretty sure if you just write that byte array to disk and open it as a wav file that will do the trick, because thats all a wav file is anyways, a stream of bytes representing audio

  • Java send WAV file thorugh modem to phone

    I am currently using Java communication API to configure a modem to send a WAV file to a phone. Once the user answer the phone, he/she will hear the WAV file.
    I am using AT command. I got the "CONNECT" from the modem. I am ready to send the WAV file. But how to format the file ?
    I directly send the file by write(), but I cannot hear the voice ...
    How to do ?
    Thanks !

    Hi everybody,
    I am also working on modems and trying to send wav files to phone over modem. As far as I know, the code should be something like :
    send("AT#CLS=8");     expect("OK"); //voice initialize
    send("AT#VLS=0"); expect("VCON"); //use phone line
    send("at#vsm=128,8000"); expect("OK"); // I think this command about sound file format
    send("AT#VTX");     expect("CONNECT"); //voice transmit
    /* send a small music file here */
    expect(" VCON");
    And most of sites that I searched says that the music file must have those properties: "PCM 8000Hz Mono 128kbps" ... Eventhough I have been tried on this task for many months, I have not succeeded in, yet :(
    If you have any idea about solution and if you can help, this will really be helpful :) Thanks!

  • How do I convert a Simple Sound file to a .WAV file?

    Since I have a Mac Mini (w/Intel CPU) I don't have a built-in microphone.
    I do, however, have an OS 9.1 Wall Street Powerbook with a built-in mike.
    I'd like to send voicemail to friends who use Windows XP
    I used Simple Sound to record a message on the Powerbook and e-mailed
    it to myself. Now what? IMovieHD will apparently (according to Pogue) convert the sound portion of a movie to .WAV but when I open a New Project in IMovieHD my sound file is ghosted.
    Is there an app in Tiger that will convert the sound (voice) file? Or perhaps some freeware app out there?

    Hi, gwgoldb.
    USB microphones are very inexpensive. I'd suggest getting one of those and simply doing the recording on your new Mac Mini.
    For recording:
    • You could use the previously-suggested freeware Audacity to record and save the recording as .wav. Note Audacity isn't a Universal Binary at this time, so it would run under Rosetta.
    •  Use QuickTime Pro for recording and converting (export) the recording to .wav. Some people balk at paying US$ 29.99 for a QuickTime Pro key, but I find it does a nice job in basic recording, converting audio/video, and basic A/V editing, all with the simplicity of the QuickTime interface.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Send wav files over a network

    Hi folks,
    I need to send sound files over a network. The files I'm wanting to send are wav files. I kinda have the mechanism that sends a file, but I am not sure how to convert wav files into something that I can easily send. Do I need to convert them into bytes, serialize them...etc I don't know.
    Can anyone please point me in the right direction? An example would be very much appreciated.
    Thank you,
    E

    hi
    this is very simple
    convert voice to bytearray
    just create one server socket and client socket then connect a sockets and transmit
    download sample from
    http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html

  • How do you open/play a .wav file (music file) without play sound file .vi

    I am having big problems to create a music background for my project. I am newbie using labview and maybe my questions is not so dificult to solve (I hope so)
    I was using play sound file vi but the problem is that I dont want the music file start automatically. I wanna control the start time using a button. I tried include a sound output stop but when the app start and I add more wav files in my vi, the sound file start, then stop abruptally because the stop vi and the everything is normal. I would like to eliminate that error.
    Someone have any idea, maybe using open file or another way. 
    Thanks in advance
    I add a screenshot of my vi and also the vi in this post
    Attachments:
    test sound.vi ‏11 KB

    I leave an example that can provide, use it in your program
    Atom
    Certified LabVIEW Associate Developer
    Attachments:
    playsound.zip ‏58 KB

  • How do I enable all sound files wav,MP3 on windows 7 64-bit change system sounds

    How do I enable all sound files wav,MP3 on windows 7 64-bit change system sounds it will only give me the option to choose wav?

    Windows 7 uses .wav (wave) files for the sound events. The default folder that Windows 7 uses to store the sound files in is located at C:\Windows\Media.
    You cannot use a MP3 file but there are lots of (WAV to MP3 converters) available on internet which can help you to convert MP3 to wav  serving your purpose of changing system sound. 
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Can you record sound using a USB 6211 and convert the data to a .wav (or other sound) file?

    Hello,
    I am trying to build a system that will use a USB 6211 to record sounds from multiple electret microphones and then save the data as a .wav file or other sound file.  I have already built my mics and hooked the mics up to the USB 6211; the DAQ device seems to do an adequate job recording the signal - I've recorded from 3 mics at a time at 11,025 Hz, although I don't know how good the signals are since I can't save them for playback after the fact, and they aren't going through my sound card. Ultimately, I would like to save the data as a multichannel audio file which I could then open in a program such as Audacity for further editing and analysis. Since Audacity can import a variety of sound files, my file format doesn't need to be .wav if another format would work better.
    Any advice would be appreciated.
    Thanks, Eric

    If you are sampling all three simultaneously, your highest frequency recordable will be (11,025/2)/3, so about 1800Hz and that will pretty coarse (traditionally digital sound recording is at 44Ks/s at the low end). As to converting to a .wav, there are functions on the "Graphics and Sound" palette for saving waveforms to a .wav file.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How do I record a sound file and send it as an attachment using my 4s?

    How do I record a sound file and send it as an attachment using my 4s?

    Hi,
    The following is the program[Click Here| http://saptechnical .com/Tips/ABAP/email/EmailProgram.txt] which will send any format file. Actual Creator of the program is Amit Bisht.
    Thanks & Regards,
    Rock.

Maybe you are looking for

  • SQL Developer installation

    Is there any problem to install SQL Developer (required JAVA 1.5) on top of an existing Oracle server 10g with JAVA 1.4.2?

  • Best way of using includes

    Hi there, I have a question about the use of includes. Every time I use them I get some sort of erros and I always spend way to much time trying to nest things up. I usually have one include for the connection, one for the menu and a few more. As you

  • E-mail counter for POP3 account has gone negative

    When all e-mails are read the e-mail counter shows "-1/0".  Anyone else have this problem?  Is there a fix?

  • Reporting Server

    hi all, can i implement database reporting server on test environment version? etc help me thanks

  • Audit File

    Is there a way to receive a audit report from Tidal that will show when a job started. Example: Audit report would show the following statues. Waiting on Resources - Job launched - Active - Job Completed Normally.