Class SignalProcessingUnitVoicePruner

java.lang.Object
com.softsynth.jmsl.jsyn2.SignalProcessingUnitVoicePruner

public class SignalProcessingUnitVoicePruner
extends java.lang.Object
Hand it a Vector of fully qualified JSyn UnitVoice classnames, and build two Vectors: one vector containing those classnames with input ports (ie. capable of signal processing) the other containing those classnames without input ports
Author:
Nick Didkovsky, July 2002, all rights reserved
  • Constructor Summary

    Constructors
    Constructor Description
    SignalProcessingUnitVoicePruner()  
  • Method Summary

    Modifier and Type Method Description
    static java.util.Vector getUnitSinkClassNames()  
    static java.util.Vector getUnitVoiceClassNames()  
    static void prune​(java.util.Vector unitVoiceClassNames)
    generate two Vectors: one with signal processing and one containing those without an input

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SignalProcessingUnitVoicePruner

      public SignalProcessingUnitVoicePruner()
  • Method Details

    • prune

      public static void prune​(java.util.Vector unitVoiceClassNames) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
      generate two Vectors: one with signal processing and one containing those without an input
      Throws:
      java.lang.ClassNotFoundException
      java.lang.InstantiationException
      java.lang.IllegalAccessException
    • getUnitSinkClassNames

      public static java.util.Vector getUnitSinkClassNames()
      Returns:
      a Vector containing classnames of SynthNotes with a public input field. Call prune() first!
    • getUnitVoiceClassNames

      public static java.util.Vector getUnitVoiceClassNames()
      Returns:
      a Vector containing classnames of SynthNotes with NO public input field. Call prune() first!