Skip to content

Conversation

@michalsek
Copy link
Member

@michalsek michalsek commented Oct 20, 2025

Closes #

⚠️ Breaking changes ⚠️

  • todo

Introduced changes

  • Adds option to record to files and makes audio callback optional
  • Smaller fixes around types and their exposure
  • Fixes issue with showing iOS lock screen controls while using only recorder
  • fixes eslint & ts setup

TODO list

  • Support for 2 (optional: 2< for external sources) channel input usage
  • Fix issue with recorder enforcing sample rate for entire audio system (iOS)
  • Refactor callback management to make it more foolproof (circular buffer etc.)
  • Remove unnecessary imports
  • Double check exported types (events, options, callbacks)
  • Record to file on android
  • Extract iOS file management to separate class (AudioAPIFile)
  • (Optional) merge together IOSAudioRecorder and NativeAudioRecorder
  • Recorder stop method should return the filepath
  • (Consider) AudioManager should provide API to go through/return list of files recorder with AudioRecorder on the device
  • (Optional/If necessary) Allow to use AnalyserNode with AudioRecorder without having to happy-hack-in unnecessary AudioContext
  • escape class/method names in this description with proper formatting
  • quality options
  • offload file writing and callback to separate threads
  • write file writing presets for each supported type
  • (Optional / Second interation) Recording chunks

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added/Conducted relevant tests
  • Performed self-review of the code
  • Updated Web Audio API coverage
  • Added support for web
@gabimoncha
Copy link
Contributor

big if true 🤘🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants