Umfeld v2.6.0 Released

UPDATE: in the meantime Umfeld v2.6.2 has been released with a hotfix for flipped color channels and Homebrew integration.
we have just released Umfeld v2.6.0
apart from the fact that it has REALLY matured now. two other great things happend. one, we have migrated Umfeld to codeberg.org now. feels good and you can find all related repositories here now: https://codeberg.org/Umfeld and two we have just received funding from HfK to improve documentation and integration. PS Umfeld now also has its own website at https://umfeld.org
Release Notes Umfeld v2.6.0
- moved entire Umfeld project to codeberg.org ( away from GitHub 👋 )
audioEvent()is now removed and fully replaced byaudioEvent(PAudio*)( ⚠️ breaking change ⚠️ )- legacy audio properties are now removed ( ⚠️ breaking change ⚠️ )
- audio devices can now have different audio acquisition mode
AUDIO_BLOCK,AUDIO_PER_SAMPLE_NO_INPUTorAUDIO_PER_SAMPLE_WITH_INPUT. the mode can be set withaudio_sample_acquisition_mode.- callback for
AUDIO_BLOCKisvoid audioEvent(const PAudio& audio) - callback for
AUDIO_PER_SAMPLE_NO_INPUTisaudioEvent(float& left, float& right) - callback for
AUDIO_PER_SAMPLE_WITH_INPUTisvoid audioEvent(float& input_left, float& input_right, float& output_left, float& output_right)
- callback for
- fixed PDF and OBJ exporter ( there are still )
text()now ignores stroke state ( i.e no need to callnoStroke()anymore before rendering text )- color type is now called
color_t( which is a 32-bit unsigned integer akauint32_t) - color-related functions ( i.e
color(...),stroke(...),fill(...)andbackground(...)) are now more stable and also acceptcolor_te.g:color_t c = color(255, 0, 0); fill(c); colorMode()is now fully implemented- default color mode is now
colorMode(RGB, 255.0, 255.0, 255.0, 255.0)( used to becolorMode(RGB, 1.0, 1.0, 1.0, 1.0)) ( ⚠️ breaking change ⚠️ ) color()function can now also be used outside ofsetup()anddraw()and uses default color mode ( i.ecolorMode(RGB, 255.0, 255.0, 255.0, 255.0))setupand event functions ( e.gmousePressed) can now handle draw commands- fixed issue where
setup()was omitted when graphics were disabled - different string types can now be compared with
equals(a, b) - fixed BAUD rate bug in
Serial UP,DOWN,LEFTandRIGHTnow work withkeyCodePFontcan now be loaded from URLs as well- sketch path ( i.e path to
datafolder ) can now be set withset_sketch_path(path) - fixed filled
arc()drawing Samplenow has ais_done()method