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

Packages that use PixelAudioMapper.ChannelNames
Package
Description
net.paulhertz.pixelaudio
Core classes for PixelAudio, a Processing library that maps between sound and image data.
net.paulhertz.pixelaudio.example
Package `net.paulhertz.pixelaudio.example` provides example Processing sketches and demonstrations of PixelAudio library functionality.

- ## 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.
  `float[]`
  PixelAudioMapper.`mapImgToSigShifted(int[] img, float[] sig, PixelAudioMapper.ChannelNames fromChannel, int totalShift)`
  `int[]`
  PixelAudioMapper.`mapSigToImg(float[] sig, int[] img, PixelAudioMapper.ChannelNames toChannel)`
  Map signal values to a specified channel in the image using imageToSignalLUT.
  `int[]`
  PixelAudioMapper.`mapSigToImgShifted(float[] sig, int[] img, PixelAudioMapper.ChannelNames toChannel, int totalShift)`
  Shifted version: rotates along the signal path by totalShift without rotating the audio buffer or raster pixel array.
  `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 float[]`
  PixelAudioMapper.`pullPixelAsAudioShifted(int[] rgbPixels, float[] samples, int[] lut, PixelAudioMapper.ChannelNames chan, float[] hsbPixel, int totalShift)`
  `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.`pushAudioToChannelShifted(float[] samples, int[] rgbPixels, int[] lut, PixelAudioMapper.ChannelNames chan, int totalShift)`
  Shifted mapping: path position i reads samples[wrap(i + totalShift, n)] and writes to pixel lut[i].
  `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)`

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

  Fields in net.paulhertz.pixelaudio.example declared as PixelAudioMapper.ChannelNames
  Modifier and Type
  Field
  Description
  `(package private) PixelAudioMapper.ChannelNames`
  ArgosyMixer.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  Bagatelle.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  DeadBodyWorkFlow.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  LoadAudioToImage.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  LoadImageToAudio.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOne_01_FileIO.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOne_02_Animation.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOne_03_Drawing.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOne_04_Network.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOne_05_GesturePlayground.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOne_06_WindowBuffer.`chan`
  `(package private) PixelAudioMapper.ChannelNames`
  TutorialOneWindowBuffer.`chan`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Methods in net.paulhertz.pixelaudio.example with parameters of type PixelAudioMapper.ChannelNames
  Modifier and Type
  Method
  Description
  `void`
  TutorialOne_02_Animation.`renderAudioToMapImage(PixelAudioMapper.ChannelNames chan, int shift)`
  Render audio into mapImage at an arbitrary phase offset.
  `void`
  TutorialOne_03_Drawing.`renderAudioToMapImage(PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in audioSignal and writes it to color channel chan of mapImage.
  `void`
  TutorialOne_04_Network.`renderAudioToMapImage(PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in audioSignal and writes it to color channel chan of mapImage.
  `void`
  TutorialOne_05_GesturePlayground.`renderAudioToMapImage(PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in audioSignal and writes it to color channel chan of mapImage.
  `void`
  TutorialOne_06_WindowBuffer.`renderAudioToMapImage(PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in audioSignal and writes it to color channel chan of mapImage.
  `void`
  Bagatelle.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  DeadBodyWorkFlow.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  TutorialOne_01_FileIO.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  TutorialOne_02_Animation.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  TutorialOne_03_Drawing.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  TutorialOne_04_Network.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  TutorialOne_05_GesturePlayground.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  TutorialOne_06_WindowBuffer.`renderMapImageToAudio(PixelAudioMapper.ChannelNames chan)`
  Writes a specified channel of mapImage to audioSignal.
  `void`
  Bagatelle.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  Transcodes audio data in sig[] and writes it to color channel chan of mapImage using the lookup tables in mapper to redirect indexing.
  `void`
  DeadBodyWorkFlow.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  Transcodes audio data in sig[] and writes it to color channel chan of mapImage using the lookup tables in mapper to redirect indexing.
  `void`
  LoadAudioToImage.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  Transcodes audio data in sig[] and writes it to color channel chan of mapImage using the lookup tables in mapper to redirect indexing.
  `void`
  LoadImageToAudio.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  Transcodes audio data in sig[] and writes it to color channel chan of mapImage using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOne_01_FileIO.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  Transcodes audio data in sig[] and writes it to color channel chan of mapImage using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOne_02_Animation.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in sig[] and writes it to color channel chan of img using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOne_03_Drawing.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in sig[] and writes it to color channel chan of img using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOne_04_Network.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in sig[] and writes it to color channel chan of img using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOne_05_GesturePlayground.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  `void`
  TutorialOne_05_GesturePlayground.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in sig[] and writes it to color channel chan of img using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOne_06_WindowBuffer.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan, int shift)`
  Transcodes audio data in sig[] and writes it to color channel chan of img using the lookup tables in mapper to redirect indexing.
  `void`
  TutorialOneWindowBuffer.`writeAudioToImage(float[] sig, PixelAudioMapper mapper, processing.core.PImage img, PixelAudioMapper.ChannelNames chan)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Transcodes audio data in sig[] and writes it to color channel chan of mapImage using the lookup tables in mapper to redirect indexing.
  `void`
  ArgosyMixer.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan)`
  This method writes a color channel from the an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  Bagatelle.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  DeadBodyWorkFlow.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  LoadImageToAudio.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan)`
  This method writes a color channel from the an image to an audio signal, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOne_01_FileIO.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOne_02_Animation.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOne_03_Drawing.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOne_04_Network.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOne_05_GesturePlayground.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOne_06_WindowBuffer.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan, int shift)`
  This method writes a color channel from an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.
  `void`
  TutorialOneWindowBuffer.`writeImageToAudio(processing.core.PImage img, PixelAudioMapper mapper, float[] sig, PixelAudioMapper.ChannelNames chan)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  This method writes a color channel from the an image to playBuffer, fulfilling a central concept of the PixelAudio library: image is sound.