# Uses of Enum Class
net.paulhertz.pixelaudio.PixelAudioMapper.ChannelNames

Packages that use PixelAudioMapper.ChannelNames
Package
Description
net.paulhertz.pixelaudio
Package `net.paulhertz.pixelaudio` blends sounds and images by mapping between arrays of audio samples and arrays of pixel values.

- ## Uses of PixelAudioMapper.ChannelNames in net.paulhertz.pixelaudio

  Methods in net.paulhertz.pixelaudio that return PixelAudioMapper.ChannelNames
  Modifier and Type
  Method
  Description
  `static PixelAudioMapper.ChannelNames`
  PixelAudioMapper.ChannelNames.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static PixelAudioMapper.ChannelNames[]`
  PixelAudioMapper.ChannelNames.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in net.paulhertz.pixelaudio with parameters of type PixelAudioMapper.ChannelNames
  Modifier and Type
  Method
  Description
  `static int`
  PixelAudioMapper.`applyAudioToColor(float sample, int rgb, PixelAudioMapper.ChannelNames chan, float[] hsbPixel)`
  Helper method that applies a float audio sample to a pixel channel, using the channel name.
  `static int`
  PixelAudioMapper.`applyChannelToColor(int rgbSource, int rgbTarget, PixelAudioMapper.ChannelNames chan, float[] hsbPixel)`
  Helper method for applying a color channel from a to an RGB pixel.
  `static float`
  PixelAudioMapper.`extractColorAsAudio(int rgb, PixelAudioMapper.ChannelNames chan, float[] hsbPixel)`
  Helper method for color to audio operations, converts a color channel value to an audio value.
  `float[]`
  Argosy.`getArgosySignal(PixelAudioMapper.ChannelNames chan)`
  `float[]`
  Argosy.`getArgosySignal(PixelAudioMapper.ChannelNames chan, float scale)`
  `float[]`
  PixelAudioMapper.`mapImgToSig(int[] img, float[] sig, PixelAudioMapper.ChannelNames fromChannel)`
  Map current image pixel values to the signal, updating the signal array, deriving a value from specified color channel of the image.
  `int[]`
  PixelAudioMapper.`mapSigToImg(float[] sig, int[] img, PixelAudioMapper.ChannelNames toChannel)`
  Map signal values to a specified channel in the image using imageToSignalLUT.
  `void`
  PixelAudioMapper.`plantPixels(float[] sprout, int[] img, int signalPos, int length, PixelAudioMapper.ChannelNames toChannel)`
  Writes values from audio data array sprout into the specified channel of the img array at positions mapped by the signal path, starting at signalPos for the given length.
  `void`
  PixelAudioMapper.`plantPixels(int[] sprout, int[] img, int signalPos, int length, PixelAudioMapper.ChannelNames toChannel)`
  Writes values from RGB source array sprout into img at positions mapped by the signal path, using the specified channel.
  `void`
  PixelAudioMapper.`plantSamples(int[] sprout, float[] sig, int signalPos, int length, PixelAudioMapper.ChannelNames fromChannel)`
  Writes transcoded values from a specified channel of a color array (sprout) into an audio array (sig) starting at signalPos for the given length.
  `float[]`
  PixelAudioMapper.`pluckPixelsAsAudio(int[] img, int signalPos, int length, PixelAudioMapper.ChannelNames fromChannel)`
  Starting at `signalPos`, reads `length` values from pixel array `img` in signal order using `signalToImageLUT` to redirect indexing and then returns them as an array of transcoded float values.
  `static float[]`
  PixelAudioMapper.`pullPixelAsAudio(int[] rgbPixels, float[] samples, int[] lut, PixelAudioMapper.ChannelNames chan, float[] hsbPixel)`
  Converts an array of pixel channel values to an array of audio sample values, mapping sample values to the interval [-1.0, 1.0], using a supplied lookup table to change the order of resulting array.
  `static float[]`
  PixelAudioMapper.`pullPixelAsAudio(int[] rgbPixels, float[] samples, PixelAudioMapper.ChannelNames chan, float[] hsbPixel)`
  Converts an array of pixel channel values to an array of audio sample values, mapping sample values to the interval [-1.0, 1.0], with no remapping of array order.
  `static int[]`
  PixelAudioMapper.`pushAudioToChannel(float[] samples, int[] rgbPixels, int[] lut, PixelAudioMapper.ChannelNames chan)`
  Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from an array of floats, buf, that represent audio samples.
  `static int[]`
  PixelAudioMapper.`pushAudioToPixel(float[] samples, int[] rgbPixels, PixelAudioMapper.ChannelNames chan)`
  Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from an array of floats, buf, that represent audio samples.
  `static int[]`
  PixelAudioMapper.`pushChannelToPixel(int[] colors, int[] rgbPixels, int[] lut, PixelAudioMapper.ChannelNames chan)`
  Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from an array of RGB values, colors.
  `static int[]`
  PixelAudioMapper.`pushChannelToPixel(int[] colors, int[] rgbPixels, PixelAudioMapper.ChannelNames chan)`
  Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from another array of RGB values, colors.
  `void`
  PixelAudioMapper.`stampPixels(float[] stamp, int[] img, int x, int y, int w, int h, PixelAudioMapper.ChannelNames toChannel)`
  Pastes a source array of audio data into a specified color channel of a rectangular area of a destination image.
  `void`
  PixelAudioMapper.`stampPixels(int[] stamp, int[] img, int x, int y, int w, int h, PixelAudioMapper.ChannelNames toChannel)`
  Pastes a specified channel of a source array of RGB data into a rectangular area of a destination image (a standard operation).
  `void`
  PixelAudioMapper.`writeImgToSig(int[] img, float[] sig, PixelAudioMapper.ChannelNames fromChannel)`
  `void`
  PixelAudioMapper.`writeSigToImg(float[] sig, int[] img, PixelAudioMapper.ChannelNames toChannel)`