You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for {
fmt.Print("Press [ENTER] to pause/resume. ")
fmt.Scanln()
speaker.Lock()
ctrl.Paused = !ctrl.Paused
volume.Volume += 0.5
speedy.SetRatio(speedy.Ratio() + 0.1) // <-- right here
speaker.Unlock()
}
working nicely. My question is, can I also send the output to a NEW mp3 file on disk with all the pauses (added silence) and the speed increases as the user controls them? That is they play the original source.mp3 file (say it's 1 minute long) and hit pause as they like, and speed it up, slow it down etc. and the end result is 2 minutes of audio played through the speaker. Can I have that 2 minute of new audio as a new mp3 file?
The text was updated successfully, but these errors were encountered:
theoretically there is no problem doing that. but there is no mp3 Encode support in the beep library at the moment.
you can, if you wish, use the wav encode method to write as a wave and later (or offline) to convert to mp3.
Hello, I have example from https://github.com/faiface/beep/wiki/Composing-and-controlling
working nicely. My question is, can I also send the output to a NEW mp3 file on disk with all the pauses (added silence) and the speed increases as the user controls them? That is they play the original source.mp3 file (say it's 1 minute long) and hit pause as they like, and speed it up, slow it down etc. and the end result is 2 minutes of audio played through the speaker. Can I have that 2 minute of new audio as a new mp3 file?
The text was updated successfully, but these errors were encountered: