microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Taku Fukada
56c898da80
Modify some Python stubs
2020-08-07 01:01:28 +09:00
Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
dherrada
d0d949cd24
Made every init return None
2020-07-03 14:23:34 -04:00
dherrada
3df03a5650
Made most of the requested changes
2020-07-03 13:49:00 -04:00
dherrada
9b4ffc0571
Changed unions to ReadableBuffer and WriteableBuffer
2020-07-02 17:47:52 -04:00
dherrada
54cb1feea0
Removed all 'self, )'
2020-07-02 13:28:36 -04:00
dherrada
522b17ca93
Made suggested changes
2020-07-02 13:25:07 -04:00
dherrada
ac113fdc81
Changed bytearray to a union
2020-07-02 12:39:17 -04:00
dherrada
b26ee6c1f6
Added type hints to audiocore
2020-07-02 12:02:02 -04:00
Jeff Epler
90571e7b7f
Various doc examples: Fix the "/ 18" copypasta bug
2020-05-27 16:43:35 -05:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
7ff9b9bc80
Did first 3
2020-04-29 17:36:28 -04:00
dherrada
aacca61598
Fixed whitespace on audiocore
2020-04-28 18:56:19 -04:00
dherrada
088b5b1785
Added inline pyi to audiocore
2020-04-27 16:49:12 -04:00
Jeff Epler
fa3b9eba92
ulab: Incorporate it
2020-02-27 11:03:03 -06:00
Jeff Epler
feb8eb935b
audiosample: convert to use a protocol
...
This eases addition of new sample sources, since the manual virtual
function dispatch functions are just calls via a protocol
2019-12-04 09:31:52 -06:00
sommersoft
f82c61732a
enable Mixer backwards compatibility (when audiomixer is available)
2019-08-31 16:06:16 -05:00
sommersoft
df5568d993
move Mixer & MixerVoice from 'audiocore' to 'audiomixer'
2019-08-24 23:36:18 -05:00
sommersoft
db32a79596
comment clean up
2019-08-24 16:21:30 -05:00
sommersoft
d02d474cac
fix MixerVoice 'get_playing'
2019-08-24 08:20:26 -05:00
sommersoft
93e557e167
docs: make MixerVoice.level a property
2019-08-24 07:57:55 -05:00
sommersoft
2c55b40a53
use a MixerVoice constructor
2019-08-24 07:56:12 -05:00
sommersoft
1ec4faee55
remove MixerVoice deinit & context managers
2019-08-22 17:59:19 -05:00
sommersoft
5cd04366fe
remove 'if float' pre-processor checks
2019-08-20 22:39:26 -05:00
sommersoft
e9efc2fe25
fix one more doc ref to audiocore
2019-08-20 08:32:20 -05:00
sommersoft
e92ef7b018
fix doc refs for audiocore
2019-08-19 22:04:06 -05:00
sommersoft
1b2996a75e
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
2019-08-19 21:23:27 -05:00
Dan Halbert
6b54e6749e
Merge pull request #2032 from pewpew-game/audiocore-buffer
...
Allow to specify pre-allocated buffer in audicore.WaveFile
2019-08-19 11:54:19 -04:00
Radomir Dopieralski
58b4cd4956
Improve docs for WaveFile buffer
2019-08-17 11:31:45 +02:00
sommersoft
065efb05b7
bring MixerVoice back to building state; update documentation
2019-08-03 11:20:06 -05:00
Radomir Dopieralski
9907e3fa28
Allow to specify pre-allocated buffer in audicore.WaveFile
...
It lets us re-use the same buffer for playing multiple files.
This also allows us to control the size of the buffer. Half of the
buffer will be used for the fist, and half for the second internal
buffer.
2019-08-03 14:15:19 +02:00
sommersoft
9939d0c4f4
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
2019-07-31 16:44:43 -05:00
Jeff Epler
91b7ba7dcc
docs: An audiocore.Mixer
suffices where another audio source would
2019-07-26 07:57:21 -05:00
Jeff Epler
a53720810b
docs: corrections that stem from the "audiocore" rename
2019-07-26 07:57:21 -05:00
Jeff Epler
6b44e40ee8
audiocore: Factor from audioio
...
When nrf pwm audio is introduced, it will be called `audiopwmio`. To
enable code sharing with the existing (dac-based) `audioio`, factor
the sample and mixer types to `audiocore`.
INCOMPATIBLE CHANGE: Now, `Mixer`, `RawSample` and `WaveFile` must
be imported from `audiocore`, not `audioio`.
2019-07-25 06:44:26 -05:00