Q: Sound production with python?

Bengt Richter bokr at oz.net
Tue Mar 19 22:32:20 EST 2002


On 20 Mar 2002 01:42:45 GMT, "A.Newby" <deathtospam43423 at altavista.com> wrote:

>Being a beginner fiddle player, as well as a beginner python programmer, I 
>want to write a little prog that trains the sense of pitch.
>
>How envisage it working is thus...
>
>It plays a simple 4 note melody, then repeats the melody with one of the 
>notes (selected randomly) slightly off pitch ... say by 20% or 10% or 5%. 
>The user then has to detect which note was off.
>
>What modules and commands should I use to generate this sounds? What's the 
>best way to go about it?
>
I wonder if there is a midi module you could use to play midi violin notes
and use the pitch bend thing to vary them.

If so, be sure you have the 'everything-off' (or whatever it's called) code
correctly defined and easy to output ;-)

Regards,
Bengt Richter




More information about the Python-list mailing list