Skip to content

Commit b675a27

Browse files
authored
Merge pull request #2000 from jepler/nrf-pwm-audio
Implement PWM audio out for the nrf port
2 parents 347fbb6 + 77bc1ba commit b675a27

35 files changed

+1096
-80
lines changed

locale/ID.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
11+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -255,6 +255,7 @@ msgstr "Semua timer untuk pin ini sedang digunakan"
255255
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
256256
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
257257
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
258+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
258259
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
259260
#: shared-module/_pew/PewPew.c
260261
msgid "All timers in use"
@@ -329,6 +330,11 @@ msgstr ""
329330
msgid "Buffer incorrect size. Should be %d bytes."
330331
msgstr ""
331332

333+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
334+
#, c-format
335+
msgid "Buffer length %d too big. It must be less than %d"
336+
msgstr ""
337+
332338
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
333339
msgid "Buffer must be at least length 1"
334340
msgstr ""
@@ -951,6 +957,7 @@ msgid "Not connected"
951957
msgstr "Tidak dapat menyambungkan ke AP"
952958

953959
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
960+
#: shared-bindings/audiopwmio/PWMAudioOut.c
954961
msgid "Not playing"
955962
msgstr ""
956963

@@ -1080,6 +1087,7 @@ msgid "Sample rate must be positive"
10801087
msgstr ""
10811088

10821089
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1090+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10831091
#, c-format
10841092
msgid "Sample rate too high. It must be less than %d"
10851093
msgstr "Nilai sampel terlalu tinggi. Nilai harus kurang dari %d"

locale/circuitpython.pot

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
11+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -253,6 +253,7 @@ msgstr ""
253253
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
254254
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
255255
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
256+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
256257
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
257258
#: shared-module/_pew/PewPew.c
258259
msgid "All timers in use"
@@ -325,6 +326,11 @@ msgstr ""
325326
msgid "Buffer incorrect size. Should be %d bytes."
326327
msgstr ""
327328

329+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
330+
#, c-format
331+
msgid "Buffer length %d too big. It must be less than %d"
332+
msgstr ""
333+
328334
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
329335
msgid "Buffer must be at least length 1"
330336
msgstr ""
@@ -935,6 +941,7 @@ msgid "Not connected"
935941
msgstr ""
936942

937943
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
944+
#: shared-bindings/audiopwmio/PWMAudioOut.c
938945
msgid "Not playing"
939946
msgstr ""
940947

@@ -1060,6 +1067,7 @@ msgid "Sample rate must be positive"
10601067
msgstr ""
10611068

10621069
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1070+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10631071
#, c-format
10641072
msgid "Sample rate too high. It must be less than %d"
10651073
msgstr ""

locale/de_DE.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
10+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: Pascal Deneaux\n"
1313
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
@@ -255,6 +255,7 @@ msgstr "Alle timer für diesen Pin werden bereits benutzt"
255255
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
256256
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
257257
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
258+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
258259
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
259260
#: shared-module/_pew/PewPew.c
260261
msgid "All timers in use"
@@ -329,6 +330,11 @@ msgstr "Die Helligkeit ist nicht einstellbar"
329330
msgid "Buffer incorrect size. Should be %d bytes."
330331
msgstr "Der Puffergröße ist inkorrekt. Sie sollte %d bytes haben."
331332

333+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
334+
#, c-format
335+
msgid "Buffer length %d too big. It must be less than %d"
336+
msgstr ""
337+
332338
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
333339
msgid "Buffer must be at least length 1"
334340
msgstr "Der Puffer muss eine Mindestenslänge von 1 haben"
@@ -948,6 +954,7 @@ msgid "Not connected"
948954
msgstr "Nicht verbunden"
949955

950956
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
957+
#: shared-bindings/audiopwmio/PWMAudioOut.c
951958
msgid "Not playing"
952959
msgstr "Spielt nicht"
953960

@@ -1077,6 +1084,7 @@ msgid "Sample rate must be positive"
10771084
msgstr "Abtastrate muss positiv sein"
10781085

10791086
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1087+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10801088
#, c-format
10811089
msgid "Sample rate too high. It must be less than %d"
10821090
msgstr "Abtastrate zu hoch. Wert muss unter %d liegen"

locale/en_US.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
10+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -253,6 +253,7 @@ msgstr ""
253253
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
254254
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
255255
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
256+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
256257
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
257258
#: shared-module/_pew/PewPew.c
258259
msgid "All timers in use"
@@ -325,6 +326,11 @@ msgstr ""
325326
msgid "Buffer incorrect size. Should be %d bytes."
326327
msgstr ""
327328

329+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
330+
#, c-format
331+
msgid "Buffer length %d too big. It must be less than %d"
332+
msgstr ""
333+
328334
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
329335
msgid "Buffer must be at least length 1"
330336
msgstr ""
@@ -935,6 +941,7 @@ msgid "Not connected"
935941
msgstr ""
936942

937943
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
944+
#: shared-bindings/audiopwmio/PWMAudioOut.c
938945
msgid "Not playing"
939946
msgstr ""
940947

@@ -1060,6 +1067,7 @@ msgid "Sample rate must be positive"
10601067
msgstr ""
10611068

10621069
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1070+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10631071
#, c-format
10641072
msgid "Sample rate too high. It must be less than %d"
10651073
msgstr ""

locale/en_x_pirate.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
10+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: @sommersoft, @MrCertainly\n"
@@ -255,6 +255,7 @@ msgstr ""
255255
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
256256
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
257257
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
258+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
258259
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
259260
#: shared-module/_pew/PewPew.c
260261
msgid "All timers in use"
@@ -329,6 +330,11 @@ msgstr ""
329330
msgid "Buffer incorrect size. Should be %d bytes."
330331
msgstr ""
331332

