Package de.sciss.io

Examples of de.sciss.io.Marker


  throws IOException
  {
    final List  markStakes;
    final List  marks;
    final int  removed;
    Marker    mark;

//    final AudioFileDescr afd = af.getDescr();
   
    marks = (java.util.List) afd.getProperty( AudioFileDescr.KEY_MARKERS );
   
View Full Code Here


      for( ; argIdx < rom.msg.getArgCount(); argIdx++ ) {
        idx1  = ((Number) rom.msg.getArg( argIdx )).intValue();
        if( (idx1 >= 0) && (idx1 < trail.getNumStakes()) ) {
          coll.add( trail.get( idx1, true ));
        } else {
          coll.add( new Marker( -1, "" ));
        }
      }
      return oscGetMarkers( coll );
    }
    catch( ClassCastException e1 ) {
View Full Code Here

   *  Quick calculation : (1 &lt;&lt; 31 - 1) / 96000 / 60 / 60 --&gt; with 32bit signed ints, audio at 96 kHz can be represented if length doesn't exceed about 6 hours
   */
  private Object[] oscGetMarkers( List coll )
  {
    final Object[]  args = new Object[ coll.size() << 1 ];
    Marker      m;
    for( int i = 0, j = 0; i < args.length; j++ ) {
      m = (Marker) coll.get( j );
      args[ i++ ] = new Long( m.pos );
      args[ i++ ] = m.name;
    }
View Full Code Here

    public void actionPerformed( ActionEvent e )
    {
      Span      selSpan;
      UndoableEdit  edit;
      long      start, stop;
      Marker      mark;
      int        idx;

      if( !markVisible ) return;
   
      selSpan    = timelineSel; // doc.timeline.getSelectionSpan();
View Full Code Here

      Span      span, span2;
      long      pos, start, stop;
      UndoableEdit  edit;
      int        idx;
      Marker      mark;

      span        = timelineVis; // doc.timeline.getVisibleSpan();
      span2    = timelineSel; // doc.timeline.getSelectionSpan();
      pos      = span.getStart() + (long) (pt.getX() / getComponent().getWidth() *
                          span.getLength());
 
View Full Code Here

  throws IOException
  {
    final List  markStakes;
    final List  marks;
    final int  removed;
    Marker    mark;

//    final AudioFileDescr afd = af.getDescr();
   
    marks = (java.util.List) afd.getProperty( AudioFileDescr.KEY_MARKERS );
   
View Full Code Here

      Span      span, span2;
      long      pos, start, stop;
      UndoableEdit  edit;
      int        idx;
      Marker      mark;

      span        = timelineVis; // doc.timeline.getVisibleSpan();
      span2    = timelineSel; // doc.timeline.getSelectionSpan();
      pos      = span.getStart() + (long) (pt.getX() / getComponent().getWidth() *
                          span.getLength());
 
View Full Code Here

    public void actionPerformed( ActionEvent e )
    {
      Span      selSpan;
      UndoableEdit  edit;
      long      start, stop;
      Marker      mark;
      int        idx;

      if( !markVisible ) return;
   
      selSpan    = timelineSel; // doc.timeline.getSelectionSpan();
View Full Code Here

TOP

Related Classes of de.sciss.io.Marker

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.