Package de.sciss.eisenkraut.io

Examples of de.sciss.eisenkraut.io.BlendContext


      if( maxLeft + maxRight > blendLen ) {
        maxLeft  = (long) (maxLeft * (double) blendLen / (maxLeft + maxRight) + 0.5 );
        maxRight= blendLen - maxLeft;
      }
    }
    return new BlendContext( maxLeft, maxRight, CurvePanel.getControlPoints( prefs ) );
  }
View Full Code Here


  {
    prConsumer    = source.context.getConsumer();
    prTotalSpan    = source.context.getTimeSpan();
   
//    prBlend      = new BlendContext( prTotalSpan.getLength(), CurvePanel.getControlPoints( prefs ));
    prBlend      = new BlendContext( prTotalSpan.getLength(), 0, CurvePanel.getControlPoints( prefs ));
    prBuf      = new float[ source.numAudioChannels ][];

    return prConsumer.consumerBegin( source );
  }
View Full Code Here

      final AbstractCompoundEdit  edit;
      final Flag          hasSelectedAudio;
      final List          tis;
      final boolean        expTimeline, cutTimeline;
      final long          docLength, pasteLength, preMaxLen, postMaxLen;
      final BlendContext      bcPre, bcPost;
     
      hasSelectedAudio  = new Flag( false );
      tis          = Track.getInfos( selectedTracks.getAll(), tracks.getAll() );
      if( !AudioTracks.checkSyncedAudio( tis, mode == EDIT_INSERT, null, hasSelectedAudio )) return null;
View Full Code Here

      final ClipboardTrackList    tl          = (ClipboardTrackList) context.getClientArg( "tl" );
      final long            insertPos      = ((Long) context.getClientArg( "pos" )).longValue();
      final int            mode        = ((Integer) context.getClientArg( "mode" )).intValue();
      final List            tis          = (List) context.getClientArg( "tis" );
      final AbstractCompoundEdit    edit        = (AbstractCompoundEdit) context.getClientArg( "edit" );
      final BlendContext        bcPre        = (BlendContext) context.getClientArg( "bcPre" );
      final BlendContext        bcPost        = (BlendContext) context.getClientArg( "bcPost" );
      final Span            insertSpan      = (Span) context.getClientArg( "insertSpan" );
      final Span            copySpan      = (Span) context.getClientArg( "copySpan" );
      final boolean          cutTimeline      = ((Boolean) context.getClientArg( "cut" )).booleanValue();
      final Span            cutTimelineSpan    = (Span) context.getClientArg( "cutSpan" );
      final long            delta        = insertPos - tl.getSpan().start;
View Full Code Here

    // XXX sync
    protected ProcessingThread initiate( String procName, Span span, int mode )
    {
      if( !checkProcess() ) return null;

      final BlendContext      bc;
      final long          cutLength, docLength, newDocLength, maxLen;
      final Flag          hasSelectedAudio;
      final List          tis;
      final AbstractCompoundEdit  edit;
      final boolean         cutTimeline;
View Full Code Here

    {
      final Span            span        = (Span) context.getClientArg( "span" );
      final int            mode        = ((Integer) context.getClientArg( "mode" )).intValue();
      final List            tis          = (List) context.getClientArg( "tis" );
      final AbstractCompoundEdit    edit        = (AbstractCompoundEdit) context.getClientArg( "edit" );
      final BlendContext        bc          = (BlendContext) context.getClientArg( "bc" );
      final long            left        = bc == null ? 0L : bc.getLeftLen();
      final long            right        = bc == null ? 0L : bc.getRightLen();
      final boolean          cutTimeline      = ((Boolean) context.getClientArg( "cut" )).booleanValue();
      final Span            cutTimelineSpan    = (Span) context.getClientArg( "cutSpan" );
      AudioTrail            audioTrail;
      Track.Info            ti;
      boolean              isAudio;
View Full Code Here

TOP

Related Classes of de.sciss.eisenkraut.io.BlendContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.