N3sh
N3sh

Reputation: 878

How to play an AIFF sound file using Erlang?

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.

Upvotes: 2

Views: 753

Answers (1)

Palas
Palas

Reputation: 13

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.

Upvotes: 1

Related Questions