Package de.sciss.eisenkraut.timeline

Examples of de.sciss.eisenkraut.timeline.AudioTrack


  protected void documentUpdate()
  {
    final List        collChannelMeters;
    PeakMeter[]        meters;
    AudioTrackRowHeader    chanHead;
    AudioTrack        t;
    int            oldChannels, newChannels;
    Axis          chanRuler;
    PeakMeter        chanMeter;

    newChannels = doc.getDisplayDescr().channels;
View Full Code Here


   
    final List    collNewTracks  = new ArrayList();
    final int    numChannels    = at.getChannelNum();
    final double  deltaAngle    = 360.0 / numChannels;
    final double  startAngle    = numChannels < 2 ? 0.0 : -deltaAngle/2// reasonable for mono to octo
    AudioTrack    t;
   
    audioTracks.setTrail( at );
   
    for( int ch = 0; ch < at.getChannelNum(); ch++ ) {
//      t = new AudioTrack( at, ch );
      t = new AudioTrack( audioTracks, ch );
      t.setName( String.valueOf( ch + 1 ));
      t.getMap().putValue( source, AudioTrack.MAP_KEY_PANAZIMUTH, new Double( startAngle + ch * deltaAngle ));
      collNewTracks.add( t );
    }
    audioTracks.addAll( source, collNewTracks );
    tracks.addAll( source, collNewTracks );
    selectedTracks.addAll( source, collNewTracks );
View Full Code Here

TOP

Related Classes of de.sciss.eisenkraut.timeline.AudioTrack

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.