drummachine

package
v0.0.0-...-f64633d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package drummachine acts as a Sigourney audio source that can play drum samples.

See http://github.com/nf/sigourney for more information on the Sigourney audio synthesizer.

Index

Constants

View Source
const SampleRate = 44100

SampleRate holds the sample rate used by the audio samples, in samples per second.

Variables

This section is empty.

Functions

func New

func New(p *drum.Pattern, patchByName map[string][]audio.Sample) (audio.Processor, error)

New returns a new drum machine module that will repeatedly play the drum pattern p using the given patch samples.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL