Live5.1: Is surround or 4 speakers from line-in VCR poss., surround ev

I have finally got two pairs of powered speakers to plug into my Li've5. X-Gamer boxed card I got a few years back. When I play mp3s or CDs music from the pc CD player both the line out and rear outs play, both the same stereo i guess, when I turn both pairs on. I don't know whethere or not it has mattered what Sounds, settings in Windows XP I have as speakers type set to in Control Panel. I have NO creative software installed. Just what windows update gave me when it recognized my card. I am using WMP9. My CD player is a Pioneer DVD-6 non-tray (so it has no digital output), but I do have the CD audio line connected to the Li've 5. card, as well as the pci slot. I have never tried a surround DVD movie so I don't know if 4 speakers is giving me surround or not. I have a cheesy DVD or two, and I am getting sound from 4 speakers, but I'm not sure if it is in "simulated surround" or dolby surround (or a simulated 4 speaker version of dolby surround).
There is a line-in on the back of the sound card, and I have JUST plugged in a hi-fi VCR. With both pairs of speakers on, I get no rear sound channel. Therefore, definetly no 5.:
Questions
: Is it possible to get rear channels as well from line in (dual stereo) as above from line-in?
2: Is it possible to get a surround-loaded stereo signal from line-in (VCR) decoded into both the line outs and rear outs, as either Dolby SURROUND , or simulated SURROUND?
3: Is it possible to create Surround effect out of mp3s or pc CD music in 4 speakers?
4: Do I need to install the creative software?

I have finally got two pairs of powered speakers to plug into my Li've5. X-Gamer boxed card I got a few years back. When I play mp3s or CDs music from the pc CD player both the line out and rear outs play, both the same stereo i guess, when I turn both pairs on. I don't know whethere or not it has mattered what Sounds, settings in Windows XP I have as speakers type set to in Control Panel. I have NO creative software installed. Just what windows update gave me when it recognized my card. I am using WMP9. My CD player is a Pioneer DVD-6 non-tray (so it has no digital output), but I do have the CD audio line connected to the Li've 5. card, as well as the pci slot. I have never tried a surround DVD movie so I don't know if 4 speakers is giving me surround or not. I have a cheesy DVD or two, and I am getting sound from 4 speakers, but I'm not sure if it is in "simulated surround" or dolby surround (or a simulated 4 speaker version of dolby surround).
There is a line-in on the back of the sound card, and I have JUST plugged in a hi-fi VCR. With both pairs of speakers on, I get no rear sound channel. Therefore, definetly no 5.:
Questions
: Is it possible to get rear channels as well from line in (dual stereo) as above from line-in?
2: Is it possible to get a surround-loaded stereo signal from line-in (VCR) decoded into both the line outs and rear outs, as either Dolby SURROUND , or simulated SURROUND?
3: Is it possible to create Surround effect out of mp3s or pc CD music in 4 speakers?
4: Do I need to install the creative software?

