Hi, so I’m very very new to processing and minim and I’m trying to get a filePlayer to start playing from a given second/millisecond. This is the code part where I’m calling the file to play:
I’ve been searching from forum to forum all the way down to Mordor’s gate and I can’t seem to find a way. Is this even possible? I thought this would be a basic Minim feature, but maybe it isn’t?
Hi, no I mean click and starts playing but not from the beginning of the file, but from X second/millisecond that I suppose I have to specify and declare somehow
At this point I’m not even sure I explained myself before sorry
Hi thank you, definitely going to try this one out. I’m a bit worried about the loop concept, because I only want it to play only once when clicked. You think this could work?
Sorry if I’m asking obvious questions… Didn’t lie when I said I was a newbie
Yeah that’s what I thought I needed. I tried to implement cue and also tried millis. But I couldn’t make them work, don’t know why because I can’t find any examples on any forum.
I only found the Processing example for millis, but it’s applied to a time counter and doesn’t say much about how to use it in cases like mine.
Here’s the big deal, where I think I’m missing something big: how can I tell cue() or play() the exact milliseconds?
I’ve tried what Chrisir said filePlayer.play(3000); but still isn’t working (by not working I mean it’s playing from the beginning). Does it need declaring something else besides (3000)?
That’s it. My ears hear it, my eyes see it, my code is finally working… but still can’t believe it. THANK YOU!
I will try other ways another day; this was a fun distraction.
Let us know when you have mastered this.
I’m glad at least someone enjoyed, haha. But I’m afraid I have no future at all as a processing/java programmer. I’ve been stuck with this for two days, geez. But I’m all here for the learning if you want to share the future results of your exploring.