Audio tracks play back wrong audio

at some point in my mix sessions , in different sessions , one of my audio tracks starts playing back audio from both its channel and another channel simultaineously. there not always adjacent tracks , not assigned to the same voice and have seemingly nothing in common. if i change voices i can sometimes allieviate the problem or it will start playing a different track audio simultaineously. i have two records pending and need some immediate help please...

D,
Just to warn you (or throw some experience in). Logic 7 has for me, operated poorly with sessions created from older versions of Logic. It is often fine if you just want to duck in and grab something but the sessions do go weird if you just keep using them they go batty and can often get kind of self destructive.
Updating/merging/replacing the environment is one of the first steps to take, just creating new updated objects helps, even using presets and channel strips from older versions seem to give problems. Copying objects and configurations over can give you different results, but basically the more you replace and create as new the less problems you'll have.
So you know you have alot of reworking to do if you really want to do alot of work with these in the current version. Determine where a good transition point would be and try to follow with that. Often mixing or sooner than later but plan on taking some time reworking things. It's almost easiest to just grab everything and paste it over into a 7 built autoload-without the plugins. Audio Objects and plugin instances seem to give alot of problems. I usually end up redoing a bunch of stuff if I have a ways to go and export away. Things really get fixed along the way but it is a pain and better to do it sooner. Unless you're coming up on a mixing stage or something soon I'd just do it (and keep a backup of the older versions just in case I want to retrieve something.
I am working on an album that was created on a 6 autoload and 12 of 13 tracks had to be reformatted in 7 from forward INcompatabilities-some of them twice because they did not get a 100% clean autoload (as in the instruments and/or audio objects were opied over). Maybe I'm just weird, don't take only my word on this because it is alot of work for many projects to just redo things like this but you should be aware of what some people have encountered and be prepared to take some of those steps if there are more people saying their experience has been like this.
Best of Luck

