de.sciss.synth.Completion.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalacollider_2.9.2 Show documentation
Show all versions of scalacollider_2.9.2 Show documentation
A sound synthesis library for the SuperCollider server
The newest version!
package de.sciss.synth
import de.sciss.osc.Packet
object Completion {
implicit def fromPacket[T]( p: Packet ) = Completion[T]( Some( (_: T) => p ), None ) // message[T]( msg )
}
final case class Completion[ T ]( message: Option[ T => Packet ], action: Option[ T => Unit ])
© 2015 - 2025 Weber Informatics LLC | Privacy Policy