2025-11-01--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 by audioEvent(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_INPUT or AUDIO_PER_SAMPLE_WITH_INPUT. the mode can be set with audio_sample_acquisition_mode.
    • callback for AUDIO_BLOCK is void audioEvent(const PAudio& audio)
    • callback for AUDIO_PER_SAMPLE_NO_INPUT is audioEvent(float& left, float& right)
    • callback for AUDIO_PER_SAMPLE_WITH_INPUT is void audioEvent(float& input_left, float& input_right, float& output_left, float& output_right)
  • fixed PDF and OBJ exporter ( there are still )
  • text() now ignores stroke state ( i.e no need to call noStroke() anymore before rendering text )
  • color type is now called color_t ( which is a 32-bit unsigned integer aka uint32_t )
  • color-related functions ( i.e color(...), stroke(...), fill(...) and background(...) ) are now more stable and also accept color_t e.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 be colorMode(RGB, 1.0, 1.0, 1.0, 1.0) ) ( ⚠️ breaking change ⚠️ )
  • color() function can now also be used outside of setup() and draw() and uses default color mode ( i.e colorMode(RGB, 255.0, 255.0, 255.0, 255.0) )
  • setup and event functions ( e.g mousePressed ) 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, LEFT and RIGHT now work with keyCode
  • PFont can now be loaded from URLs as well
  • sketch path ( i.e path to data folder ) can now be set with set_sketch_path(path)
  • fixed filled arc() drawing
  • Sample now has a is_done() method