Skip to content

Releases: monome/crow

v3.0.0 beta 0

14 Jun 15:36
Compare
Choose a tag to compare
v3.0.0 beta 0 Pre-release
Pre-release

beta release of crow v3.0.0

some (kinda outdated) background #348

changelog

  • NEW norns-style clock support
  • NEW sequins library for building sequencers & arpeggiators
  • CHANGE ASL updated to v2. full audiorate support, dynamic vars, named parameters.
  • NEW public library for synchronizing variable state with a usb host (eg norns)
  • NEW just intonation support (functions, input.scale, output.scale)
  • NEW frequency detection mode input[1].mode('freq') --> input[1].freq(hz) ... end. notes
  • FIX calibration engine overhauled. more accurate & scriptable in lua. example.
  • CHANGE userscript storage space is doubled to 16k characters
  • FIX RAM usage is dramatically reduced for more runtime memory
  • NEW routines for sending raw i2c messages @csboling
  • FIX ADC timing & accuracy improvement (lower latency & less noise)
  • NEW output.scale can be updated with variable style output[n].scale = {0,3,6,9}
  • FIX aliasing an ii device before using it would previously lead to an out-of-memory crash
  • FIX v = output[n].volts now returns the actual voltage at the output jack (shaped & scaled)
  • NEW up to four ii.crow followers are now supported

breaking changes

  • NEW ASL2 no longer supports functions as values (use dyn and mutable instead)
  • FIX delay() lib function so it doesn't repeat twice

Version 2.2.0

05 May 22:56
Compare
Choose a tag to compare

Primarily a maintenance update, pulling in some bugfixes & tooling updates.

New 'raw' communication with ii is especially useful for anyone developing a new ii-enabled device without needing to build a new firmware. See the PR for details. Full documentation coming with next release.

  • NEW ii.raw and ii.event_raw for communicating to ii devices without native support @csboling
  • FIX uploaded userscripts could cause boot to fail, requiring force-bootloader
  • FIX delay function would execute 1 too many times
  • FIX input readings are more stable & accurate

Version 2.1.2

02 Mar 19:05
Compare
Choose a tag to compare

Patch update to fix missing Disting EX support

See v2.1.1 for full details.

Version 2.1.1

01 Feb 16:44
Compare
Choose a tag to compare

NB: hot-fix for modules that wouldn't enumerate after the 2.1.0 update


