Skip to main content
Glama
emicklei

melrōse musical expression player

by emicklei
test_looper.go812 B
package core type TestLooper struct { Beats int64 Bars int64 Biab int64 } func (t *TestLooper) Tick() { t.Beats++ if t.Beats%t.Biab == 0 { t.Bars++ } } func (t *TestLooper) Start() {} func (t *TestLooper) Stop() {} func (t *TestLooper) Reset() { t.Beats = 0 t.Bars = 0 } func (t *TestLooper) SetBPM(bpm float64) {} func (t *TestLooper) BPM() float64 { return 120.0 } func (t *TestLooper) SetBIAB(biab int) { t.Biab = int64(biab) } func (t *TestLooper) BIAB() int { return int(t.Biab) } func (t *TestLooper) StartLoop(l *Loop) {} func (t *TestLooper) EndLoop(l *Loop) {} func (t *TestLooper) BeatsAndBars() (int64, int64) { return t.Beats, t.Bars } func (t *TestLooper) Plan(bars int64, seq Sequenceable) { } func (t *TestLooper) SettingNotifier(handler func(LoopController)) {}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emicklei/melrose'

If you have feedback or need assistance with the MCP directory API, please join our Discord server