Skip to content

essingen123/fibonaccistretch

 
 

Repository files navigation

Fibonacci Stretch

Stretch the rhythm of an audio track along the Fibonacci sequence.

This README pertains to the fibonaccistretch Python module; for information about the Groovinator VST/AU plugin, please see this repository.

Examples

http://usdivad.com/fibonaccistretch/examples.html

Usage

Fibonacci stretch the first 90 seconds of Michael Jackson's "Human Nature" by a factor of 1 using input rhythm [1,0,0,1,0,0,1,0]:

import fibonaccistretch as fib

fib.fibonacci_stretch_track("data/humannature_90s.mp3",
                            original_rhythm=[1,0,0,1,0,0,1,0],
                            stretch_factor=1,
                            overlay_clicks=True)

Take a listen to the result.

More info

See fibonaccistretch.ipynb for a more detailed writeup and implementation (note: the outputs are cleared, so to see figures and listen to audio you'll need to run the notebook using Jupyter). A static HTML version is also available here.

Presented at the 2017 AES Workshop on Intelligent Music Production.

About

Stretch the rhythm of an audio track along the Fibonacci sequence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 94.1%
  • Python 5.7%
  • Shell 0.2%