问题
I am trying to look for a way to play an AIFF file using Erlang.
I have found this tutorial, but it seems to be only about reading the content of the file and not actually playing it.
回答1:
I suggest using the linux command "play" with "os:cmd" or "ports". It is quite ad-hoc but it is not a very uncommon command and it may do the trick.
来源:https://stackoverflow.com/questions/15199075/how-to-play-an-aiff-sound-file-using-erlang