Package de.sciss.meloncillo.io

Examples of de.sciss.meloncillo.io.DecimatedTrail$AsyncListener


//    init();
  }

  protected void checkDecimatedTrails()
  {
    final DecimatedTrail dt;
   
    if( waveExpanded ) {
// EEE
//      if( verticalScale == PrefsUtil.VSCALE_FREQ_SPECT ) {
//        if( doc.getDecimatedSonaTrail() == null ) {
View Full Code Here


 
// ------------- DecimatedTrail.AsyncListener interface -------------

  public void asyncFinished( DecimatedTrail.AsyncEvent e )
  {
    final DecimatedTrail dt = e.getDecimatedTrail();
    dt.removeAsyncListener( this );
    if( dt == asyncTrail ) asyncTrail = null;
    updateOverviews( false, true );
  }
View Full Code Here

  // Sync: syncs to tl / tc / mte
    private void loadFrames( boolean justBecauseOfResize )
    {
        Span      span;
//    AudioTrail    at    = trns.getTrackEditor();
        final DecimatedTrail  dt  = trns.getDecimatedWaveTrail();
       
        if( trns != null ) {
      if( !doc.bird.attemptShared( Session.DOOR_TIMETRNSMTE, 200 )) return;
      try {
                span = doc.timeline.getVisibleSpan();
        // wir fordern eine subsample version des zeitausschnitts
        // an, die mindestens 3/2 frames der aktuellen darstellungsbreite
        // enthaelt. dies ist ein guter kompromiss zwischen
        // darstellungsgenauigkeit und -geschwindigkeit
        rate = doc.timeline.getRate();
        info = dt.getBestSubsample( span, getWidth() * 3 / 2 );
        if( info.sublength != frameBuf[0].length ) {
          frameBuf[0] = new float[(int) info.sublength];
          frameBuf[1] = new float[(int) info.sublength];
        } else {
          if( justBecauseOfResize ) return;   // info.sublength didn't change
View Full Code Here

TOP

Related Classes of de.sciss.meloncillo.io.DecimatedTrail$AsyncListener

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.