How to Set Left/right audio channel while Video playback

how can I controlling the left / right audio channel while video playback, I can't find any method or class for this in JMF, anyone that can direct me how to do it?

The way I found to control two stereo channel is to implement a plug-in Effect that will control two volumes (left/right) indipandently.
You can start from the example GainEffect from sun, and implement your control.
For eample, if you want to mute the left channel, simply set to 0 all the odd samples (or even...I don't remember exactly, try it).
You have then to add you plug in to the processor chain... again see the examples.
More complex effects (panning etc) can be done in the same way, but it seems to me that it's quite CPU intensive.
Bye
Marco

Similar Messages

  • Left & Right audio channels not linked...

    I upgraded my system and had to re-install FCE from scratch and (of course) I lost all my system preferences and filters & such. My one annoyance now is that my audio channels (L & R) are now independant of one another -- if I lower one, the other remains unchanged and then I have to go lower it as well. Is there any way to re-link the two audio channels together? It was like that on my old system.
    Thanks.

    That much I figured out -- is there any way to make that a permanent setting when I capture? That's the part that's escaping me. Thanks for your help, BTW.

  • How can I separate Left and right audio channels in labview 8.5 tia sal22

    How can I separate Left and right audio channels in labview
    8.5 tia sal22
    Greetings All
    I have a working Labview vi that converts a math formula to an
    audio signal.  I would like to have the
    right and left audio channels playing different math audio signals is this
    possible?
    Example
    Right channel -> plays the audio signal created by a math
    formula
    Left channel -> plays the audio signal created by another
    math formula with adjustable phase control
    I’ve included a VI with a working audio and math formula but
    I’m not sure how to separate the left and right channels.
    I’m using labview 8.5
    I looked up a similar question on the
    support board and it said” use an instance of the the Sound Output Write that
    has a 1D waveform data type input (i.e.  Sound Output Write (DBL)). Each
    element in the array would correspond to a channel.”
    But I’m not exactly sure what he meant.  I’m using a formula to generate the wave file
    Tia sal22
    Attachments:
    fixed mathscript formula to sound test.vi ‏680 KB

    Sorry it took so long to get back.  Here's the new VI with it splitting out the left and right channels. 
    I'm using a Gigaport HD 8 output usb audio device but I'm experience clicks and pops.  I increase the buffers
    but I still get the clicks and pops.  I know gigaport HD can use ASIO drivers which most likely would solve the problem but one needs to code in C for this which I'm not proficient in.  Can someone recommend a work around to prevent this clicks and pops, can I somehow change my VI to fix this? Does anyone have a VI that will allow access to the ASIO latency properties?
    I'm using labview 8.5
    And a gigaport HD which is a USB audio device which outputs 8 analog signals (it is ASIO compatible)
    tia sal22
    Attachments:
    lvt_audio_realtime-out left right device ID test.vi ‏68 KB

  • My ipod's music quality is inferior. It doesnt have the surround sound/ left and right audio channel unlike my brothers ipod? is there a problem with the chip?

    I have an ipod touch 4g (8GB), I got this about 2.5 months ago, the same time my brother get his. My problem is that I noticed that audio quality is better on his device than mine. I have been listening to music and had different music devices before (non-Apple product and mobile phone) and the quality of music is better when I used to listen to those devices as well as my brother's ipod touch. Im referring to the left and right audio channels. Im not so good about the technical stuff but the best explanation I can give you is in a music or a movie, there's an effect wherein you can here a sound only at the left ear phone/speaker that you cant hear at the right earphone/speaker. I mean for example in a song, a guitar intro can be heared only at the left
    ear while the background music plays on the other ear. Or when theres and echo effect on the song that alternates sound on the left and right ear. I hope youre getting what Im trying to say. Im bothered that my ipod is fake or has an internal problem on the chips or something because I didnt bought this at an Apple Center/Mac Center. I bought it on a retailer. I am not able to visit any store or Genius Bar  or contact an apple specialist through phone because of my work schedule and work load.  I have contacted the retailer before when I tried to return it for replacement or repair but he told me that it is under Apple's warranty, not theirs. I do hope that I can get a help from you because I want to really enjoy my device. Thank you and Im looking forward for the responce/assistance form you.

    I suggest you don't apply pressure to the screen - it's a Touch - you touch the screen not push it.
    Phil

  • The right audio channel is no longer heard after effect assignment in the timeline

    Sorry, but my English is not so good, but I try to explain the problem:
    Once I clip any one assigns an effect in the timeline, works when playing only the left audio channel channel. Once I pull the clip from the timeline into the project window again, then works again the left and the right channel. How do I get the right audio channel in the interface window active again?

    When I look at the properties of the file in QuickTime, here's what it shows:
    DV/DVCPRO - NTSC, 720 x 480 (640 x 480)
    Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Left
    Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Unused
    Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Unused
    Linear PCM, 16 bit little-endian signed integer, 32000 Hz, Unused
    Why it's telling me the other 3 channels are unused, I have no idea. They certainly are getting used. The footage was shot in stereo and Final Cut plays it in stereo.
    Here's what VLC says about the very same file:
    Stream 0:
    Type: Audio
    Codec:PCM S16 LE (sowt)
    Channels: Mono
    Sample Rate: 32000 Hz
    Bits per sample: 16
    Stream 1:
    Type: Audio
    Codec:PCM S16 LE (sowt)
    Channels: 1
    Sample Rate: 32000 Hz
    Bitrate: 512 kb/s
    Stream 2:
    Type: Audio
    Codec:PCM S16 LE (sowt)
    Channels: 1
    Sample Rate: 32000 Hz
    Bitrate: 512 kb/s
    Stream 3:
    Type: Audio
    Codec:PCM S16 LE (sowt)
    Channels: 1
    Sample Rate: 32000 Hz
    Bitrate: 512 kb/s
    Stream 4:
    Type: Video
    Codec: (DV Video (dvc)
    Resolution: 720 x 480
    Frame Rate: 29.970030
    Decoded Format: Planar 4:1:1 YUV

  • 900 photos on iPhone, 2000 photos read by iTunes. How to set this right so it wouldn't eat up my storage?

    I have 900 photos on my iPhone currently, but iTunes reads it as 2000 photos eventhough I've already transferred and deleted my previous photos (w/c did amount to 2k before). It's eating up 4.91 GB of my storage, and I don't know how to set it right. I want to add music and update my iOS, but it tells me I can't because my "4.91 GB" worth of photos is eating up my storage. Please help. Thanks.

    I had same problem .... no photos still photos holding up space on my device here is the solution
    https://www.youtube.com/watch?v=8WT3Z0Hals4
    Its because of new update on iPhone, Old photos don't Get deleted itself you have to delete manually…

  • How to set jButton to display hourglass while executing.

    Hi All,
    How to set jButton to display hourglass while executing.
    Here is my code:
        private JButton jButton5 = new JButton();
        jButton5.setText("Refresh");
        jButton5.setBounds(new Rectangle(805, 35, 145, 25));
        jButton5.setBackground(Color.green);
        jButton5.setFont(new Font("Tahoma", 1, 15));
        jButton5.setForeground(Color.blue);
        jButton5.setSize(new Dimension(145, 25));
        jButton5.setModel((ButtonModel)panelBinding.bindUIControl("Execute",jButton5));Thanks.

    user38000 wrote:
    I do not have much experience with Java, my background is database admin, could you please spell out syntax and where introduce hourglass behavior based on the code I posted.While bobear may post his code, my recommendation in this situation is that you are always better to use the advice given, the API and the tutorials to first try to do this yourself and see what happens. Then if it fails, come back with your code attempt.
    One concern of mine, and my main reason for posting is that it seems like your JButton will initialize a task that may take a bit of time to perform (hence the need for the hour-glass). I just want to make sure that you call this task in a background thread such as within a SwingWorker's doInBackground() method. For more on this, please google the Sun tutorial on Concurrency in Swing.
    Much luck!

  • Right audio channel

    I've had my Lumia 822 for a month, just paid first phone bill, and today my right audio channel has quit. It's not in headphones or on phone music speakers. Would this be a software or hardware issue? I was sold on this phone til today. If possible, is this something I can fix myself.

    hi mate,
    have you checked that there is no dust in your headphone jack or that the headphone jack assembly has not received any physical damage? also check that you are up to date with all the latest Nokia system app updates from the Store, and that you have the latest firmware installed on your device. failing that, try performing a soft reset (pressing the volume down and power buttons together until the phone vibrates).

  • How do I take the audio from a video and divide it into separate songs

    How do I take the audio from a video file and divide it into separate audio songs? I then want to export those songs into itunes.

    http://www.bulletsandbones.com/GB/GBFAQ.html#exportsections
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • 3110c keyboard light stays on while video playback

    3110c keyboard light stays on while video playback. Also pause and back button are displayed always. Is there are way to turn off keyboard lights during video playback. This could also save some battery power.

    Thanks for the reply.
    - Is there any process to suggest improvements to the phone firmware , like the issue i mentioned.

  • Left and Right audio channel

    I have a video clip that has two different sound track on each channel, one on right channel and one on left channel.  So when I play normal both sound track come up on the same time.  In Window platform, I can change the speaker output into either left/right to isolate one channel, but how can I do this in Mac OS?  I tried the one in system preference, it didn't work, when I switch it to right channel, it just played both sound track from the right speaker, but not isolating the right sound track.  Please help.

    In your Applications/utilities folder is a program called AudioMIDI setup.
    Just move the slider of the channel you want to mute.

  • How can set direction right to left for horizontal text area

    I want set direction right to left for horizontal text area
    to view right to left String Type

    I don't know that there is such a thing as right to left
    String Type (I can't find one at least). I am assuming this
    involves some language where printed materials are read from right
    to left.
    Before I try to offer a solution though, it will be helpful
    to know more about that text area. Is the intention to type into
    the text area or to load a string into it?
    And if you are loading a string into it, is the string
    already right to left?

  • RMI Server behind Router: How to set the right IP?

    Hi, I am having trouble with the Server of an RMI application, the set up is this:
    1. The server is not always running on the same host: it may be a computer with a publicly visible and unique IP, or it may be under a computer behind a router.
    2 . The user that runs the server may not know how to get his IP in the router environment.
    3. The user that runs the server knows sh*t about rmiregistry or how to set a Property to the java interpreter (for example: -Djava.rmi.server.hostname=<host>).
    4. The Server code is this:
    * Represents the Server to the Domination app (including the chat plugin).
    public class Server {
         private static final int PORT_NUM = 1099;
         private static final String CHAT = "chat";
         private static final String DOMINATION_FACTORY = "Domination";
          * Sets the Chat and Application Servers.
          * @param args
          *            Never used.
         public static void main(String[] args) {
              try {
                   Registry registry = LocateRegistry.createRegistry(PORT_NUM);
                   Chat chatObject = new ChatImpl();
                   UnicastRemoteObject.unexportObject(chatObject, true);
                   UnicastRemoteObject.exportObject(chatObject, PORT_NUM);
                   registry.rebind(CHAT, chatObject);
                   System.out.println("Chat ready...");
                   Fabrica fabricaObject = new FabricaImpl();
                   UnicastRemoteObject.unexportObject(fabricaObject, true);
                   UnicastRemoteObject.exportObject(fabricaObject, PORT_NUM);
                   registry.rebind(DOMINATION_FACTORY, fabricaObject);
                            System.out.println("Domination Factory ready...");
                   System.out.println("All systems up and running");          
              } catch (Exception e) {
                   e.printStackTrace();
                   System.exit(1);
    }I wrote the code that way (and not using Naming.rebing("//" + host_name + "/Service", serviceObject)) so the server user won't need to run the rmiregistry (In fact, the Server is deployed via a jar file, so just a happy double-click to the jar will do the work)...
    OK, then the problem is this: The client is always having "connection refused" Exceptions while the server is behind a router and not in the same network of the client.
    The IP that is shown in the exception is always the inner IP of the host (or 10.x.x.x or 192.168.x.x or whatever it may be). So it seems that the registry is always choosing that IP and not the router's.
    I need to know if there is a way to rewrite the Server code so the user just should do the same 'double-click' to run the server and not mess around "investigating" the outer IP. I read some of the RMI specs and it suggest to do IP Tunneling and some other techniques that I don't think may be appropiate to the nature of this "roaming server" application.

    Thanks, but that still doesn't do the work. As I stated in the post, not every user will know how to set java.rmi.server.hostname or even look for an outer IP... I was asking for an "automagical" way to code my server class so it could do some job to do the guessing.
    Even though... I tried both ways at home with the help of a friend as the client, and it seemed to work. The client connected to the server but it was kicked out in less than 30 seconds. Being specific, every client, the ones inside and the ones outside my network. As if the only right way was to let the JVM set the IP (but again, in that way the server is invisible to the clients outside the network).

  • Left right sound channels

    Is there any way to get iTunes to play only from the left or right stereo channel. I've bought some musical play-along CDs which have the melody on the left and the background on the right. If I play only on the right I can practice soloing over the background sound.
    Thanks

    Not any sophisticated way.  If you use external speakers you could disconnect the one you don't want.  Otherwise you may have to open the audio in an editor such as Audacity or Amadeus Pro and  fiddle with it there.
    One other thing occurred to me. Check out Amazing SlowDownerX. It's geared towards playing along with songs so maybe it does that too.

  • How to set up USB Audio

    I bought this two days ago: http://kuroutoshikou.com/products/select/multifset.html
    It is a USB audio input/output device.
    The package says OS 10 compliant but there are nothing looking like mac drivers on the CD. I plug it into the ibook and all lights up, seems to work and there are some sporadic crackling noises I can input and play through the speakers but I can't seem to figure out how to set it up right. Since I can't speak Japanese, emailing the manufacturer isn't getting me far.
    Are there any generic USB audio control drivers I can download?
    Cheers
    iBook   Mac OS X (10.4.3)  

    If it's a 'class compliant' audio device, it doesn't need any additional drivers to work in OS X.
    Open the 'Audio MIDI Setup' program, and set the appropriate speeds, etc, and whether you want this device to be the default audio device. It should just work.

Maybe you are looking for