ut-proj / undermidi Goto Github PK
View Code? Open in Web Editor NEWAn Erlang/LFE MIDI soft real time server for live play of MIDI devices
License: BSD 2-Clause "Simplified" License
An Erlang/LFE MIDI soft real time server for live play of MIDI devices
License: BSD 2-Clause "Simplified" License
This will use the new gen_server provided by the 'erlcmd-server' project.
Depends on:
Perform the same basic operations as done in the scales module, where note patterns/templates are given a key, converted to MIDI pitches, etc.
Depends on:
Right now, when you play a series of notes with timings (timer:sleep
) you block; it would be better to have this play in a spawned process ... that's going to take some work, though .. there's a good chance that #14 could solve this.
After looking at photos of Småland this morning, I became inspired and an explicit design for this long-standing wishlist item finally solidified in the old brain pan:
Infrastructure tasks:
Features:
Note that stopping playback on the beatracker and then resuming play will cause everything to be played over again, exactly as originally entered.
This design will be the long-sought union / convergence of live play (a la Extempore, SuperCollider, Overtone) and composition (choose your DAW or music notation software) ... essentially providing a very real REPL for musical composition and live-play/playback.
Tasks:
Part of #42
Related:
Part of:
I don't immediately see why, though. I think I have all dependencies.
➜ undermidi git:(release/0.2.x) make build
>> Building Go examples ...
make[1]: Entering directory '/home/afa/Erlang/plekto/undermidi/priv/go/src/github.com/ut-proj/midiserver'
>> Building bin/midiserver ...
# github.com/ut-proj/midiserver/internal/util
internal/util/signals.go:17:9: undefined: signal.NotifyContext
make[1]: *** [Makefile:43: bin/midiserver] Error 2
make[1]: Leaving directory '/home/afa/Erlang/plekto/undermidi/priv/go/src/github.com/ut-proj/midiserver'
make: *** [Makefile:70: build-go] Error 2
I.e,. transposing the MIDI conversion of the scales. This might simply entail adding another arity for um.scale:midi
...
I suspect this broke when the message formatting for batches changed.
Also, the example on the Go side is going to change, so we should update the LFE side to match:
Depends on:
Tasks:
Depends on:
Blocks:
Tasks:
Users shouldn't need to have Go installed in order to use the midiserver
Tasks:
midiserver
from source and how to run it from pre-compiled binariesRight now, um:scales
performs a lookup in the undertheory scales
module. We should let users provide their own sequence of notes (in the form of, e.g., (1 3 |#4| 5 b7)
, etc.). To do things, we'll need to readjust some things and create some new functions:
midi
to pitches
get
to create
pitches
create
to use new pitches
This need has arisen as a result of investigating implementation ideas for #16 -- chords are much more varied than scales and definitions are not consistent, so users will need to provide their own notes/forms even more there, than here with scales.
That being said, the majority of the logic will be shared between the two. So this change should take that info consideration:
um:scales
and into um
(or wherever else makes sense)um:scales
as necessaryPart of epic:
Tasks:
started_at
and stopped_at
transport
that's an empty list by defaultstart-track
and stop-track
will append to the transport
field, e.g., #(stop ,now)
)midiserver
midiserver
Depends on:
Features:
Depends on:
Blocks:
Resources:
Options:
parallel
function + macrobatch
parallel, and add a serial
function + macroDepends upon:
Tasks:
term_to_binary
encoders for nested tuples/listsgen_server
functionIn order to stop them at will, they'll need to be run by a controller / executor / supervision tree. Probably spawning dynamic children is all that's needed.
Depends on:
All messages in a give batch should get the same id. This will require a change to how messages are batched.
VCV is a free, open source modular synthesis framework (Eurorack emulator):
Specific support: MIDI control of the synth. See the MIDI plugins for more details:
Original issue created here:
This gen_server will be in charge of:
Tasks:
eprc
calls from LFE REPL (separate, non-undermidi node)undermidi/clock/ext.lfe
for tracking clock ticks
undermidi/clock/ext/beats.lfe
for song-specific features built on the clock tick gen_server's data
Follow-on work:
Resources:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.