FabGL2 2.0.0
Graphics, audio, GUI and retro-computing library for the ESP32 (ESP-IDF)
Loading...
Searching...
No Matches
drummachine.h File Reference

This file contains the sample based drum machine: DrumSample, DrumPattern and DrumMachine. More...

#include <stdint.h>
#include <stddef.h>
#include "fabglconf.h"
#include "soundgen.h"
Include dependency graph for drummachine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DrumMachine
 A sample based drum machine with a step sequencer. More...
struct  DrumPattern
 A drum pattern: up to 32 steps (1/16 notes) for 16 instruments. More...
class  DrumSample
 The sound of a drum instrument: 16 bit linear or 8 bit mu-law samples. More...

Enumerations

enum class  DrumSampleError {
  None , OpenFailed , InvalidFormat , Unsupported ,
  OutOfMemory , ReadError
}
 Result of DrumSample::loadWAV(). More...
enum class  DrumSampleFormat { PCM16 , MuLaw }
 Sample format of a DrumSample. More...

Detailed Description

This file contains the sample based drum machine: DrumSample, DrumPattern and DrumMachine.

Definition in file drummachine.h.