Difference between revisions of "Playing multiple sounds at once"

From ESE205 Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
= Using multithreading with swmixer=
 
= Using multithreading with swmixer=
  
= using pygame with channels =  
+
= Using pygame with channels =
  
 
= Link to project =
 
= Link to project =
 
[[Laser Harp]]
 
[[Laser Harp]]

Revision as of 17:34, 25 April 2019


Introduction

This tutorial will explain different methods attempted in getting multiple sounds to play concurrently, as well as the method that was most valuable for the Laser Harp.

Libraries tested

  • pydub
  • multiprocessing
  • multithreading
  • swmixer
  • pygame

Using pydub and pygame

Using multiprocessing and multithreading

Using multithreading with swmixer

Using pygame with channels

Link to project

Laser Harp