Package de.sciss.eisenkraut.io

Examples of de.sciss.eisenkraut.io.DecimatedSonaTrail


   
    if( waveExpanded ) {
      if( verticalScale == PrefsUtil.VSCALE_FREQ_SPECT ) {
        if( doc.getDecimatedSonaTrail() == null ) {
          try {
            final DecimatedSonaTrail dst = doc.createDecimatedSonaTrail();
            // set initial freq bounds of waveview
            waveView.setFreqMinMax( dst.getMinFreq(), dst.getMaxFreq() );
          }
          catch( IOException e1 ) {
            e1.printStackTrace();
          }
        }
View Full Code Here


 
  public DecimatedSonaTrail createDecimatedSonaTrail()
  throws IOException
  {
    if( dst == null ) {     
      dst  = new DecimatedSonaTrail( at, DecimatedTrail.MODEL_SONA /*, sonaDecims */ );
    }
    return dst;
  }
View Full Code Here

    }
  }

  private void paintFreqSpect( Graphics2D g2 )
  {
    final DecimatedSonaTrail  dt    = doc.getDecimatedSonaTrail();
    if( dt == null ) return;
   
    final int  w    = getWidth();
//    Rectangle  cr;
//    int      y;
   
    info  = dt.getBestSubsample( new Span( viewSpan.start, viewSpan.stop + 1 ), w );
    dt.drawWaveform( info, this, g2 );

// XXX
//    if( nullLinie ) {
//      g2.setPaint( pntNull );
//      g2.setStroke( strkNull );
View Full Code Here

TOP

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

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.