Class AudioBrushLibraryLoader

java.lang.Object
net.paulhertz.pixelaudio.io.AudioBrushLibraryLoader

public final class AudioBrushLibraryLoader extends Object
Read AudioBrush library JSON format. Used in the example sketch Bagatelle.
  • Constructor Details

    • AudioBrushLibraryLoader

      private AudioBrushLibraryLoader()
  • Method Details

    • loadGestureLibrary

      public static AudioBrushLibraryLoader.LoadResult loadGestureLibrary(File folder)
      Loads all gesture JSON files in a folder, following linked configuration files when present.
      Parameters:
      folder - folder containing AudioBrush JSON files
      Returns:
      load result with brushes, skipped files, and messages
    • stripJson

      private static String stripJson(String name)