Files
ggwave/tests/test-ggwave.py
2021-01-23 13:15:16 +02:00

8 lines
205 B
Python
Executable File

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)