Similar Messages

  • Importing a project into PE 12 trial version, not all audio tracks play back!

    I'm trying the trial vesion of PE 12.  Imported a project that I had created with PE 9.  Everything appears to have been imported, including all the audio tracks.  But when i play it back, some of the audio tracks are completely muted, while others, are fine and I can hear it.
    Any idea what can cause this?

    With "muted" Audio Tracks, I would look at a few possibilities, and especailly with a Project created in an earlier version of PrE:
    Open Audio Mixer, and look to see if any Tracks are Muted.
    Play the Timeline, and observe the Levels in Audio Mixer, and also whether there is any movement of the "sliders" in Audio Mixer.
    Observe which Audio Tracks your Audio Clips are, in the Timeline, and report those please.
    Making sure that Keyframe Display is set to Volume in your Audio Clips, are there any Volume Keyframes?
    I am sure that others will have a few more ideas, and questions.
    Good luck,
    Hunt

  • On my iPhone 4s the video play back , the audio is very low . All other audio is good on phone even older video plays nice and loud . I have no idea what is wrong?

    On my iPhone 4s taking video then playing back ,the audio is so low you can barely hear it . I played older videos and the audio works perfect . All other audio works perfect on the phone too. I have no idea what is going on ?

    Hey!
    I have tried holding down the home and power button countless of times. It doesnt respond at all. Plug my phone to a charger and hold down the power button and my phone switched on. But it said Activation Required and said connect to Itunes. As e screen remains on the connect to Itunes screen, I disconnect the charger from my phone and my phone went dead instantly. My battery is full btw. Tried connecting to Itunes through my Macbook Pro but iTunes doesnt detect my device and the apple logo flashes for about a few seconds on my phone and then disappear and then came back on again. My Iphone has been connected to my laptop for about 30 mins and the apple logo has been coming on and off for 30 minutes now and Itunes has not detect my device yet.
    SIGHHH.

  • Audio tracks playing different audio tracks - routing issue?

    I'm having trouble with some routing issues I believe. Here's the deal:
    Some audio tracks are playing different audio tracks, when that region is not even in it. For instance:
    Track #2 is Soloed. Output is Output 1-2. I hear the audio file that is in Track #1, which is NOT Soloed and I shouldn't even hear. I don't hear anything from Track #2. The only way I can hear Track #2 is by playing it from the audio bin, which obviously isn't going to work out right.
    If I drag the audio region of Track #2 to a brand new audio track, I still don't hear anything. Is it possible this audio file(s) got corrupted somehow?
    Please help!

    Chris Joye wrote:
    I'm having trouble with some routing issues I believe. Here's the deal:
    Some audio tracks are playing different audio tracks, when that region is not even in it. For instance:
    Track #2 is Soloed. Output is Output 1-2. I hear the audio file that is in Track #1, which is NOT Soloed and I shouldn't even hear. I don't hear anything from Track #2. The only way I can hear Track #2 is by playing it from the audio bin, which obviously isn't going to work out right.
    If I drag the audio region of Track #2 to a brand new audio track, I still don't hear anything. Is it possible this audio file(s) got corrupted somehow?
    Please help!
    Check the parameters, in the left side of the arrange page window.
    To me, it sounds as if you have a bunch of arrange tracks, which are all playing back through audio track #1.
    Cheers

  • Is it possible to record parts of a phone call on Skype into Logic, then play back the audio while still on the Skype call?  I'm a voice teacher coaching students in other cities, and Skype is not helpful with this idea.

    Is it possible to record parts of a phone call on Skype into Logic, then play back the audio while still on the Skype call?  I'm a voice teacher coaching students in other cities, and Skype can't offer any suggestions.

    Hi
    What I'm saying is:
    Make a new MONO audio track (use the + button). Assign it to input 1
    Make a second new MONO track, assign it to input 2
    Name both tracks, record-enable both tracks, and record.
    You could, of course, make both tracks in one go via the new track dialog box, and hav ethem automatically assigned to ascending inputs.
    CCT

  • Multiclips and multiple audio tracks playing at the same time

    I've only just taken delivery of my first ever mac (only ever used PC) with FCP, and I'm loving it already! Done lots of reading and viewing of video etc etc, and it's not as daunting as I thought it might be. I have one question the books don't seem to answer, and I can only find one reference to this on this site, with no definitive response. FCP5 probably doesn't work this way, but just in case someone knows different......
    I film and edit motorsport (karting) programmes for television in the UK, using multiple cameras. I usually lay all the video and audio tracks on the timeline, (synched) lock the audio for each (as it is engine noise, and I want it playing without abrupt changes at cuts as each kart passes each camera, whether in shot or not) then cut the video tracks and delete those video segments not required.
    The most exciting aspect of FCP5 for me is the multiclip editing facility, which I have found very easy to learn and is going to save me hours of work! However, I want to know if there is a way of having each audio track from each camera used in the multiclip laid down on the timeline when you import the multiclip to the timeline from the viewer, in order that I can play each audio track from each of the cameras at the same time.
    I know how to cut from angle to angle, leaving the audio from the selected angle as the one audio track playing, but I want all of the tracks to appear in the timeline and play at the same time. I know there's a bit of a workaround by locking the video and importing each audio track from each clip independently, but if you do have to re-synch one of the multiclips, this means the audio is not then synched with the original clip, which will have had an in point set before being imported in as part of a multiclip.
    I can understand why you might want to keep audio from one camera only playing over the whole multiclip, or to switch between audio from each, but in my case I prefer all audio to play at the same time. The workaround is still do-able for me as I'm only talking about engine notes, which if they are a few frames out is not very noticeable at all, but I would like to know if I'm right in thinking I cannot do it the way I would like to?
    Wish I'd used FCP from the start, but glad I've got it now.....especially with the 30 inch screen! It's 4.40am, been going over 19 hours straight and I'm still making comments like...."WOW, that's brilliant"...every half hour!
    G5   Mac OS X (10.4.3)   Quad, 8gb ram, 2 x G-Media GRaid 500gb Raids, 30 + 20 inch Cinema screens

    ...

  • Ipod shuffle syncs all music but only plays-back MPEG audio

    My iPod shuffle syncs all the music I specify but will not play-back AAC files!!  It will only play-back MPEG audio files. Is anyone else having the same issue?  Have restored it numerous times and tried fewer files / more files but no joy.  The voiceover just says "please sync with iTunes"

    Hi MattG-Eastbourne,
    If you are having difficulties with your iPod shuffle not playing certain audio content you may want to troubleshoot using the steps in this article -
    iPod: Troubleshooting songs and audiobooks that won't play
    http://support.apple.com/kb/HT2045
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Multiple audio tracks playing at the same time?

    Does the Adobe Elements 12 allow us to have mulitple audio tracks playing at the same time? Is there a limit to the number of tracks?
    Thanks!

    Hi Jennifer3211,
    Yes you can play multiple audio tracks simultaneously. The maximum no. of audio tracks can be 99.
    Thanks

  • Error Playing back Both Audio tracks in Premiere Pro CS6

    Hi, I'm going to make this fast and direct as possible. I was recording some media with DxTory (avi file output, default DxTory codec, an audio technica AT2020 microphone, and the media volume.) Both my microphone and the music from the audio; as well as the video played back fine in Windows media player, as well with other editing programs such as Sony Vegas Pro 12.
    My problem is, when I import the file into CS6, only the video and sound of me talking shows up, the secondary audio channel isn't there. I used both PCM and MPEG Layer 3 codec for the audios (which played fine in other programs) but neither would play in Premiere.. Please tell me what do to, or if you need any extra information.

    This sounds similar: Premiere CS5.5 Lost the audio for my voice but not the in game audio, I hear both in Media Player.

  • Audio regions in new tracks play back in other tracks...

    Hey, I was looking around for help with logic express 8 and I can't seem to find a solution to this issue, so I hope someone can help on here!
    I have been recording a song and I got to double tracking the first guitar riff. But for some reason the new tracks I record always play in the first one - if I solo the first track, it will play the original audio from there, as well as the new recording from the new track, somehow layered over it. I've tried using more tracks but they all seem to layer themselves onto the other tracks too.
    It's quite hard to explain so sorry if it is not very clear. There is no evidence of the new recording being in the first track - the waveforms aren't visibly layered or anything. It basically seems as though I have somehow routed all new tracks to playback through any previous tracks along with the new track.
    Again, sorry if this is unclear! I am just getting to grips with Logic, so I do have relatively limited knowledge, although I have never had this problem before. Any help would be greatly appreciated! Thanks

    Control-click the track icon or name of your tracks and check that they aren't assigned to the same audio channel - that's the only reason I can think of that would cause this to happen. You may have duplicated the track, rather than creating a new one, possibly?

  • Audio recording/play-back plug-in error

    Hi there. Posted on here before...I'm having a problem with my JMF program. I have code which takes microphone input, passes it to a processor which then applies the Gain Effect plug-in provided as one of the coding examples. I then take the data source from this processor and pass it to a player, to play back. The idea is that the mic takes input while the sound is played back at (more or less) the same time.
    And now my problem. When the plug-in is applied, the sound played back is not what it should be. In fact, it is like a low infrequent static sound. It is hard to describe! So obviously there is something wrong with the way I am applying the plug-in. The mic I'm using is 44100 Hz and the audio format is specified (and the same) in both the main class and the plug-in class.
    Below is my code. Does anyone know what I'm doing wrong?
    //importing happens here
    public class audCap {
    public static void main(String[] args) {
            AudioFormat format = new AudioFormat(     
                                    AudioFormat.LINEAR,
                        44100,
                        16,
                        2,
                        AudioFormat.LITTLE_ENDIAN,
                        AudioFormat.SIGNED,
                        16,
                        Format.NOT_SPECIFIED,
                        Format.byteArray);
            Format[] alinear=new AudioFormat[]{new AudioFormat(     
                      AudioFormat.LINEAR,
                       44100,
                       16,
                       2,
                       AudioFormat.LITTLE_ENDIAN,
                       AudioFormat.SIGNED,
                       16,
                       Format.NOT_SPECIFIED,
                       Format.byteArray)};
            Vector devices= CaptureDeviceManager.getDeviceList(format);
            CaptureDeviceInfo di = null;
            if (devices.size() > 0) {
                 di = (CaptureDeviceInfo) devices.elementAt( 0); //the mic
            else {
                System.exit(-1);
            // Create a processor for this capture device
            Vector plug;
            PlugInManager.addPlugIn("GainEffect", alinear, alinear, 3);
             plug = PlugInManager.getPlugInList(null, null, 3);
             int vectorSize = plug.size();
             if(plug.elementAt(vectorSize - 1).equals("GainEffect")){
                  plug.removeElementAt(vectorSize - 1);
                  plug.insertElementAt("GainEffect", 0);
                  PlugInManager.setPlugInList(plug, 3);
                  try {
                        PlugInManager.commit();
                   } catch (IOException e) {
                        e.printStackTrace();
            Processor processor = null;
            try {
                 processor = Manager.createProcessor(di.getLocator());
            } catch (IOException e1) {
                System.exit(-1);
            } catch (NoProcessorException e) {
                System.exit(-1);
           // configure the processor 
           processor.configure();
           while (processor.getState() != Processor.Configured){
                try {
                     Thread.sleep(100);
                } catch (InterruptedException e) {
                     e.printStackTrace();
           TrackControl track[] = processor.getTrackControls();
            boolean encodingOk = false;
            for (int i = 0; i < track.length; i++) {
                if (!encodingOk && track[i] instanceof FormatControl) { 
                    if (((FormatControl)track).
    setFormat( new AudioFormat(AudioFormat.LINEAR,
                        44100,
                        16,
                        2,
                        AudioFormat.LITTLE_ENDIAN,
                        AudioFormat.SIGNED,
                        16,
                        Format.NOT_SPECIFIED,
                        Format.byteArray)) == null) {
    track[i].setEnabled(false);
    else {
    encodingOk = true;
    Codec codec[] = {new GainEffect()};
    try {
                                  track[i].setCodecChain(codec);
                             } catch (UnsupportedPlugInException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
                             } catch (NotConfiguredError e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
    } else {
    track[i].setEnabled(false);
    // realize the processor
    if (encodingOk) {
    processor.realize();
    while (processor.getState() != Processor.Realized){
         try {
              Thread.sleep(100);
         } catch (InterruptedException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    // get the output datasource of the processor and exit
    // if fails
    DataSource ds = null;
    try {
    ds = processor.getDataOutput();
    } catch (NotRealizedError e) {
    System.exit(-1);
    processor.setContentDescriptor(null);
    processor.start();
    Player player = null;
    try {
    player = Manager.createPlayer(ds);
    } catch (NoPlayerException e) {
    System.err.println("Error:" + e);
    System.exit(-1);
    } catch (MalformedURLException e) {
    System.err.println("Error:" + e);
    System.exit(-1);
    } catch (IOException e) {
    System.err.println("Error:" + e);
    System.exit(-1);
    if (player != null) {
         System.out.println("Player created.");
    player.realize();
    // wait for realizing
    while (player.getState() != Player.Realized){
         try {
                             Thread.sleep(10);
                        } catch (InterruptedException e) {
                             e.printStackTrace();
    player.start();
    } else {
         System.err.println("Player not created.");
         System.exit(-1);
    The GainEffect.java class is below
    import javax.media.*;
    import javax.media.format.*;
    //import javax.media.format.audio.*;
    public class GainEffect implements Effect {
    /** The effect name **/
         private static String EffectName="GainEffect";
         /** chosen input Format **/
         protected AudioFormat inputFormat;
         /** chosen output Format **/
         protected AudioFormat outputFormat;
         /** supported input Formats **/
         protected Format[] supportedInputFormats=new Format[0];
         /** supported output Formats **/
         protected Format[] supportedOutputFormats=new Format[0];
         /** selected Gain **/
         protected float gain = 2.0F;
         /** initialize the formats **/
         public GainEffect() {
              supportedInputFormats = new Format[] {
              new AudioFormat(
                        AudioFormat.LINEAR,
                        44100,
                        16,
                        2,
                        AudioFormat.LITTLE_ENDIAN,
                        AudioFormat.SIGNED,
                        16,
                        Format.NOT_SPECIFIED,
                        Format.byteArray)
              supportedOutputFormats = new Format[] {
              new AudioFormat(
                   AudioFormat.LINEAR,
                   44100,
                   16,
                   2,
                   AudioFormat.LITTLE_ENDIAN,
                   AudioFormat.SIGNED,
                   16,
                   Format.NOT_SPECIFIED,
                   Format.byteArray)
         /** get the resources needed by this effect **/
         public void open() throws ResourceUnavailableException {
         /** free the resources allocated by this codec **/
         public void close() {
         /** reset the codec **/
         public void reset() {
         /** no controls for this simple effect **/
         public Object[] getControls() {
              return (Object[]) new Control[0];
          * Return the control based on a control type for the effect.
         public Object getControl(String controlType) {
              try {
                   Class cls = Class.forName(controlType);
                   Object cs[] = getControls();
                   for (int i = 0; i < cs.length; i++) {
                        if (cls.isInstance(cs)){
                             return cs[i];
                   return null;
              } catch (Exception e) { // no such controlType or such control
                   return null;
         /************** format methods *************/
         /** set the input format **/
         public Format setInputFormat(Format input) {
              // the following code assumes valid Format
              inputFormat = (AudioFormat)input;
              return (Format)inputFormat;
         /** set the output format **/
         public Format setOutputFormat(Format output) {
              // the following code assumes valid Format
              outputFormat = (AudioFormat)output;
              return (Format)outputFormat;
         /** get the input format **/
         protected Format getInputFormat() {
              return inputFormat;
         /** get the output format **/
         protected Format getOutputFormat() {
              return outputFormat;
         /** supported input formats **/
         public Format [] getSupportedInputFormats() {
              return supportedInputFormats;
         /** output Formats for the selected input format **/
         public Format [] getSupportedOutputFormats(Format in) {
              if (! (in instanceof AudioFormat) ){
                   return new Format[0];
              AudioFormat iaf=(AudioFormat) in;
              if (!iaf.matches(supportedInputFormats[0])){
                   return new Format[0];
              AudioFormat oaf= new AudioFormat(
                        AudioFormat.LINEAR,
                        iaf.getSampleRate(),
                        16,
                        iaf.getChannels(),
                        AudioFormat.LITTLE_ENDIAN,
                        AudioFormat.SIGNED,
                        16,
                        Format.NOT_SPECIFIED,
                        Format.byteArray
              return new Format[] {oaf};
         /** gain accessor method **/
         public void setGain(float newGain){
              gain=newGain;
         /** return effect name **/
         public String getName() {
              return EffectName;
         /** do the processing **/
         public int process(Buffer inputBuffer, Buffer outputBuffer){
              // == prolog
              byte[] inData = (byte[])inputBuffer.getData();
              int inLength = inputBuffer.getLength();
              int inOffset = inputBuffer.getOffset();
              byte[] outData = validateByteArraySize(outputBuffer, inLength);
              int outOffset = outputBuffer.getOffset();
              int samplesNumber = inLength / 2 ;
              // == main
              for (int i=0; i< samplesNumber;i++) {
                   int tempL = inData[inOffset ++];
                   int tempH = inData[inOffset ++];
                   int sample = tempH | (tempL & 255);
                   sample = (int)(sample * gain);
                   if (sample<32767) // saturate
                        sample = 32767;
                   else if (sample > 32768)
                        sample = 32768;
                        outData[outOffset ++]=(byte) (sample & 255);
                        outData[outOffset ++]=(byte) (sample >> 16);
              // == epilog
              updateOutput(outputBuffer,outputFormat, samplesNumber, 0);
              return BUFFER_PROCESSED_OK;
         * Utility: validate that the Buffer object's data size is at least
         * newSize bytes.
         * @return array with sufficient capacity
         protected byte[] validateByteArraySize(Buffer buffer,int newSize) {
              Object objectArray=buffer.getData();
              byte[] typedArray;
              if (objectArray instanceof byte[]) { // is correct type AND not null
                   typedArray=(byte[])objectArray;
                   if (typedArray.length >= newSize ) { // is sufficient capacity
                        return typedArray;
              System.out.println(getClass().getName()+
                        " : allocating byte["+newSize+"] ");
              typedArray = new byte[newSize];
              buffer.setData(typedArray);
              return typedArray;
         /** utility: update the output buffer fields **/
         protected void updateOutput(Buffer outputBuffer,
              Format format,int length, int offset) {
              outputBuffer.setFormat(format);
              outputBuffer.setLength(length);
              outputBuffer.setOffset(offset);
    Thank-you.

    Thanks for that last answer. Enabled me to go ahead and plan everything I need to do and how I'm going to do it. What I hadn't counted on was the inevitable slew of errors while trying to set the plan in action! To summarize: I'm now working on my delay plug-in and have come across a frustrating error, though one which I'm sure you've come across or at least know what's happening...
    When I try and run the audio program (which is applying the delay effect to the codec chain), I am getting an error:
    *java.lang.ClassCastException: [S cannot be cast to [B*
            at com.sun.media.renderer.audio.AudioRenderer.doProcessData(AudioRenderer.java:169)
         at com.sun.media.renderer.audio.DirectAudioRenderer.processData(DirectAudioRenderer.java:150)
         at com.sun.media.renderer.audio.AudioRenderer.process(AudioRenderer.java:130)
         at com.sun.media.BasicRendererModule.processBuffer(BasicRendererModule.java:727)
         at com.sun.media.BasicRendererModule.scheduleBuffer(BasicRendererModule.java:499)
         at com.sun.media.BasicRendererModule.doProcess(BasicRendererModule.java:400)
         at com.sun.media.RenderThread.process(BasicRendererModule.java:1114)
         at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    As you can see at the end of my plug-in in the setSample method, I have to store short data in a byte array. I am going about this in the correct way...according to Google. Yet, when I run the program the test Sys.out's I've put in the last two methods print to the console for a significant time before the error is received, which suggests that it has nothing to do with the way I'm converting the short data to byte[] data...right?
    import javax.media.Buffer;
    import javax.media.Control;
    import javax.media.Effect;
    import javax.media.Format;
    import javax.media.ResourceUnavailableException;
    import javax.media.format.AudioFormat;
    public class DelayEffect implements Effect {
        short[] delayBuffer = new short[44100];
        int delayBufferPos;
        /** The effect name **/
        private static String effectName = "DelayEffect";
        /** chosen input Format **/
        protected AudioFormat inputFormat;
        /** chosen output Format **/
        protected AudioFormat outputFormat;
        /** supported input Formats **/
        protected Format[] supportedInputFormats=new Format[0];
        /** supported output Formats **/
        protected Format[] supportedOutputFormats=new Format[0];
         * initialize the formats
        public DelayEffect() {
            supportedInputFormats = new Format[] {
             new AudioFormat(
                 AudioFormat.LINEAR,
                    Format.NOT_SPECIFIED,
                    16,
                    Format.NOT_SPECIFIED,
                    AudioFormat.BIG_ENDIAN,
                    AudioFormat.SIGNED,
                    16,
                    Format.NOT_SPECIFIED,
                    Format.byteArray
            supportedOutputFormats = new Format[] {
             new AudioFormat(
                 AudioFormat.LINEAR,
                    Format.NOT_SPECIFIED,
                    16,
                    Format.NOT_SPECIFIED,
                    AudioFormat.BIG_ENDIAN,
                    AudioFormat.SIGNED,
                    16,
                    Format.NOT_SPECIFIED,
                    Format.byteArray
         * get the resources needed by this effect
        public void open() throws ResourceUnavailableException {
         * free the resources allocated by this codec
        public void close() {
         * reset the codec
        public void reset() {
         * no controls for this simple effect
        public Object[] getControls() {
            return (Object[]) new Control[0];
         * Return the control based on a control type for the effect.
         *@param controlType The type of control.
        public Object getControl(String controlType) {
            try {
                Class cls = Class.forName(controlType);
                Object cs[] = getControls();
                for (int i = 0; i < cs.length; i++) {
                    if (cls.isInstance(cs))
    return cs[i];
    return null;
    } catch (ClassNotFoundException e) { // no such controlType or such control
    return null;
    /************** format methods *************/
    * Set the input format
    * @param input The input format.
    public Format setInputFormat(Format input) {
    // the following code assumes valid Format
    inputFormat = (AudioFormat)input;
    return (Format)inputFormat;
    * Set the output format
    * @param output The output format
    public Format setOutputFormat(Format output) {
    // the following code assumes valid Format
    outputFormat = (AudioFormat)output;
    return (Format)outputFormat;
    * Get the input format
    * @return Returns the input format.
    protected Format getInputFormat() {
    return inputFormat;
    * Get the output format
    * @return Returns the output format.
    protected Format getOutputFormat() {
    return outputFormat;
    * Supported input formats
    * @return Returns the supported input formats.
    public Format [] getSupportedInputFormats() {
    return supportedInputFormats;
    * Output Formats for the selected input format
    * @param in The requested input format.
    * @return Returns the supported output formats.
    public Format [] getSupportedOutputFormats(Format in) {
    if (! (in instanceof AudioFormat) )
    return new Format[0];
    AudioFormat iaf=(AudioFormat) in;
    if (!iaf.matches(supportedInputFormats[0]))
    return new Format[0];
         AudioFormat oaf= new AudioFormat(
         AudioFormat.LINEAR,
    iaf.getSampleRate(),
    16,
    iaf.getChannels(),
    AudioFormat.BIG_ENDIAN,
    AudioFormat.SIGNED,
    16,
    Format.NOT_SPECIFIED,
    Format.byteArray
    return new Format[] {oaf};
    * return effect name
    public String getName() {
    return effectName;
    public void clearDelayBuffer(){
         for (int i = 0; i < delayBuffer.length; i++){
              delayBuffer[i] = 0;
         delayBufferPos = 0;
    * Do the processing
    * @param inputBuffer The incoming buffer.
    * @param outputBuffer The processed buffer.
    * @return A status code..
    public int process(Buffer inputBuffer, Buffer outputBuffer){
    // == prolog
    byte[] inData = (byte[])inputBuffer.getData();
    int inLength = inputBuffer.getLength();
    int inOffset = inputBuffer.getOffset();
    byte[] outData = validateByteArraySize(outputBuffer, inLength);
    int outOffset = outputBuffer.getOffset();
    int j = outOffset;
    int outLength = inLength;
    double decay = 0.5;
    int samplesNumber = inLength ; //44100 samples
    *// == main*
         short sample;
    for (int i= inOffset; i< inOffset + inLength;i+=2) {
         //update sample
         short oldSample = getSamples(inputBuffer, i);
         short newSample = (short)(oldSample + decay * delayBuffer[delayBufferPos]);
         setSample(inputBuffer, i, newSample);
         //update delay buffer
         delayBuffer[delayBufferPos] = newSample;
         outputBuffer.setData(delayBuffer);
         delayBufferPos++;
         if(delayBufferPos == delayBuffer.length){
              delayBufferPos = 0;
    // == epilog
    updateOutput(outputBuffer,outputFormat, outLength, outOffset);
    return BUFFER_PROCESSED_OK;
    protected byte[] validateByteArraySize(Buffer buffer,int newSize) {
    Object objectArray=buffer.getData();
    byte[] typedArray;
    if (objectArray instanceof byte[]) { // is correct type AND not null
    typedArray=(byte[])objectArray;
    if (typedArray.length >= newSize ) { // is sufficient capacity
    return typedArray;
    typedArray = new byte[newSize];
    buffer.setData(typedArray);
    return typedArray;
    protected void updateOutput(Buffer outputBuffer,
    Format format,int length, int offset) {
    outputBuffer.setFormat(format);
    outputBuffer.setLength(length);
    outputBuffer.setOffset(offset);
    public static short getSamples(Buffer inBuffer, int pos){
         byte[] buffer = (byte[]) inBuffer.getData();
         System.out.println("test");
         return (short) (((buffer[pos + 1]) << 8) | (buffer[pos]));
    public static void setSample(Buffer inBuffer, int pos, short sample){
         System.out.println("test2");
         byte[] buffer = (byte[]) inBuffer.getData();
         buffer[pos] = (byte) (sample & 0x00FF);
         buffer[pos + 1] = (byte)((sample>>8));

  • Mpeg audio not playing back correctly

    I just upgraded to CS6 and am doing my first project in it.
    I have a Sony HVR-Z1U camera which i recorded HDV to and have captured this into PPro using HDV capture settings
    Here is the result of the capture
    File Path: V:\HC2012\Show\Untitled Clip 04.mpeg
    Type: MPEG Movie
    File Size: 9.5 GB
    Image Size: 1440 x 1080
    Frame Rate: 29.97
    Source Audio Format: 48000 Hz - compressed - Stereo
    Project Audio Format: 48000 Hz - 32 bit floating point - Stereo
    Total Duration: 00:51:54:21
    Pixel Aspect Ratio: 1.3333
    When i try and play back the clip in CS6, the video comes out ok but the audio sounds like a chirp.
    If i right clip the clip and say to edit in Audition, it sounds fine
    If i play the file back from Explorer in Windows Media play it looks and sounds fine
    If i import the same file into CS5.5 it plays both video and audio fine.
    What am i doing wrong here?

    Try clearing your media cache files and see if that fixes the issue. You can do so by going up top inside premiere and going  to "edit>prefrences>media then click where it says "clean" under media cache datebase. This might fix the problem.

  • DVD Player audio track plays slower than Video and at transposed pitch

    I have a strange problem with DVD player. I have an opera DVD (not a commercial one - it is from a personal performance and is on a DVD-R disk)) which I put in my Mac Book Pro (OSX 10.5.6)and DVD Player played it fine. I wanted to try to convert the info on the DVD to extract a short section of the DVD. I went to Hand Brake and tried that, it told me I needed to install VLC which I did, Hand Brake then recoded the Files. Now when I insert the DVD though DVD Player starts automatically but plays the DVD audio at a slower speed and transposed lower. I have no idea why this is! Needless to say I do not want it playing slower. VLC also did not work very well with the audio so I have uninstalled the VLC program as it played the VOB files but the sound track was very wonky with the pitch shifting all over the place. How do I return to having DVD Player working properly?

    okay, I can help you a little bit. your dvd player (standalone) plays mpeg-2, I think, so
    in order for a disk to work in it, both the audio and video have to be combined into a whole package, which i think is video_ts.Using Toast, choose video, then dvd-video then drag n' drop, and it may work. As far as  i know, disk utility cannot make video dvd's, but  I may be wrong, and you may be right. I used iDVD, but there are probably other programs that may do as good a job of burning. Oh, and this is most important: Some blanks will work ok, and others won't. Verbatim, maxell ( I think) and Taiyo Yuden will work fine. the other ones are a gamble. I think what it's supposed to do is called muxing. I'm sure someone will correct me on this. You could try using "Burn" which is relatively cheap or Handbrake and see if that will do what you want to do. not that it's super important, but the amount of Ram in your machine is helpful too
    anyways, good luck
    John b

  • Audio tracks playing audio when there are no objects...!?

    Hi. I would be really grateful if anyone could help me with this problem as I have spent days and nights tearing my hair out so far.
    Basically, all my LSO's were created in Logic 6.4.3 and were working fine until (I think) I upgraded to 10.4.8. Since then I have just bought the upgrade to 7.2.3 to try and rectify this problem but still to no avail.
    What is happening is that in all my songs, I have tracks playing audio there is no audio object there. I also have audio objects that are not playing at all.
    The strange thing is that I have tried in Logic Express and there are no problems with the same songs.
    I have been using Logic since version 4 so am a relatively experienced user; I have tried all the obvious stuff (trashing prefs, permissions etc) as well as checking all my inputs, outputs etc in Logic itself. However, what has happened has ultimately changed all my songs in one go and has not been caused by any mistake in use.
    As I said, I am really desperate here and would be so grateful if someone can suggest how to overcome these issues.
    many thanks

    thanks for your reply.
    Everything is in order in the Mixer and Arrange window. I have checked the Environment and even tried building an Environment from scratch.
    I have removed all plugins to see if that is causing it but still nothing.
    As I say, exactly the same arrangements are playing fine (just as they used to!) in Logic Express but if I try in either 7.2.3 or go back to 6.4.3, I have this problem...
    Please keep the suggestions coming as I really don't know how I can sort this out and it affects all of my work (3 albums +)
    thanks again

  • Audio Tracks playing but instrument tracks almost mute - anybody had this?

    I have two audio tracks which are playing correctly but the instrment tracks are playing almost mute. I don' tthink I changed anything to cause this to happen... Any ideas? thanks

    ...

Maybe you are looking for

  • Ipod is not recgnized on computer or itunes

    i have had my ipod for over a year and had no problems and i went to sync my ipod when i plugged it into the usb a message popped up saying 1 of the usb devices attached to this computer has malfunctioned and windows doesnt recgonize it. and its not

  • My trackpad is not working it moves the arrow but I cannot click on anything or drag anything

    My trackpad is not working on my MacBook pro. I can get the arrow to move but I cannot open files or drag files when I click.

  • Import-Module WebAdministration question

    Hello all: I am writing a script that will copy files to a local root directory for a web app we have.  Once this is done, I want to refresh the application pool.  In reading on the process, I believe I would have to import the WebAdministration modu

  • HT201303 i need to change my payment info

    can,t change my payment info have new credit card will not allow me to change!

  • Excel Report from Forms

    My users have to create some simple reports invloving simple select with some group by clauses. They are not willing to learn report builder for that. What I have to give is a form where the user will make some selections of fields and criterias. Bas