pd-andy/elm-audio-graph/1.0.1

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/

AudioGraph.Encode

This module exposes two JSON encoders to encode the audio graph and its nodes. You'll typically only need to use encodeAudioGraph but encodeNode is also exposed for testing and other utilities purposes.

Encodes the supplied AudioGraph as a Json.Encode.Value. This is necessary when you want to send the graph through a port and construct the actual Web Audio implementation in javascript. See the advanced example for more details on how to do this.

encodeNode : Node -> Value

Encodes the supplied Node as a Json.Encode.Value. Rarely will you need to use this directly, but it is exposed for debugging and other fringe cases.