333+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
334+
#, c-format
335+
msgid "Buffer length %d too big. It must be less than %d"
336+
msgstr ""
337+
332338
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
333339
msgid "Buffer must be at least length 1"
334340
msgstr ""
@@ -939,6 +945,7 @@ msgid "Not connected"
939945
msgstr ""
940946

941947
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
948+
#: shared-bindings/audiopwmio/PWMAudioOut.c
942949
msgid "Not playing"
943950
msgstr ""
944951

@@ -1064,6 +1071,7 @@ msgid "Sample rate must be positive"
10641071
msgstr ""
10651072

10661073
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1074+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10671075
#, c-format
10681076
msgid "Sample rate too high. It must be less than %d"
10691077
msgstr ""

locale/es.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
10+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1111
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -257,6 +257,7 @@ msgstr "Todos los timers para este pin están siendo utilizados"
257257
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
258258
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
259259
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
260+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
260261
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
261262
#: shared-module/_pew/PewPew.c
262263
msgid "All timers in use"
@@ -333,6 +334,11 @@ msgstr "El brillo no se puede ajustar"
333334
msgid "Buffer incorrect size. Should be %d bytes."
334335
msgstr "Tamaño de buffer incorrecto. Debe ser de %d bytes."
335336

337+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
338+
#, c-format
339+
msgid "Buffer length %d too big. It must be less than %d"
340+
msgstr ""
341+
336342
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
337343
msgid "Buffer must be at least length 1"
338344
msgstr "Buffer debe ser de longitud 1 como minimo"
@@ -950,6 +956,7 @@ msgid "Not connected"
950956
msgstr "No conectado"
951957

952958
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
959+
#: shared-bindings/audiopwmio/PWMAudioOut.c
953960
msgid "Not playing"
954961
msgstr "No reproduciendo"
955962

@@ -1088,6 +1095,7 @@ msgid "Sample rate must be positive"
10881095
msgstr "Sample rate debe ser positivo"
10891096

10901097
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1098+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10911099
#, c-format
10921100
msgid "Sample rate too high. It must be less than %d"
10931101
msgstr "Frecuencia de muestreo demasiado alta. Debe ser menor a %d"

locale/fil.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
10+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1111
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
1212
"Last-Translator: Timothy <[email protected]>\n"
1313
"Language-Team: fil\n"
@@ -257,6 +257,7 @@ msgstr "Lahat ng timers para sa pin na ito ay ginagamit"
257257
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
258258
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
259259
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
260+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
260261
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
261262
#: shared-module/_pew/PewPew.c
262263
msgid "All timers in use"
@@ -331,6 +332,11 @@ msgstr ""
331332
msgid "Buffer incorrect size. Should be %d bytes."
332333
msgstr "Mali ang size ng buffer. Dapat %d bytes."
333334

335+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
336+
#, c-format
337+
msgid "Buffer length %d too big. It must be less than %d"
338+
msgstr ""
339+
334340
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
335341
msgid "Buffer must be at least length 1"
336342
msgstr "Buffer dapat ay hindi baba sa 1 na haba"
@@ -960,6 +966,7 @@ msgid "Not connected"
960966
msgstr "Hindi maka connect sa AP"
961967

962968
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
969+
#: shared-bindings/audiopwmio/PWMAudioOut.c
963970
msgid "Not playing"
964971
msgstr "Hindi playing"
965972

@@ -1093,6 +1100,7 @@ msgid "Sample rate must be positive"
10931100
msgstr "Sample rate ay dapat positibo"
10941101

10951102
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1103+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
10961104
#, c-format
10971105
msgid "Sample rate too high. It must be less than %d"
10981106
msgstr "Sample rate ay masyadong mataas. Ito ay dapat hindi hiigit sa %d"

locale/fr.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: 0.1\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-07-25 22:48-0700\n"
11+
"POT-Creation-Date: 2019-07-31 16:30-0500\n"
1212
"PO-Revision-Date: 2019-04-14 20:05+0100\n"
1313
"Last-Translator: Pierrick Couturier <[email protected]>\n"
1414
"Language-Team: fr\n"
@@ -260,6 +260,7 @@ msgstr "Tous les timers pour cette broche sont utilisés"
260260
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
261261
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
262262
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
263+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
263264
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
264265
#: shared-module/_pew/PewPew.c
265266
msgid "All timers in use"
@@ -336,6 +337,11 @@ msgstr "Luminosité non-ajustable"
336337
msgid "Buffer incorrect size. Should be %d bytes."
337338
msgstr "Tampon de taille incorrect. Devrait être de %d octets."
338339

340+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
341+
#, c-format
342+
msgid "Buffer length %d too big. It must be less than %d"
343+
msgstr ""
344+
339345
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
340346
msgid "Buffer must be at least length 1"
341347
msgstr "Le tampon doit être de longueur au moins 1"
@@ -969,6 +975,7 @@ msgid "Not connected"
969975
msgstr "Non connecté"
970976

971977
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
978+
#: shared-bindings/audiopwmio/PWMAudioOut.c
972979
msgid "Not playing"
973980
msgstr "Ne joue pas"
974981

@@ -1110,6 +1117,7 @@ msgid "Sample rate must be positive"
11101117
msgstr "Le taux d'échantillonage doit être positif"
11111118

11121119
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1120+
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
11131121
#, c-format
11141122
msgid "Sample rate too high. It must be less than %d"
11151123
msgstr "Taux d'échantillonage trop élevé. Doit être inf. à %d"

0 commit comments

Comments
 (0)