rogerpibernat at gmail.com
Mon Nov 18 06:18:41 EST 2013
ok then. I shall give it a try. I'll start by adding a stop (with reset)
method to the buffer if that's ok with you.
(+34) 639 81 26 71
On Mon, Nov 18, 2013 at 12:28 AM, Colin Clark <colin at colinclark.org> wrote:
> Hey Roger,
> I'm glad you got it working!
> You're right, the current version of flock.ugen.playBuffer is a bit
> limited. I just finished up a sound installation where I needed to play
> back audio files with a bit more control, and in the process added several
> more features to it, including the ability to trigger playback and the
> ability to set in and out points. It's currently located in the
> improved-buffers branch, but I'll merge it into master as soon as I can.
> Thanks for the offer to help, too. That's awesome! I think the best way to
> get started is, as you're using Flocking, to pick something that you're
> interested in or need for your project and take a stab at implementing it.
> I'm happy to help explain how the system works as you go, and I've been
> planning to post a "how to add unit generators" tutorial to the wiki, so
> this should give me some motivation.
> On 2013-11-14, at 7:46 AM, roger pibernat <rogerpibernat at gmail.com> wrote:
> > Hi there, again.
> > I tried your examples in my server and worked just great! Thanks a lot!
> > I'm trying to find my way around the library. I've been playing a file
> with flock.ugen.playBuffer. I can't seem to stop it, though, just pause it
> (with synth.pause()). I've read in the code that .pause()
> > /**
> > * Stops the synth if it is currently playing.
> > * This is a convenience method that will remove the synth from the
> environment's node graph.
> > */
> > but if I play it again it starts where it left off. It doesn't reset to
> the beginning of the buffer. Is there a way to achieve this? I also tried
> .play(0.5) --according to the documentation it supposedly accepts a 'dur'
> parameter, although I don't see it implemented (by that I don't mean it's
> note there)--.
> > On a side note, if I can help in any way I would be glad to do so. I'm
> not a coding guru and just got into JS a few weeks ago, but I've done some
> things in Supercollider and plenty in Java and C++. I can't devote a great
> deal of time, but I'd like to use the library for an app I was
> commissioned. So if I can contribute in any way on improving it, please
> let me know.
> > Roger
> > (+34) 639 81 26 71
> > http://www.rogerpibernat.com
> > http://www.wucollective.com
> > On Tue, Nov 12, 2013 at 8:08 PM, roger pibernat <rogerpibernat at gmail.com>
> > It looks like you've stumbled across a bug in the Flocking grunt scripts.
> > Wow, what a privilege! Glad it helped.
> > Thanks for the hints on the synth definition.
> > I was trying to run it from local file. A was about to move it to a
> server for testing but I'll give your simple server a try. Thanks for
> alerting me on this issue, too :)
> > I'll let you know about my progress.
> > _______________________________________________
> > users mailing list
> > users at lists.flockingjs.org
> > http://lists.flockingjs.org/listinfo.cgi/users-flockingjs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the flocking