beep icon indicating copy to clipboard operation
beep copied to clipboard

Callbacks in loops

Open skuzzymiglet opened this issue 5 years ago • 2 comments

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

skuzzymiglet avatar Jul 27 '20 12:07 skuzzymiglet

Well, a while could work but I need a loop. I'm resampling it dynamically later, and it's more precise generally.

skuzzymiglet avatar Aug 09 '20 08:08 skuzzymiglet

@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))

skuzzymiglet avatar Sep 01 '20 19:09 skuzzymiglet