This update primarily adds support for new ii devices: W/2 (wtape, wdel, wsyn), Disting EX (disting), and multiple crows (crow). Full docs are forthcoming, but for now you can inquire on-device by sending ii.<device>.help() (eg. ii.wtape.help() to see the full supported API for that device.

crow to crow communication

Communication from crow to crow enables:

  • expanded I/O capabilities: ii.crow.volts(...), ii.crow.slew(...) and ii.crow.input(...)
  • high-level I/O helpers: ii.crow.pulse(...), ii.crow.ar(...), ii.crow.lfo(...)
  • generic commands: ii.crow.call1(...), ii.crow.call2(...), ii.crow.call3(...), ii.crow.call4(...)
  • generic requests: ii.crow.query0(), ii.crow.query1(...), ii.crow.query2(...), ii.crow.query3(...)

The I/O commands above are handled automatically, so the second crow doesn't need a script running at all. You can also send ii.crow.reset() to make sure the second crow isn't running First or some other uploaded script.

Using the ii.crow.input(ch) query, will respond with the event ii.crow.event( event ) as is customary for ii devices.

When the above I/O behaviours aren't sufficient for your uses, you can use the generic commands & requests. These require you to upload a script onto the second crow that handles the generic events. Do so by re-defining the functions:

ii.self.call(...) -- where ... are the received arguments (not a table)
ii.self.query(...) -- this function should return the value to be sent back over ii

This feature is marked as 'Early Access' as the command list may change somewhat after we receive more feedback of it in use. Everything works as described, but we welcome your feedback if you can improve things.

For those using crow with norns, you'll need the (TBD) release or later to take advantage of the new ii features.

Log

  • NEW ii support for W/2.0 firmware
  • NEW [Early Access] ii support for Disting EX
  • NEW [Early Access] ii support for crow to crow communication
  • FIX ii transmission speed increased to 400kHz (was ~90kHz)
  • FIX setting metro time to zero no longer causes crash (clamps to 500uS)
  • FIX crow.reset() now resets output[n].scale to 'none'

Version 2.1.0

31 Jan 02:15
e5c9366
Compare
Choose a tag to compare
Version 2.1.0 Pre-release
Pre-release

This update primarily adds support for new ii devices: W/2 (wtape, wdel, wsyn), Disting EX (disting), and multiple crows (crow). Full docs are forthcoming, but for now you can inquire on-device by sending ii.<device>.help() (eg. ii.wtape.help() to see the full supported API for that device.

crow to crow communication

Communication from crow to crow enables:

  • expanded I/O capabilities: ii.crow.volts(...), ii.crow.slew(...) and ii.crow.input(...)
  • high-level I/O helpers: ii.crow.pulse(...), ii.crow.ar(...), ii.crow.lfo(...)
  • generic commands: ii.crow.call1(...), ii.crow.call2(...), ii.crow.call3(...), ii.crow.call4(...)
  • generic requests: ii.crow.query0(), ii.crow.query1(...), ii.crow.query2(...), ii.crow.query3(...)

The I/O commands above are handled automatically, so the second crow doesn't need a script running at all. You can also send ii.crow.reset() to make sure the second crow isn't running First or some other uploaded script.

Using the ii.crow.input(ch) query, will respond with the event ii.crow.event( event ) as is customary for ii devices.

When the above I/O behaviours aren't sufficient for your uses, you can use the generic commands & requests. These require you to upload a script onto the second crow that handles the generic events. Do so by re-defining the functions:

ii.self.call(...) -- where ... are the received arguments (not a table)
ii.self.query(...) -- this function should return the value to be sent back over ii

This feature is marked as 'Early Access' as the command list may change somewhat after we receive more feedback of it in use. Everything works as described, but we welcome your feedback if you can improve things.

For those using crow with norns, you'll need the (TBD) release or later to take advantage of the new ii features.

Log

  • NEW ii support for W/2.0 firmware
  • NEW [Early Access] ii support for Disting EX
  • NEW [Early Access] ii support for crow to crow communication
  • FIX ii transmission speed increased to 400kHz (was ~90kHz)
  • FIX setting metro time to zero no longer causes crash (clamps to 500uS)
  • FIX crow.reset() now resets output[n].scale to 'none'

Version 2.0.0

13 Jul 21:19
030b36e
Compare
Choose a tag to compare

This update adds a host of new input modes, output quantization and improved/extended ii support.

Input 'window' is great for parameter selectors. Input 'scale' turns crow into a highly reconfigurable quantizer. Input 'volume' and 'peak' allow patching audio signals to the inputs, and analyzing their RMS level ('volume' is analogous to 'stream', and 'peak' to 'change', but operating in the RMS time domain).

Output 'scale' squeezes the output through a highly configurable voltage quantizer. The quantization comes after the slew engine (ASL), so LFOs can easily be converted into arpeggios by simply applying the scale feature. Along with the 'shapes' of the v1.0.3 update, ASL is now useful for describing complex melodies in terms of contours rather than just notes.

ii support continues to improve. The bus is now more resilient to error conditions, and when things go wrong, it can recover more gracefully. New device support has been added for telex-O, W/2.0 and support for Just Friends 3.2 is included. The event handler for ii.<module>.get() requests has been updated to provide the full context of the request -- if you asked for 2 channels of data, each event includes which channel it's reporting from.

For those using crow with norns, you'll need the 200712 release or later to take advantage of these improvements.

Log:

NB: The default git branch from which releases are built is now known as main.

  • BREAKING metro no longer runs immediately after activation or modification

  • BREAKING ii getters that take params, return them (ii..event functions have changed)

  • NEW output 'scale' settings for quantizing CV outputs

  • NEW input mode: 'window'

  • NEW input mode: 'scale'

  • NEW input mode: 'volume'

  • NEW input mode: 'peak'

  • NEW ii support for Mannequins W/2.0 beta (likely to change)

  • NEW ii support for BPC Telex-O module @nordseele

  • NEW ii support for 16n faderbank (all 16 faders are now supported) @discohead

  • NEW ii support for monome ansible (up to 4 simultaneous devices)

  • NEW ii support for Mannequins Just Friends v3.2 features (multiple addresses & getters)

  • FIX after a bad ii get request, the ii bus now recovers

  • FIX after failed ii messages, crow reports debugging suggestions

  • FIX errors in init() correctly reported

  • FIX frozen scripts now timeout @csboling

  • FIX when running out of memory, Lua errors rather than crow crashing @csboling

  • FIX crow.reset() now sets input & ii-follower callbacks to default valules (fixes norns-clock bug)

  • FIX input/output calibration allows more dramatic offset correction

  • NEW errors now provide a traceback @csboling

  • NEW basic reporting of CPU utilization cputime()

  • CHANGE two additional metros / delays available (8 total)

Version 2.0 Release Candidate

22 Jun 23:28
1e622da
Compare
Choose a tag to compare
Pre-release

This update adds a host of new input modes, output quantization and improved/extended ii support.

Input 'window' is great for parameter selectors. Input 'scale' turns crow into a highly reconfigurable quantizer. Input 'volume' and 'peak' allow patching audio signals to the inputs, and analyzing their RMS level ('volume' is analogous to 'stream', and 'peak' to 'change', but operating in the RMS time domain).

Output 'scale' squeezes the output through a highly configurable voltage quantizer. The quantization comes after the slew engine (ASL), so LFOs can easily be converted into arpeggios by simply applying the scale feature. Along with the 'shapes' of the v1.0.3 update, ASL is now useful for describing complex melodies in terms of contours rather than just notes.

ii support continues to improve. The bus is now more resilient to error conditions, and when things go wrong, it can recover more gracefully. New device support has been added for telex-O, and support for Just Friends 3.2 is included. The event handler for ii.<module>.get() requests has been updated to provide the full context of the request -- if you asked for 2 channels of data, each event will tell you which channel it's reporting from.

The above features will be available to norns users in the next update (after June 22 2020).

Log:

NB: The default git branch from which releases are built is now known as main.

  • BREAKING metro no longer runs immediately after activation or modification

  • BREAKING ii getters that take params, return them

  • NEW output 'scale' settings for quantizing CV outputs

  • NEW input mode: 'window'

  • NEW input mode: 'scale'

  • NEW input mode: 'volume'

  • NEW input mode: 'peak'

  • NEW ii support for BPC Telex-O module @nordseele

  • NEW ii support for 16n faderbank (all 16 faders are now supported) @discohead

  • NEW ii support for monome ansible (up to 4 simultaneous devices)

  • NEW ii support for Mannequins Just Friends v3.2 features

  • FIX after a bad ii get request, the ii bus now recovers

  • FIX after failed ii messages, crow reports debugging suggestions

  • FIX errors in init() correctly reported

  • FIX frozen scripts now timeout @csboling

  • FIX when running out of memory, Lua errors rather than crow crashing @csboling

  • NEW errors now provide a traceback @csboling

  • NEW basic reporting of CPU utilization cputime()

  • CHANGE one additional metro / delay available (8 total)

Version 1.0.3

21 Jan 18:43
a3a902a
Compare
Choose a tag to compare

This update brings non-linear slopes to the ASL / output libraries. This enables snappier envelopes, sinewave LFOs, classic-portamento and much more. A number of ii updates are included, notably the ability to use multiples of devices that have assignable addresses (eg. an array of telex-I input devices). CPU usage has been dramatically reduced (~40%) at the expense of one user-assignable timer, resulting in an overall more responsive system (especially with very fast ASL outputs).

Log:

  • NEW 'shape' parameter for outputs (eg: output[n].shape = 'log')
  • NEW Kria ii commands extended (@csboling)
  • NEW multiples of the same ii device are addressable (eg. ii.txi[1] and ii.txi[2])
  • FIX CPU usage dramatically reduced (improves overall responsiveness)
  • FIX sending ii messages are now clamped to available range
  • CHANGE 6 timers are user accessible (for metro() and delay()). was 7.

Version 1.0.2

25 Nov 23:45
Compare
Choose a tag to compare

Main focus is on extending the ii system:

  • NEW devices supported: ER-301(ii.er301), TelexI(ii.txi), Ansible: Levels (ii.levels)
  • NEW i2c pullup resistors are enabled by default.
  • NEW if pullups deactivated, and crow detects insufficient pullup current, prints a user warning suggesting ii.pullup(1)
  • FIX Just Friends retune command now works correctly.
  • FIX Ansible channel indices are now 1-based
  • FIX ii commands are buffered to allow sending up to 16 messages at once

Other:

  • NEW delay(action, time, repeats) function which allows a provided function to be executed in the future, with an optional number of repeats (default 1).

v1.0.2b0

19 Nov 16:38
e6d9213
Compare
Choose a tag to compare
v1.0.2b0 Pre-release
Pre-release

Preliminary v1.0.2 release

Main focus is on extending the ii system:

  • NEW devices supported: ER-301(er301), TelexI(txi), Ansible: Levels (levels)
  • NEW user warning if crow detects no-pullups
  • FIX Just Friends retune command now works correctly.
  • FIX Ansible channel indices are now 1-based
  • FIX ii commands are buffered to allow sending up to 16 messages at once

Other:

  • NEW delay(time, action) function which allows a provided function to be executed in the future.