Sign in with your CogSci, Facebook, Google, or Twitter account.
Or register to create a new account.
We'll use your information only for signing in to this forum.
Is there a way to provide an offset to the sampler object, using inline code?
Many thanks in advance,
What do you mean exactly with an offset? Do you mean that you want to start playback only after a certain delay? If so, then you might want to look at coroutines which allow you to specify timing in a more flexible (and less sequential) way than sequence items:
Or is that not what you mean?
There's much bigger issues in the world, I know. But I first have to take care of the world I know.
Sorry, that is not what we want. With offset, we mean : start playing the track at a certain moment of the track (start at 1:01 for instance...)
Ah, I see. No, the pygame mixer doesn't allow you to seek through the stream. There's a few options.