Difference between revisions of "Playing multiple sounds at once"

From ESE205 Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
*pygame  
 
*pygame  
  
= Using pydub and pygame=  
+
= Pydub and Pygame=  
= Using multiprocessing and multithreading =  
+
= Multiprocessing and Multithreading =  
= Using multithreading with swmixer=
+
= Multithreading with Swmixer=
 
+
= Pygame with Channels =
= Using pygame with channels =
 
  
 
= Link to project =
 
= Link to project =
 
[[Laser Harp]]
 
[[Laser Harp]]

Revision as of 17:36, 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

Pydub and Pygame

Multiprocessing and Multithreading

Multithreading with Swmixer

Pygame with Channels

Link to project

Laser Harp