Skip to content

Mégra 0.0.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@the-drunk-coder the-drunk-coder released this 30 Sep 10:40
· 186 commits to main since this release

Changes for Mégra Version 0.0.10:

  • introduce progn
  • introduce match
  • introduce fun (function definition)
  • introduce callback (callback definition, same as fun but as a mnemonic)
  • introduce let (variable definition), defpart now maps to let (no change from user perspective)
  • introduce print
  • introduce midi helpers mtof, mtosym, veltodyn
  • introduce concat to concatenate symbols and strings
  • introduce map struct, pair constructor and insert method
  • add osc sender
  • add some extra types (f64, i32, i64) for osc sender
  • add osc receiver
  • osc callbacks (toplevel functions with args)
  • much more flexible midi callback (toplevel functions with args)
  • start midi port from language instead of from command line
  • negative playback rates for samples (can't believe I didn't think about that before ...)
  • (kinda) lazy evaluation for the arithmetic functions
  • 16-channel mode
  • arbitrary labels for learn
  • allow defining event mappings for learn as map
  • allow defining samples for learn as vec
  • sync on ctrl events
  • :tie flag for learn (auto-restart in case generator gets stuck)
  • reliable playback for long samples

Known Issues

Mégra will always look for an audio input device, and might not start on computers that don't have an audio input device. On laptops, which typically have an internal microphone, or using an external sound card that has both input and output, this shouldn't be an issue. On a computer like a Mac Mini, which doesn't have a built-in microphone, Mégra might not start without an external sound card (to be fixed in the future).