Module

WAGS.Create

Package
purescript-wags
Repository
mikesol/purescript-wags

#CreateFoldingWithIndex Source

data CreateFoldingWithIndex

Constructors

Instances

#ThenConnectFoldingWithIndex Source

data ThenConnectFoldingWithIndex

Constructors

Instances

#create Source

create :: forall r audio engine proof res inGraph midGraph outGraph. AudioInterpret audio engine => HFoldlWithIndex CreateFoldingWithIndex (WAG audio engine proof res (Record inGraph) Unit) (Record r) (WAG audio engine proof res (Record midGraph) Unit) => HFoldlWithIndex ThenConnectFoldingWithIndex (WAG audio engine proof res (Record midGraph) Unit) (Record r) (WAG audio engine proof res (Record outGraph) Unit) => WAG audio engine proof res (Record inGraph) (Record r) -> WAG audio engine proof res (Record outGraph) Unit

Similar to create, but accepts a record with multiple units to create and connect.

#icreate Source

icreate :: forall r audio engine proof res inGraph midGraph outGraph. AudioInterpret audio engine => HFoldlWithIndex CreateFoldingWithIndex (WAG audio engine proof res (Record inGraph) Unit) (Record r) (WAG audio engine proof res (Record midGraph) Unit) => HFoldlWithIndex ThenConnectFoldingWithIndex (WAG audio engine proof res (Record midGraph) Unit) (Record r) (WAG audio engine proof res (Record outGraph) Unit) => Record r -> IxWAG audio engine proof res (Record inGraph) (Record outGraph) Unit

#Create' Source

class Create' (ptr :: Symbol) (node :: Type) (inGraph :: Graph) (outGraph :: Graph) | ptr node inGraph -> outGraph where

Create an audio unit node in igraph with index ptr, resulting in ograph.

Members

Instances

#icreate' Source

icreate' :: forall proxy ptr node audio engine proof res i o. AudioInterpret audio engine => Create' ptr node i o => proxy ptr -> node -> IxWAG audio engine proof res (Record i) (Record o) Unit