Similar Messages

  • Airplay speakers from ATV2/3

    In the settings-->Airplay section, it is possible to send audio to airplay speakers from apple tv. Example to another airport express or something. Does anyone know if this feature is restricted to audio from music only. When I play a movie, the audio comes from apple tv rather than the airplay speakers.
    Thanks.

    Just audio from music, it seems.

  • I have the plexiglass speakers from my old iMac can i use them on other devices?

    I have a pair of plexiglass speakers from my redundent iMac, having cleaned them up I would wish to reuse them, 2.5 jack -3.5mm jack not easy to find but not impossable however are there any other problems?

    I do not think an adapter wiil work with those older round, plexiglass Apple speakers.
    If they did, many Apple users (myself included) would've kept using these speakers on newer Macs.
    It is not just the diameter of the jack on those speakers that is the issue, it's the actual length of the jack that is the real issue.
    The length of the jack is very short and, as usual for Apple at that time, a non-standard length.
    That is the real problem. Apple made sure these speakers only worked with Apple computers of the day.
    They were designed to be proprietary and you could not use these speakers with anything else, but specific Apple computers.
    And why no Apple user who has these speakers have not been able to use these on later Mac models.
    They were specifically design to use with the G4 iMac and other G4 models of the time.
    These speakers work with my 2003 G4 tower, but can't use with my much newer 2009 iMac.

  • Sys update removed built-in speakers from output options

    Hello All:
    Can anyone help me get my sound working again? Can someone tell Apple they shouldn't have fired everyone who checks that their updates don't screw up machines in other ways?
    Problem: No sound after installing updates. Built-in speakers have been removed from sound output preferences dialog.
    System: 10.4.11
    Hdwr: MacbookPro 2.16 GHz Intel Core 2 Duo
    Details:
    Yesterday I installed two updates:
    2009-05-24 13:06:57 -0700: Installed "Security Update 2009-002 (Intel)" (1.0)
    2009-06-08 00:56:54 -0700: Installed "Safari" (3.2.3)
    After, no sound comes out of my built-in speakers. Machine has been re-booted, sound control panel checked many tiems, etc. The only options in the sound pane>output are :
    digital out Port=Built-in Output
    soundflower (2ch)
    soundflower (16ch)
    All options say, "Settings for this selected device: The selected device has no output controls".
    So, the built-in speakers have been zorched somehow.
    Apple help doesn't say much other than make sure nothing plugged into headphone jack (there isn't).
    I now cannot participate in any of my scheduled skype conferences ---crap crap crap.
    The last security update caused deletions of libraries for x11 on my G5 10.3 machine, now this one has killed my sound on my other machine. Fixing the aftermath of these updates have really become a time-sink. I wish someone would tell Apple to take a little more care with testing these updates.
    Apple engineers, are you listening?
    Thanks,
    -Bruce

    Sorry, I just got a fix for my own question: "sys update removed built-in speakers from output options"
    This was provided by www.mac-forums.com. Apparently, this was a ???coincidence??? and a hardware problem, not a software problem(!).
    BTW I didn't resort to WD-40, I just plugged in a sound cable repeatedly.
    Thank you all for putting up with me, and I do apologize to apple for dis-ing their testing this time (but not last time when they zorched my x11 libraries!)
    -Bruce
    ===========Fix from http://www.mac-forums.com/forums/apple-notebooks/88527-no-output-devices-found-n o-sound.html
    Macriot has the solution:
    macriot - Apple Hardware | The Fix For No Sound From Your MacBook Pro or iPhone
    Contributed by "Mac":
    <quote>
    For MacBook Pro owners this is commonly characterised by:
    * the internal speakers still chime when your Mac is powered on
    * a 'no parking' like symbol appearing below the sound icon whenever you attempt to manipulate the volume on your Mac
    * the red light that continues to emanate from the audio output port
    * only "Digital audio out" as the only output source displayed in the Sound pane of the System Preferences.
    If you have these symptoms, we recommend a very gentle and minute tinkle of WD-40 into the audio output jack, followed by gently inserting and removing the audio input jack a few times. At least until the sound is returned to normal and red light ceases to glow from the audio output jack.
    Remember, we said "tinkle" not spraying into the jack like there's no tomorrow...
    Following the steps above will give you a good chance of restoring your internal audio.
    </quote>
    This worked for me; doubtless, there had been dust or smear or something else polluting the macintosh perfection. Everything else people are doing is incidental and only coincidentally will have effect. Sorry, but this is a mechanical issue, not a software one.

  • Have installed Airport express using windows vista, unit blinks green, selected the speakers from itunes but get no sound at all, even if I put a headphone in the airport express. Pls advise

    Have installed Airport express using windows vista, unit blinks green, selected the speakers from itunes but get no sound at all, even if I put a headphone in the airport express. Pls advise

    If the AX is working properly, it should not show up in your list of available networks (since it is "joined" to your router). Have you unplugged and replugged your AX? Unplugged and, after a minute, replugged your router? Do you have MAC address filtering enabled on your router? (if so, disable it to see if the AX works ... it will broadcast its MAC address to the router, and you can add it.) Is your firewall turned on? Turn it off and see if you can access Airtunes. You will have to open a port in your firewall if that is the case.
    The AX should have the same network name as your router the wireless tab. When it shows up, what name is it broadcasting?

  • My speakers from my iPhone 4S is not working I'm clicking on the buttons on the side nd the volume is not even showing getting louder or lower but when I plug in my ear phones I can hear it juss happen out of no where what sould I do ?

    My speakers from my iPhone 4S is not working I'm clicking on the buttons on the side nd the volume is not even showing getting louder or lower but when I plug in my ear phones I can hear it juss happen out of no where what sould I do ?

    Your iPhone charging port may have a minor short, causing iPhone to falsely sense it is connected to a dock turning off its speaker. Clean iPhone charging port with a clean dry toothbrush.

  • Can't connect to airplay speakers from iTunes

    I suddenly can't connect to airplay speakers from iTunes on my new Macbook Pro - they are visible but cannot be selected. I can connect to them from other Macs and iPads. Can anyone help, pls? I have set the whole network up several times, rebooted system ie.

    I had this happen to me on the odd occasion but now have it sorted. If I'm going to use my Airport Epress(s) I first make sure that my PC is connecting to the AE before I even turn on iTunes.
    A problem I was having was that my PC was connecting to my wireless router by default (specifically when my laptop was turned off) and not to the AE. As a consequence when iTunes started it greyed out the remote speakers and sometimes the button was not even showing up.
    Now that I ensure my PC is talking to the AE everytime I do not have a problem.
    I do have one annoying thing with the AE setup though, if I'm playing music over the AE and I unplug any USB device (printer, USB Key, External drive etc) the wireless connection is broken and I have to start iTunes. I suspect it is a hardware issue relating to my particular HP PC as I have just reformatted and reinstalled Windows XP and it still happens. I can live with it.

  • Is there any way to drive speakers from time capsule?

    Rather than add an airport express to drive speakers in the room the time capsule is in, I was wondering if there is a way to drive speakers from iTunes or Airplay through the USB port on the time capsule?

    Sorry, but no.
    The USB port on the Time Capsule will support a printer and/or a hard drive. That is it.

  • How to keep bluetooth speakers from connecting

    How do I keep my bluetooth speakers from connecting automatically when I wake my iMac?

    I think i found the fix.
    Apple icon -> About this mac ->  more info -> System report -> bluetooth  ->  to see the all the bluetooth paired, configured devices
    Now with the alt key pressed, right click on the bluetooth icon on the top right corner -> the device -> remove
    This way it removes the device permanently

  • No audio from line out

    hi,
    my audio works with internal speaker but nothing from line out when selected in sound controls. In audio midi setup, i do not appear to have any control on the master volume for line out, (its stuck at 0) i am suspecting a driver problem - May have been overwritten or deleterd when I tried to install Parallels 7 - now uninstalled
    cheers
    Mac

    What do you have connected to line out?
    Line out is designed to be the input to amplifiers and not speakers.
    Allan

  • PLEASE HELP Audigy 2 zs Platinum issue, reading noise from Line i

    Hello, any help at all you can give will be greatly appreciated.
    I recently installed my Audigy 2 zs Platinum on my computer, it was working fine until I began to record, It was working fine for the first 2 hours of recording however we disconnected the microphone from line in 2 and connected a bass guitar, then it started registering nosie from the line in 2 jack, we the disconnected the bass guitar and the noise continued. I have completly uninstalled all the creative drivers and reinstalled them, as well as checked the cable connections. I have noticed some other odd behaviors, if I plug headphones into the front microphone jack I do not hear static only a sort of blipping like that of a metranome. however if i use my speakers i hear large amounts of static with the blipping in the background, I also tested my speakers with a walkman and they play sound perfectly. All diagnostics tests have come back with everything passing. Any help you can give at all with this would be greatly appreciated.
    I am running:
    XP Pro with service pack 2 (installed a long time before sound card)
    nvida graphics card
    Pentium 4 with hyper threading
    Syntax mother board
    tdk cd dri've
    maxtor hard dri've

    Old_School,
    A line level out shouldn't cause any problems but it may still be that there is a hardware problem here. To help diagnose this, I would ask that you cleansweep and reinstall the card. Use the instructions here to do this:
    http://us.creative.com/support/kb/ar...asp?l=2&sid=72
    Jeremy

  • No output from line out 1 and 3, audig

    A while ago, I observed no sound coming from several speakers in our 5. sound system. 2 of the speakers provide sound. Also running windows xp and audigy 4.
    I followed the trouble shooting guide using headphones and have no sound card ouput from lines and 3. Line 2 provides output.
    We are using a 5. speaker system and individually plugged each of the 3 lines from the speaker system into line 2 out from the sound card and all the speakers sound good.
    uninstalled and reinstalled the drivers 5.2.6.6?
    The troubleshooting guide mentions a "digital only output" toggle under the volume advanced tab. I searched the sound and audio device properties utility from top to bottom but can't find the toggle.
    I am not sure what to do regarding further troubleshooting. Please advise.
    Regards,
    Jer?

    Never mind: focus was on the wrong computer on the KVM.

  • In Mail, the "From" line shows the wrong name associated with the email id. How do I update it?

    In Mail, the "From" line shows the wrong name associated with my email ID. I've looked over preferences and account information but have not found where I can update it.

    There isn't an email address associated with the contact name who appears as the "from" in Mail. It used to be a shared email address and I already had updated the contact to list only the phone number in case that was causing the problem. 

  • Recording from LINE-IN problem

    Hi at all,
    I have a problem with recording input audio coming from LINE-IN of my pc.
    I looked up on google and on this forum to find something useful but I found nothing. If I try to access line-in I get exception: Line unsupported.
    I found a discovery code to find what I have on my pc:
    ArrayList<Mixer.Info> mixerInfos = new ArrayList<Mixer.Info>(Arrays.asList(AudioSystem.getMixerInfo()));
    Line.Info portInfo = new Line.Info(Port.class);
    for (Mixer.Info mixerInfo: mixerInfos) {
         Mixer mixer = AudioSystem.getMixer(mixerInfo);
         if (mixer.isLineSupported(portInfo)) {
              // found a Port Mixer
              System.out.println("Found mixer: " + mixerInfo.getName());
              System.out.println("\t" + mixerInfo.getDescription());
              System.out.println("Source Line Supported:");
              ArrayList<Line.Info> srcInfos = new ArrayList<Line.Info>(Arrays.asList(mixer.getSourceLineInfo()));
              for (Line.Info srcInfo: srcInfos) {
                   Port.Info pi = (Port.Info) srcInfo;
                   System.out.println("\t" + pi.getName() + ", " + (pi.isSource() ? "source" : "target"));
                   showControls(mixer.getLine(srcInfo));
              } // of for Line.Info
              System.out.println("Target Line Supported:");
              ArrayList<Line.Info> targetInfos = new ArrayList<Line.Info> (Arrays.asList(mixer.getTargetLineInfo()));
              for (Line.Info targetInfo: targetInfos) {
                   Port.Info pi = (Port.Info) targetInfo;
                   System.out.println("\t" + pi.getName() + ", " + (pi.isSource() ? "source" : "target"));
                   showControls(mixer.getLine(targetInfo));
         } // of if
    .....follow the result:
    Found mixer: Port Intel [hw:0]
        HDA Intel, Realtek ALC662 rev1
    Source Line Supported:
         Front Mic Boost, source
              Available controls:
                   Front Mic Boost Control containing Volume, and Balance Controls.
                        Volume with current value: 0.6666667  (range: 0.0 - 1.0)
                        Balance with current value: -2.9802322E-8  (range: -1.0 - 1.0)
         Mic Boost, source
              Available controls:
                   Mic Boost Control containing Volume, and Balance Controls.
                        Volume with current value: 0.6666667  (range: 0.0 - 1.0)
                        Balance with current value: -2.9802322E-8  (range: -1.0 - 1.0)
         Capture, source
              Available controls:
                   Capture Control containing Volume, Balance, and Select Controls.
                        Volume with current value: 1.0  (range: 0.0 - 1.0)
                        Balance with current value: 0.0  (range: -1.0 - 1.0)
                        Select Control with current value: true
         Capture, source
              Available controls:
                   Capture Control containing Volume, Balance, and Select Controls.
                        Volume with current value: 1.0  (range: 0.0 - 1.0)
                        Balance with current value: 0.0  (range: -1.0 - 1.0)
                        Select Control with current value: true
    Target Line Supported:
         Master, target
              Available controls:
                   Master Control containing Volume, and Mute Controls.
                        Volume with current value: 1.0  (range: 0.0 - 1.0)
                        Mute Control with current value: false
         Headphone, target
              Available controls:
                   Headphone Control containing Volume, Balance, and Mute Controls.
                        Volume with current value: 1.0  (range: 0.0 - 1.0)
                        Balance with current value: 0.0  (range: -1.0 - 1.0)
                        Mute Control with current value: false
         PCM, target
              Available controls:
                   PCM Control containing Volume, and Balance Controls.
                        Volume with current value: 1.0  (range: 0.0 - 1.0)
                        Balance with current value: 0.0  (range: -1.0 - 1.0)
         Front, target
              Available controls:
                   Front Control containing Volume, Balance, and Mute Controls.
                        Volume with current value: 1.0  (range: 0.0 - 1.0)
                        Balance with current value: 0.0  (range: -1.0 - 1.0)
                        Mute Control with current value: false
         Front Mic, target
              Available controls:
                   Front Mic Control containing Volume, Balance, and Mute Controls.
                        Volume with current value: 0.61290324  (range: 0.0 - 1.0)
                        Balance with current value: -1.8822519E-8  (range: -1.0 - 1.0)
                        Mute Control with current value: true
         Front Mic Boost, target
              Available controls:
                   Front Mic Boost Control containing Volume, and Balance Controls.
                        Volume with current value: 0.6666667  (range: 0.0 - 1.0)
                        Balance with current value: -2.9802322E-8  (range: -1.0 - 1.0)
         Line, target
              Available controls:
                   Line Control containing Volume, Balance, and Mute Controls.
                        Volume with current value: 0.7096774  (range: 0.0 - 1.0)
                        Balance with current value: 2.9802322E-8  (range: -1.0 - 1.0)
                        Mute Control with current value: false
         Mic, target
              Available controls:
                   Mic Control containing Volume, Balance, and Mute Controls.
                        Volume with current value: 0.7419355  (range: 0.0 - 1.0)
                        Balance with current value: -1.0366025E-8  (range: -1.0 - 1.0)
                        Mute Control with current value: true
         Mic Boost, target
              Available controls:
                   Mic Boost Control containing Volume, and Balance Controls.
                        Volume with current value: 0.6666667  (range: 0.0 - 1.0)
                        Balance with current value: -2.9802322E-8  (range: -1.0 - 1.0)
         Beep, target
              Available controls:
                   Beep Control containing Volume, Balance, and Mute Controls.
                        Volume with current value: 0.0  (range: 0.0 - 1.0)
                        Balance with current value: 0.0  (range: -1.0 - 1.0)
                        Mute Control with current value: trueThis is the class I use for my test:
    import java.io.File;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.sound.sampled.AudioFileFormat;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.Mixer;
    import javax.sound.sampled.TargetDataLine;
    import org.apache.commons.configuration.ConfigurationException;
    import org.apache.commons.configuration.PropertiesConfiguration;
    import org.apache.log4j.Logger;
    public class LineinRecorder extends Thread {
         /** Logger instance */
         private static Logger log = Logger.getLogger(LineinRecorder.class);
         private TargetDataLine m_line;
         private AudioFileFormat.Type m_targetType;
         private AudioInputStream m_audioInputStream;
         private File m_outputFile;
         private LineinRecorder(TargetDataLine line, AudioFileFormat.Type m_type, File file) {
              m_line = line;
              m_targetType = m_type;
              m_audioInputStream = new AudioInputStream(line);
              m_outputFile = file;
          * Starts the recording. To accomplish this, (i) the line is started and
          * (ii) the thread is started.
         public void start() {
               * Starting the TargetDataLine. It tells the line that we now want to
               * read data from it. If this method isn't called, we won't be able to
               * read data from the line at all.
              m_line.start();
               * Starting the thread. This call results in the method 'run()' (see
               * below) being called. There, the data is actually read from the line.
              super.start();
          * Stops the recording.
          * Note that stopping the thread explicitely is not necessary. Once no more
          * data can be read from the TargetDataLine, no more data be read from our
          * AudioInputStream. And if there is no more data from the AudioInputStream,
          * the method 'AudioSystem.write()' (called in 'run()' returns. Returning
          * from 'AudioSystem.write()' is followed by returning from 'run()', and
          * thus, the thread is terminated automatically.
          * It's not a good idea to call this method just 'stop()' because stop() is
          * a (deprecated) method of the class 'Thread'. And we don't want to
          * override this method.
         public void stopRecording() {
              m_line.stop();
              m_line.close();
          * Main working method. You may be surprised that here, just
          * 'AudioSystem.write()' is called. But internally, it works like this:
          * AudioSystem.write() contains a loop that is trying to read from the
          * passed AudioInputStream. Since we have a special AudioInputStream that
          * gets its data from a TargetDataLine, reading from the AudioInputStream
          * leads to reading from the TargetDataLine. The data read this way is then
          * written to the passed File. Before writing of audio data starts, a header
          * is written according to the desired audio file type. Reading continues
          * untill no more data can be read from the AudioInputStream. In our case,
          * this happens if no more data can be read from the TargetDataLine. This,
          * in turn, happens if the TargetDataLine is stopped or closed (which
          * implies stopping). (Also see the comment above.) Then, the file is closed
          * and 'AudioSystem.write()' returns.
         public void run() {
              try {
                   AudioSystem.write(m_audioInputStream, m_targetType, m_outputFile);
              } catch (IOException e) {
                   e.printStackTrace();
         public static void record() {
               * We have made shure that there is only one command line argument. This
               * is taken as the filename of the soundfile to store to.
              String strFilename = "audios/linein_rec.wav";
              File outputFile = new File(strFilename);
               * For simplicity, the audio data format used for recording is hardcoded
               * here. We use PCM 44.1 kHz, 16 bit signed, stereo.
              AudioFormat audioFormat = new AudioFormat(8000.0F, 16, 1, true, false);
               * Now, we are trying to get a TargetDataLine. The TargetDataLine is
               * used later to read audio data from it. If requesting the line was
               * successful, we are opening it (important!).
              Mixer.Info[] aInfos = AudioSystem.getMixerInfo();
              TargetDataLine targetDataLine = null;
              try {
                            // aInfos[2] is the only supported
                   targetDataLine = AudioSystem.getTargetDataLine(audioFormat,aInfos[2]);
                   targetDataLine.open(audioFormat);
              } catch (LineUnavailableException e) {
                   out("unable to get a recording line");
                   e.printStackTrace();
                   System.exit(1);
               * Now, we are creating an AudioRecorder object. It contains the
               * logic of starting and stopping the recording, reading audio data from
               * the TargetDataLine and writing the data to a file.
              LineinRecorder recorder = new LineinRecorder(targetDataLine, AudioFileFormat.Type.WAVE, outputFile);
               * Here, the recording is actually started.
              recorder.start();
              out("Recording...");
              try {
                   if (p==null) {
                        Thread.sleep(5000);
                   } else {
                        Thread.sleep(p.getLong("registrationTime"));
              } catch (InterruptedException e1) {
                   e1.printStackTrace();
               * Here, the recording is actually stopped.
              recorder.stopRecording();
              out("Recording stopped.");
         private static void out(String strMessage) {
              System.out.println(strMessage);
    }So, when i call LineinRecorder.record() I get :
    java.lang.IllegalArgumentException: Line unsupported: interface TargetDataLine supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
         at com.sun.media.sound.PortMixer.getLine(PortMixer.java:120)
         at javax.sound.sampled.AudioSystem.getTargetDataLine(AudioSystem.java:731)
         at capture.LineinRecorder.record(LineinRecorder.java:149)
         at entrypoint.MainEntry.main(MainEntry.java:73)I don't understand why ? I don't know if I must specify explicitly     the line port but I don't know how to build TargetDataLine object.
    Please help me I'm in trouble.
    Any help is granted.
    Regards,
    edcruise.

    Thanks for the reply..
    I read the article and followed the example...but, I get:
    java.lang.IllegalArgumentException: No line matching interface TargetDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian is supported.
         at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459)
         at entrypoint.MainEntry.main(MainEntry.java:133)Is there a way to list all available audio formats ? I wonder that does not exist a simple method to get them.
    Follow my code taken from above example:
                   File outputFile = new File("audios/linein-rec.wav");
                   AudioFormat recordingFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 44100.0F, 16, 2, 4, 44100.0F,
                             false);
                   DataLine.Info info = new DataLine.Info(TargetDataLine.class,
                             recordingFormat);
                   TargetDataLine recordLine = null;
                   try {
                        recordLine = (TargetDataLine) AudioSystem.getLine(info);
                        recordLine.open(recordingFormat);
                   } catch (LineUnavailableException e) {
                        System.out.println("unable to get a recording line");
                        e.printStackTrace();
                        System.exit(1);
                   adjustRecordingVolume();
                   AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
                   KokRecorder recorder = new KokRecorder(recordLine, fileType, outputFile);
                   recorder.start();
                   System.out.println("Recording...");
                   try {
                        Thread.sleep(5000);
                   } catch (InterruptedException e1) {
                        e1.printStackTrace();
                   recorder.stopRecording();
                   System.out.println("Recording stopped.");
         public static void adjustRecordingVolume() throws Exception {
              Port.Info recPortInfo = new Port.Info(Port.class, "Capture", true);
              Port recPort = (Port) AudioSystem.getLine(recPortInfo);
              setRecControlValue(recPort);
         private static void setRecControlValue(Port inPort) throws Exception {
              inPort.open();
              Control[] controls = inPort.getControls();
              for (int i = 0; i < controls.length; i++) {
                   if (controls[i] instanceof CompoundControl) {
                        Control[] members = ((CompoundControl) controls).getMemberControls();
                        for (int j = 0; j < members.length; j++) {
                             setCtrl(members[j]);
                        } // for int j
                   } // if
                   else
                        setCtrl(controls[i]);
              } // for i
              inPort.close();
         private static void setCtrl(Control ctl) {
              if(ctl.getType().toString().equals("Select")) {
                   ((BooleanControl)ctl).setValue(true);
              if(ctl.getType().toString().equals("Volume")) {
                   FloatControl vol = (FloatControl) ctl;
                   float setVal = vol.getMinimum() + (vol.getMaximum() - vol.getMinimum()) * 0.8f;
                   vol.setValue(setVal);
    Thanks in advance.
    Regards,
    edcruise.

  • Recording audio from line-in

    When I start recording, Captivate switches automaticly from
    line-in (where my input device is) to microphone. Captivate forgets
    my configuration, which I set under "Audio" / "Options". How can I
    get live capturing using line-in? When I edit single foils line-in
    works fine.
    Thanks. Mathias.

    Hi again Mathias,
    The "line-in" problem was noticed a long time ago but since I
    use a standard headset-microphone-to-mic-port configuration, I am
    uncertain whether this was fixed with the "dot" release last year
    (upgrading version 1.0.0 to 1.0.1).
    Check to be sure you have the last release, Mathias. "Help
    > About" will give you the version and build numbers ... if you
    are using the English language localization, your build should be
    #1418 (vice #1188 I believe). If it is not, you might benefit from
    the free download for the last release.
    P.S. If you are using a localization for another language,
    you'll have to find out the current situation for that version -
    sorry, but I'm only familiar with the English-language version. I
    imagine that Adobe Support might be able to help, in that case. . .
    .

Maybe you are looking for

  • Can I use more than one Apple ID on one device

    I have seen some answers to this type of question before but not that since the ios 6 so will ask again. My household shares an Apple ID and it has worked great as we have added devices and purchased apps.  My problem now is this, we have hit a point

  • How to Clear Parameter IDs in ABAP?

    Hi folks, How to clear SET parameter ID Field ccccc. Can anyone explain. Thanks, Matt

  • Behaviour: "Set Text of Text Filed"

    I am attempting to apply the behaviour "Set Text of Text Filed" to a radio button pair (the NO of Yes, NO) in order to fill in a text field with "skip to question 4" However, when attempting to apply, I get an error message "no ID. Set ID in the Prop

  • More Sort Options in App Store Category Views

    I would love to see the ability to sort apps within the various categories of the app store by more than just "Name" and "Release Date" How about adding these: Highest Rating Recently Updated Price Most Purchased I'd like to see a bit of grouping ala

  • Any opinions on GP70 LEOPARD-010?

    I was thinking of purchasing this notebook but I can not find any reviews on it.  Anyone here familiar with it and can tell me pro's and cons for it?  Is it a good notebook to purchase or should I look elsewhere?  I am looking for the specs below. Ga