Skip to content

Instantly share code, notes, and snippets.

@brandon-lockaby
Created October 28, 2021 11:21
Show Gist options
  • Save brandon-lockaby/1f3fc657378296ab46b9cdf0cfd0348a to your computer and use it in GitHub Desktop.
Save brandon-lockaby/1f3fc657378296ab46b9cdf0cfd0348a to your computer and use it in GitHub Desktop.
aud in blender
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