[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pygame sound generation examples



Hi,

here's some sound generation examples with pygame, and no numpy.

All the basics for making a music program (sampler/synth).
  - some sample rate conversion,
  - bit rate conversion
  - tone generation using generators (square wave)
  - python arrays used as buffers for pygame.Sound (zero copy).

http://renesd.blogspot.com/2018/03/sound-generation-pygame-examples.html

Please let me know if there's interest in expanding this example, or explaining things properly?



cheers,