Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mattly-schuschein-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mattly-schuschein-client

  • 0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Schuschein Client

by Matthew Lyon matt@flowerpowered.com

DESCRIPTION:

Schuschein is a protocol for synchronizing events across multiple processes and possibly multiple computers on a very rapid timeline. It is intended to be used in music sequencing.

The name comes from the "Glass Clock of Bad Schuschein" in Terry Pratchett's Thief of Time novel, after a clock that ticks at the speed of the universe, thereby destroying time.

FEATURES

  • Stores blocks in a queue to be called at a specified tick time in the future
  • Receives Time Packets from Schuschein Server (not yet released), pulls scheduled processes out and calls them.

SYNOPSIS

scheduler = Schuschein.new 5000
process = lambda {|tick, sch| puts "the time is now: #{tick}" }
[480, 960, 1440, 1920].each {|time| scheduler.queue.push time, process}
a.listen
sleep 30
# start the Schuschein server at position 0
# => the time is now: 480
# => the time is now: 960
# => the time is now: 1440
# => the time is now: 1920

REQUIREMENTS

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc