System for concatenating sounds

This is the place for queries that don't fit in any of the other categories.

System for concatenating sounds

Postby savagecreature » Sat Jul 27, 2013 4:25 pm

I'm looking for general advice moving to the more specific.
Though I'm not new to Python, I've never done sound in python before, so please bear with me.

I've got sound files of phonemes, individual linguistic sounds, that I want to be able to concatenate into 'words' and then play them back. I've got sounds playing in PyGame, but they all play at the same time. I've seen code that forces the system to wait until playback is complete, but all the examples fully occupy the processing cycles until the sound is done. I'm trying to find a method that will play "snd_file_01" and then "snd_file_02" in succession (instead of simultaneously) the most efficient way I can.

I've had a look at snack, but haven't been able to successfully install it on my Debian system.

Any awesome suggestions?

thanks
savagecreature
 
Posts: 1
Joined: Sat Jul 27, 2013 4:16 pm

Re: System for concatenating sounds

Postby Yoriz » Sat Jul 27, 2013 6:10 pm

You could give this module a try, i have not used it so i can't vouch for it.
pyDub
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Spam topic disapproval technician
Windows7, Python 2.7.4., WxPython 2.9.5.0., some Python 3.3
User avatar
Yoriz
 
Posts: 566
Joined: Fri Feb 08, 2013 1:35 am
Location: UK


Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 2 guests