cmake : add python support

This commit is contained in:
Georgi Gerganov
2021-01-23 13:15:16 +02:00
parent a64106783f
commit 0bb455041e
4 changed files with 76 additions and 1 deletions

7
tests/test-ggwave.py Executable file
View File

@@ -0,0 +1,7 @@
import ggwave
import numpy as np
instance = ggwave.init()
# generate audio waveform for string "hello python"
waveform = ggwave.encode("hello python", txProtocolId = 1, volume = 20, instance = instance)