Class BVAClassName

java.lang.Object
com.softsynth.jsyn.util.VoiceAllocator
com.softsynth.jmsl.jsyn.BussedVoiceAllocatorMultiOut
com.softsynth.jmsl.jsyn.BVAClassName

public class BVAClassName
extends BussedVoiceAllocatorMultiOut
Deprecated.
use the pure Java JSyn2 package instead
VoiceAllocator for JSyn SynthNote whose output has one or more parts. Provide a classname as a String. Handles multipart SynthNote outputs, ie it creates a BusReader for each part of SynthNote.output. So SynthNotes whose output have more than one part can be supported (like a stereo panning SynthNote for example)
Author:
Nick Didkovsky 3/6/01 9:51AM, mods 9/14/2003
See Also:
AutopanningSawtooth
  • Constructor Summary

    Constructors
    Constructor Description
    BVAClassName​(int numVoices, java.lang.String className)
    Deprecated.
     
    BVAClassName​(int numVoices, java.lang.String className, com.softsynth.jsyn.SynthContext synthContext)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getClassName()
    Deprecated.
     
    static void main​(java.lang.String[] args)
    Deprecated.
     
    com.softsynth.jsyn.SynthCircuit makeVoice()
    Deprecated.
    SynthCircuit circuit = (SynthCircuit) (JMSLClassLoader.load(className).newInstance()); return addVoiceToMix(circuit);
    void setClassName​(java.lang.String className)
    Deprecated.
    counts number of output parts of circuit and calls setNumOutputs()

    Methods inherited from class com.softsynth.jsyn.util.VoiceAllocator

    allocate, allocate, allocate, allocate, clear, delete, free, free, getMaxVoices, getNthVoice, getNumVoices, steal, steal, steal, steal

    Methods inherited from class java.lang.Object

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

    • BVAClassName

      public BVAClassName​(int numVoices, java.lang.String className) throws com.softsynth.jsyn.SynthException
      Deprecated.
      Throws:
      com.softsynth.jsyn.SynthException
    • BVAClassName

      public BVAClassName​(int numVoices, java.lang.String className, com.softsynth.jsyn.SynthContext synthContext) throws com.softsynth.jsyn.SynthException
      Deprecated.
      Throws:
      com.softsynth.jsyn.SynthException
  • Method Details

    • setClassName

      public void setClassName​(java.lang.String className) throws com.softsynth.jsyn.SynthException
      Deprecated.
      counts number of output parts of circuit and calls setNumOutputs()
      Throws:
      com.softsynth.jsyn.SynthException
    • getClassName

      public java.lang.String getClassName()
      Deprecated.
    • makeVoice

      public com.softsynth.jsyn.SynthCircuit makeVoice() throws com.softsynth.jsyn.SynthException
      Deprecated.
       SynthCircuit circuit = (SynthCircuit) (JMSLClassLoader.load(className).newInstance());
       return addVoiceToMix(circuit);
       
      Specified by:
      makeVoice in class com.softsynth.jsyn.util.VoiceAllocator
      Throws:
      com.softsynth.jsyn.SynthException
    • main

      public static void main​(java.lang.String[] args)
      Deprecated.