Skip to content

Commit 50496b8

Browse files
committed
update version to 1.0.8
1 parent dd8800e commit 50496b8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ play 16-bit audio samples at variable playback rates on teensy
1515
* [sd classes on wikipedia](https://en.wikipedia.org/wiki/SD_card#cite_ref-93)
1616

1717
## updates
18+
* 21/07/2021: v1.0.8: play method changed to playRaw and playWav, specify number of channels in parameters of playRaw
1819
* 13/07/2021: v1.0.7: added multi-channel resampling
1920
* 07/07/2021: v1.0.6: changed to using optimised floating point interpolation, sounds much better
2021
* 30/06/2021: v1.0.5: Optimised quadratic interpolation to use fixed pipeline of 4 samples and use integers instead of floating point
@@ -243,7 +244,7 @@ void setup() {
243244
void loop() {
244245
if (!rraw_a1.isPlaying()) {
245246
delay(1000);
246-
rraw_a1.play((int16_t *)kick_raw, kick_raw_len/2); //note: we give number of samples - NOT number of bytes!!!!
247+
rraw_a1.playRaw((int16_t *)kick_raw, kick_raw_len/2, 1); //note: we give number of samples - NOT number of bytes!!!! 1 is for mono (2 for stereo, etc)
247248
}
248249
}
249250
```

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": "sound, audio, sample, resample, pitch, interpolation, legrange, sampler, playback, speed",
66
"description": "Teensy Variable Playback",
77
"url": "https://github.com/newdigate/teensy-variable-playback",
8-
"version": "1.0.7",
8+
"version": "1.0.8",
99
"export": {
1010
"exclude": [
1111
".vscode",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=TeensyVariablePlayback
2-
version=1.0.7
2+
version=1.0.8
33
author=Nic Newdigate
44
maintainer=Nic Newdigate
55
sentence=Play samples at variable pitch using Teensy Audio Library

0 commit comments

Comments
 (0)