How to play a sound in Julia

Viewed 315

I'm programming in Julia and I would like to reproduce some simple audio, like single notes or similar.

I was wondering whether there is a way or a library to reproduce simple sounds. Is there anybody who know it?

1 Answers

Assuming that you need this for things like having a sound signal to let yourself know that your computations has finished this will work:

using WAV
y, fs = wavread(raw"C:\Windows\Media\Ring01.wav")
wavplay(y, fs)
Related