Comments (4)
Ah, yes. Everything is scheduled under the same clock and that clock is available with the .clock method. So:
a = CuePlayer.new;
//.. run your cues and timelines
a.clock.clear; //should stop the timeline
Give it a try and let me know if there is still a problem.
But you are right that there should be a stop method so I will add it on the next update. I will keep this open until then.
Thanks for reporting :)
from cueplayer.
That worked! Thanks for responding so quick. I'm premiering a piece tonight that uses it so this was very helpful.
Just curious, when you call clock on cueplayer are you really calling it on Timeline? How are they connected? Trying to learn more about classes, thanks.
from cueplayer.
No problem :)
In order for the Timeline class to be independant there is always an option to pass in a clock on instantiation (.new
). If you don't provide it yourself it creates it internally. The CuePlayer class brings together the cues and the tmelines. It defines its own clock and passes it to the timeline among other things. So when you call .clock.clear
you are stopping the CuePlayer
clock that is used by the Timelines
managed by the CuePlayer
.
Have fun and good luck with the concert!
from cueplayer.
stop
method added in upcoming update (0.2
).
from cueplayer.
Related Issues (18)
- Implement visualisation of current cue list HOT 1
- Error when triggering cue while gui is open HOT 2
- Keeping track of active functions, routines etc. HOT 11
- Provide mechanism to start a TimeLine from a specific time offset HOT 8
- input/output meters HOT 1
- server's volume-fader HOT 1
- A Timeline instance should be allowed in the timeline argument of .put / .add HOT 1
- Bug: Making a new cueplayer adds a new cmd period with synths HOT 2
- Feature request: Have shortcuts work in big cue window HOT 5
- Feature request: A Cuelist gui widget HOT 2
- Shortcuts are missing documentation
- Document hook method for CuePlayer HOT 1
- Error when timer:false is used in the gui HOT 1
- newest updates not in master branch HOT 8
- Display next cue
- Keyboard shortcut only works when cue window is in focus HOT 16
- Next cue only works on increments of 1 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cueplayer.