Renamed to hayleigh-dot-dev/elm-audio-graph. That is where the repository lives now. It has not been published as a package under the new name.
Versions published as pd-andy/elm-audio-graph still install under that name. 2 versions of 2 come from the new location (see their notes).
Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/hayleigh-dot-dev/elm-audio-graph.
What we checked: The repo moved to github.com/hayleigh-dot-dev/elm-audio-graph. Rebuilt with git archive from commit 7743caae91e8 of https://github.com/hayleigh-dot-dev/elm-audio-graph (zip prefix pd-andy-elm-audio-graph-a821efe/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 56b9f8697c5b54aaeb18d9942935960fb4fbf9b7.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/pd-andy/elm-audio-graph/zipball/1.0.1/
Info about the library.
To construct an Audio Graph, start with the emptyAudioGraph which has no
tracked connections and a singular Output node. The Output node represents
the Web Audio context destination and has a pre-defined Node.ID of "_output".
type alias Model =
AudioGraph
init : Model
init =
emptyAudioGraphRepresents a connection from one audio node to another. Simply a type alias for a tuple of tuples. Each inner tuple contains a NodeID and a channel number that corresponds either to an output (left tuple) or input (right tuple).
Refer to individual audio nodes for a list of input/output channels.
Helper function to create a connection.
Insert a new node into the audio graph. Returns a new audio graph with the added node.
Note: This will replace an existing node of the same Node.ID.
Look up a node in the audio graph by Node.ID. Returns Just Node if found or
Nothing if not.
Remove a node from the audio graph. This is a NoOp if no node with the supplied Node.ID exists in the graph. Returns a new audio graph with the matching node removed.
Add a connection to the audio graph. Currently there is no guard against duplicate connections, this is planned for the future.
Remove a connection from the audio graph.
An
AudioGraphrepresents the structure of a Web Audio processing graph. It is very similar to the Graph Object Model available in the Soundstage javascript package.A dictionary of
Nodes stores all the currently registered graph nodes (more on those later), and a separate list tracks how Nodes are connected to one another.Typically you won't need to create more than one AudioGraph.