metronome

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const PULSES_PER_QUARTER_NOTE = 24.0
View Source
const QUARTER_NOTES_PER_MEASURE = 4.0

Variables

This section is empty.

Functions

This section is empty.

Types

type Metronome

type Metronome struct {
	// contains filtered or unexported fields
}

func New

func New(stepemit func(int)) (m *Metronome)

func (*Metronome) Start

func (m *Metronome) Start()

func (*Metronome) Stop

func (m *Metronome) Stop()

func (*Metronome) UpdateTempo

func (m *Metronome) UpdateTempo(tempo float64)

Jump to

Keyboard shortcuts

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