Created
October 28, 2021 11:21
-
-
Save brandon-lockaby/1f3fc657378296ab46b9cdf0cfd0348a to your computer and use it in GitHub Desktop.
aud in blender
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aud | |
device = aud.Device() | |
sound = aud.Sound.sawtooth(400) | |
sound2 = aud.Sound.buffer(np.array([1,2,3], dtype="float32"), 44100) | |
handle = device.play(sound); | |
handle.stop(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment