Hi Moritz,
I have tried to do a similar thing. But found that the pause, which I used to make it send audio every x in time, in my flow did not pause for exactly 1 sec. (1000ms) between the iterations.
What I did was to take the file, and create a feeder: `val fileBufferFeeder: Seq[Array[Byte]] = LoadFile.iteratorOfFileByteArrays.toSeq`. It is an sequence (list or ..) of byte arrays (Seq[Array[Byte]] -> Scala).
Then I iterated over that feeder and added a pause on each iteration.
But if you find a way to make it exactly run in real time then please share. ;-)
Br.
Kasper