Feat/music mic#305
Open
bbstudioapp wants to merge 5 commits into
Open
Conversation
…s (PR2) Cœur DSP du micro (pur, testable) : onsets → BPM + phase + confiance via la longueur résultante des onsets projetés sur chaque période candidate. Plage BPM bornée pour limiter le repli d'octave. 6 tests (train propre, jitter, aléatoire, fenêtre glissante).
…aptatif (PR2) PCM mono → timestamps d'onsets (énergie par trame, flux demi-rectifié, seuil adaptatif EMA, période réfractaire). Streaming (trames incomplètes gardées). 4 tests sur click-tracks synthétiques (placement, silence, streaming, régularité).
…estable (PR2) BeatClock micro, cœur pur pilote par le PCM (horloge échantillons) : intro (écoute jusqu'au verrou confiant) → lecture (émet les battements, re-cale la dérive) ; gate(windowMs) pour ignorer nos bips. La capture micro réelle (record) sera une fine couche appelant feedPcm. 4 tests sur click-track (verrou, silence, gate, changement de tempo). Aucun changement de pubspec.
…issions (PR2) Câblage plateforme du mode micro (hors ligne, capture locale) : - record ^5.2.1 (PCM16 stream, echoCancel + noiseSuppress). - MicCapture : record stream → samples mono −1..1 → MicTempoSource.feedPcm. decodePcm16 pur + testé. - MusicSessionController : flag useMic ; en micro lance la capture (permission), expose isCalibrating, gate(70ms) autour de chaque bip. - Écran : SegmentedButton tap/micro, état d'intro « écoute… », SnackBar si permission refusée. i18n fr/en/de/es. - Permission RECORD_AUDIO (Android manifest) + NSMicrophoneUsageDescription (iOS). 699 tests verts, analyze propre. À tester sur appareil réel avec de la musique.
…cord 5.x) record 5.2.1 contraignait record_linux <1.0.0 (0.7.2, sans startStream) tout en tirant platform_interface 1.6.0 → erreur de compilation (RecordLinux missing startStream) même pour un build Android. record 6.2.1 résout record_linux 1.3.1 (cohérent). API MicCapture inchangée. Build APK debug OK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.