Is there a way to do fast forward / rewind with playback? #579
-
everything is in the title, to be used with FF and rewind key when there is no UI, so the playback is the only feedback possible to know where we are at in the file. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 25 replies
-
play back from where using which functionality ? |
Beta Was this translation helpful? Give feedback.
-
Well you can use the regular file operatons to (re)set the actual file position.... |
Beta Was this translation helpful? Give feedback.
-
No, I have never seen such a functionality! |
Beta Was this translation helpful? Give feedback.
-
well, that is what most player devices do, when fast rewind with playback the audio is played in reverse direction, i believe that is also what CD players do. In fact i dont really see how you could do fast rewind with playback and play the audio in the forward direction. |
Beta Was this translation helpful? Give feedback.
-
ok, so the file seek works on the princple, now i need to find a way to performs very short fade ins/outs and also control how many chunks are copied/played between the seeks, so that the result sounds ok. At the moment it creates artifacts, presumably due to sharp amplitudes transitions outside zero crosses. |
Beta Was this translation helpful? Give feedback.
-
We could expose the fade object in the Player with a public method |
Beta Was this translation helpful? Give feedback.
-
So from what i understand of the new player code, it should be able to just use player.setActive() to performe automatic fade-in and fade-outs when i need, so i implemented it that way, seekCnt counts the number of chunks copied by player.copy (increased when returns a value), so essentially i skip 5 chunk with file.seek, and play 150 chunks, i would like to perform the fade in and fade out on the first and last chunk of the played section (150 chunk). But it doesnt seems to work with player.setActive(). Should i proceed differently? |
Beta Was this translation helpful? Give feedback.
-
I would really think that blocking the main loop might help. |
Beta Was this translation helpful? Give feedback.
Well you can use the regular file operatons to (re)set the actual file position....
I don't know what you mean with with an audio feedback