Package

de.sciss.fscape.lucre

graph

Permalink

package graph

Visibility
  1. Public
  2. All

Type Members

  1. final case class Action(trig: GE, key: String) extends Expander[Unit] with Product with Serializable

    Permalink

    A graph element that executes an action upon receiving a trigger.

    A graph element that executes an action upon receiving a trigger.

    trig

    the trigger input signal

    key

    a key into the process' attribute map. the value peer stored at that location should be of type proc.Action

  2. final case class Attribute(key: String, default: Option[Default], fixed: Int) extends GE.Lazy with Product with Serializable

    Permalink
  3. final case class AudioFileIn(key: String) extends GE.Lazy with Product with Serializable

    Permalink
  4. final case class AudioFileOut(key: String, in: GE, fileType: GE = 1, sampleFormat: GE = 2, sampleRate: GE = 44100.0) extends GE.Lazy with Product with Serializable

    Permalink

    A graph element that creates a UGen writing to a file designated by an object attribute with a given key and the value being an Artifact.

    A graph element that creates a UGen writing to a file designated by an object attribute with a given key and the value being an Artifact.

    If the given file-type GE is -1, the type is determined by this artifact. For example, if the artifact's path ends in ".aif", the AIFF format will used, if the path ends in ".w64", then Wave64 will be used. The default is AIFF.

    If an AudioCue is found at the key, its spec will override file type, sample-format and rate.

    key

    the key into the enclosing object's attribute map, pointing to an Artifact or AudioCue

    in

    the signal to write

    fileType

    a file type id as given by AudioFileOut.id(). The default is -1 (auto-detect).

    sampleFormat

    a sample format id as given by AudioFileOut.id(). The default is 2 (32-bit Float).

    sampleRate

    the nominal sample-rate of the file. The default is 44100.

  5. final case class ImageFileIn(key: String) extends GE.Lazy with Product with Serializable

    Permalink
  6. final case class ImageFileOut(key: String, in: GE, width: GE, height: GE, fileType: GE = 1, sampleFormat: GE = 0, quality: GE = 80) extends Expander[Unit] with Product with Serializable

    Permalink

    A graph element that creates a UGen writing to a file designated by an object attribute with a given key and the value being an Artifact.

    A graph element that creates a UGen writing to a file designated by an object attribute with a given key and the value being an Artifact.

    If the given file-type GE is -1, the type is determined by this artifact. For example, if the artifact's path ends in ".png", the PNG format will used, if the path ends in ".jpg", then JPEG will be used. The default is PNG.

    key

    the key into the enclosing object's attribute map, pointing to an Artifact

    in

    the signal to write

    width

    image's width in pixels

    height

    image's height in pixels

    fileType

    a file type id as given by ImageFileOut.id(). The default is -1 (auto-detect).

    sampleFormat

    a sample format id as given by ImageFileOut.id(). The default is 0 (8-bit Int).

    quality

    the compression quality for a lossy format such as JPG. The default is 80.

  7. final case class ImageFileSeqIn(key: String, indices: GE) extends GE.Lazy with Product with Serializable

    Permalink

    Reads a sequence of images, outputting them directly one after the other, determining their file names by formatting a template taken from an artifact stored in the object's attribute map at key, with a numeric argument given through indices.

    Reads a sequence of images, outputting them directly one after the other, determining their file names by formatting a template taken from an artifact stored in the object's attribute map at key, with a numeric argument given through indices.

    key

    key into the FScape object's attribute map, where an Artifact should be stored. The artifact's file name is taken as a template. Either that file contains a single placeholder for java.util.Formatter syntax, such as %d to insert an integer number. Or alternatively, if the file name does not contain a % character but a digit or a sequence of digits, those digits will be replaced by %d to produce a valid template. Therefore, if the template is foo-123.jpg and the indices contain 4 and 5, then the UGen will read the images foo-4 and foo-5 (the placeholder 123 is irrelevant).

  8. final case class ImageFileSeqOut(key: String, in: GE, width: GE, height: GE, fileType: GE = 1, sampleFormat: GE = 0, quality: GE = 80, indices: GE) extends Expander[Unit] with Product with Serializable

    Permalink

    A graph element that creates a UGen writing to a file sequence designated by an object attribute with a given key and the value being an Artifact.

    A graph element that creates a UGen writing to a file sequence designated by an object attribute with a given key and the value being an Artifact.

    If the given file-type GE is -1, the type is determined by this artifact. For example, if the artifact's path ends in ".png", the PNG format will used, if the path ends in ".jpg", then JPEG will be used. The default is PNG.

    key

    the key into the enclosing object's attribute map, pointing to an Artifact for the file template. The artifact's file name is taken as a template. Either that file contains a single placeholder for java.util.Formatter syntax, such as %d to insert an integer number. Or alternatively, if the file name does not contain a % character but a digit or a sequence of digits, those digits will be replaced by %d to produce a valid template. Therefore, if the template is foo-123.jpg and the indices contain 4 and 5, then the UGen will write the images foo-4 and foo-5 (the placeholder 123 is irrelevant).

    in

    the signal to write

    width

    image's width in pixels

    height

    image's height in pixels

    fileType

    a file type id as given by ImageFileSeqOut.id(). The default is -1 (auto-detect).

    sampleFormat

    a sample format id as given by ImageFileSeqOut.id(). The default is 0 (8-bit Int).

    quality

    the compression quality for a lossy format such as JPG. The default is 80.

  9. final case class MkAudioCue(key: String, in: GE, fileType: GE = 0, sampleFormat: GE = 2, sampleRate: GE = 44100.0) extends GE.Lazy with Reader with Product with Serializable

    Permalink

    A graph element that creates a UGen writing to an audio file designated by an FScape.Output with a given key and the value being an AudioCue.

    A graph element that creates a UGen writing to an audio file designated by an FScape.Output with a given key and the value being an AudioCue.

    key

    the key into the enclosing object's outputs map, producing an AudioCue

    in

    the signal to write

    fileType

    a file type id as given by MkAudioCue.id(). The default is 0 (AIFF). Must be resolvable at init time.

    sampleFormat

    a sample format id as given by MkAudioCue.id(). The default is 2 (32-bit Float). Must be resolvable at init time.

    sampleRate

    the nominal sample-rate of the file. The default is 44100. Must be resolvable at init time.

  10. final case class MkDouble(key: String, in: GE) extends Expander[Unit] with Reader with Product with Serializable

    Permalink
  11. final case class MkDoubleVector(key: String, in: GE) extends Expander[Unit] with Reader with Product with Serializable

    Permalink
  12. final case class MkInt(key: String, in: GE) extends Expander[Unit] with Reader with Product with Serializable

    Permalink
  13. final case class MkIntVector(key: String, in: GE) extends Expander[Unit] with Reader with Product with Serializable

    Permalink
  14. final case class MkLong(key: String, in: GE) extends Expander[Unit] with Reader with Product with Serializable

    Permalink
  15. final case class OnComplete(key: String) extends Expander[Unit] with Product with Serializable

    Permalink

    A UGen that invokes an action once the surrounding graph has completed.

    A UGen that invokes an action once the surrounding graph has completed. The action is called with a Try[Unit] as its universe value.

    key

    key to the hosting object's attribute map, at which an action is expected to be found.

Value Members

  1. object Action extends Serializable

    Permalink
  2. object Attribute extends Serializable

    Permalink
  3. object AudioFileIn extends Serializable

    Permalink
  4. object AudioFileOut extends Serializable

    Permalink
  5. object ImageFileIn extends Serializable

    Permalink
  6. object ImageFileOut extends Serializable

    Permalink
  7. object ImageFileSeqIn extends Serializable

    Permalink
  8. object ImageFileSeqOut extends Serializable

    Permalink
  9. object MkAudioCue extends Serializable

    Permalink
  10. object MkDouble extends Serializable

    Permalink
  11. object MkDoubleVector extends Serializable

    Permalink
  12. object MkInt extends Serializable

    Permalink
  13. object MkIntVector extends Serializable

    Permalink
  14. object MkLong extends Serializable

    Permalink
  15. object OnComplete extends Serializable

    Permalink
  16. object Ops

    Permalink

Ungrouped