-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Sim changes for forthcoming beta MicroPython release #113
base: main
Are you sure you want to change the base?
Commits on Mar 21, 2024
-
Work towards building on the audio-recording branch
On the basis that's as close as we can get to the beta for now. Still has HAL issues. One local change to MicroPython was needed to include mphal.h in modspeech - need to review how this works for the non-sim build as it seems like it should be included.
Configuration menu - View commit details
-
Copy full SHA for 699a2d7 - Browse repository at this point
Copy the full SHA 699a2d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 202c7fd - Browse repository at this point
Copy the full SHA 202c7fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41ff6b0 - Browse repository at this point
Copy the full SHA 41ff6b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 292addc - Browse repository at this point
Copy the full SHA 292addcView commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b73637d - Browse repository at this point
Copy the full SHA b73637dView commit details -
Initial steps towards microphone HAL
Audio format needs some investigation - MediaRecorder might not be the right approach.
Configuration menu - View commit details
-
Copy full SHA for 1b9465a - Browse repository at this point
Copy the full SHA 1b9465aView commit details -
Microphone: get as far as reading samples
We'll still need to resample them and write them to the buffer.
Configuration menu - View commit details
-
Copy full SHA for 9cc4b2b - Browse repository at this point
Copy the full SHA 9cc4b2bView commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c971228 - Browse repository at this point
Copy the full SHA c971228View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3c4a79c - Browse repository at this point
Copy the full SHA 3c4a79cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aaa800 - Browse repository at this point
Copy the full SHA 7aaa800View commit details -
Configuration menu - View commit details
-
Copy full SHA for c562955 - Browse repository at this point
Copy the full SHA c562955View commit details -
Safari 13 compatible speech option
Needs testing but likely closes #110
Configuration menu - View commit details
-
Copy full SHA for 88e2baf - Browse repository at this point
Copy the full SHA 88e2bafView commit details -
Merge branch 'beta-updates' of https://github.com/microbit-foundation…
…/micropython-microbit-v2-simulator into beta-updates
Configuration menu - View commit details
-
Copy full SHA for 41e7ce3 - Browse repository at this point
Copy the full SHA 41e7ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2916e18 - Browse repository at this point
Copy the full SHA 2916e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a338e - Browse repository at this point
Copy the full SHA 62a338eView commit details
Commits on Apr 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8eb6fa7 - Browse repository at this point
Copy the full SHA 8eb6fa7View commit details -
Edge cases need checking. Requires a higher AUDIO_CHUNK_SIZE which has other consequences but 4ms is too short.
Configuration menu - View commit details
-
Copy full SHA for 26a4ee4 - Browse repository at this point
Copy the full SHA 26a4ee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cda4d2 - Browse repository at this point
Copy the full SHA 2cda4d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d232569 - Browse repository at this point
Copy the full SHA d232569View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19b095b - Browse repository at this point
Copy the full SHA 19b095bView commit details
Commits on Apr 3, 2024
-
Merge branch 'beta-updates' of https://github.com/microbit-foundation…
…/micropython-microbit-v2-simulator into beta-updates
Configuration menu - View commit details
-
Copy full SHA for 90292b6 - Browse repository at this point
Copy the full SHA 90292b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c30c59 - Browse repository at this point
Copy the full SHA 3c30c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f1baa3 - Browse repository at this point
Copy the full SHA 4f1baa3View commit details -
- Fix missing typescript types - Use Safari 13 compatible OfflineAudioContext constructor - this may prove pointless due to lack of < 44100 sample rate support, but is an easier starting point to try things out.
Configuration menu - View commit details
-
Copy full SHA for ef44717 - Browse repository at this point
Copy the full SHA ef44717View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5907c05 - Browse repository at this point
Copy the full SHA 5907c05View commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4ed8c93 - Browse repository at this point
Copy the full SHA 4ed8c93View commit details -
Activate sim mic light when recording
Passing this.microphone.microphoneOn/Off functions as BoardAudio constructors in board/index.ts didn't work for some reasons. The microphone element was flagged as being undefined. So instead I passed the element directly into the BoardAudio constructor, which worked.
Configuration menu - View commit details
-
Copy full SHA for aea7937 - Browse repository at this point
Copy the full SHA aea7937View commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8798367 - Browse repository at this point
Copy the full SHA 8798367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da3f33 - Browse repository at this point
Copy the full SHA 4da3f33View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6042086 - Browse repository at this point
Copy the full SHA 6042086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06b4549 - Browse repository at this point
Copy the full SHA 06b4549View commit details
Commits on May 24, 2024
-
- Use smaller buffer to avoid too much audio after wait=True - Don't reset nextStartTime to avoid overlapping audio - Add indirection to callback so we can clear it properly to avoid calling it when audio finishes after MicroPython has terminated
Configuration menu - View commit details
-
Copy full SHA for b887f22 - Browse repository at this point
Copy the full SHA b887f22View commit details
Commits on May 28, 2024
-
Update MicroPython to fix silent frames issue
Remove our workaround
Configuration menu - View commit details
-
Copy full SHA for 34e45b3 - Browse repository at this point
Copy the full SHA 34e45b3View commit details
Commits on Aug 19, 2024
-
Adjust build and samples for record/playback No HAL changes but the API has changed
Configuration menu - View commit details
-
Copy full SHA for 7d84c58 - Browse repository at this point
Copy the full SHA 7d84c58View commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 677585f - Browse repository at this point
Copy the full SHA 677585fView commit details
Commits on Aug 28, 2024
-
Resample via a libsamplerate (#117)
We need to do this for recording as we can't specify a rate. We need to do this for playback for sample rates outside of the browser's supported range. That includes the current default rate for Firefox and older Safari. Uses a resampler build that doesn't support medium/best to save on bundle size. I've also increased the buffer size so I can play a 44k sample in an OK-ish way. Maybe 256 will be needed. We know Firefox on Windows still performs poorly. It did badly with audio before these changes. Another significant issue is that it can take 3 seconds to call getUserMedia on Desktop Safari.
Configuration menu - View commit details
-
Copy full SHA for ab07528 - Browse repository at this point
Copy the full SHA ab07528View commit details