beep
beep copied to clipboard
Callbacks in loops
What's the best way to run a callback each time a streamer is played within a loop? Callback isn't a StreamSeeker, so you can't just use it plainly
Well, a while could work but I need a loop. I'm resampling it
dynamically later, and it's more precise generally.
@faiface A potential solution to this problem is a chan whatever that signals before each sample in a beep.Seq. Something like beep.SeqChan(channel, beep.Loop(stuff))