Socket
Book a DemoInstallSign in
Socket

euclidean_sequencer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

euclidean_sequencer

bundlerRubygems
Version
0.0.2
Version published
Maintainers
1
Created
Source

Euclidean Sequencer

by Matt Ridenour (mattridenour@gmail.com) Created on Sun Oct 26 2008 (Updated at Wed May 2 2018)

A class for spaceing a number of ones over a range of zeros as evenly as possible using the Euclidean algorithm.

For more information on using the Euclidean algorithm in the context of music, please read: The Euclidean Algorithm Generates Traditional Musical Rhythms by Godfried Toussaint.

Special thanks to Wesen for bringing Euclidean sequencing to my attention and forging the way using Lisp.

Usage:

Command Line:

$> ./bin/euclidean_sequence --help

Ruby:

require "./lib/sequencer.rb"
pulses = 8
hits = 5
p Sequencer.generate(hits: hits ,pulses: pulses, options: {array: true, offset: 2})

Oontz!

License

MIT ]

Code of Conduct

Code of Conduct

FAQs

Package last updated on 04 May 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.