Skip to content

A python library implementing the affine transformations of LiveScaler

License

Notifications You must be signed in to change notification settings

AliceRixte/LiveScaler-py

Repository files navigation

livescaler-py

A python library implementing the affine transformations of LiveScaler

How to install

python setup.py install

How to use

from livescaler import Affine, StdAffine

transfo1 = Affine(4,5)
transfo1.eval(np.array([1,2,3,4])) # the array is a vector of notes to be transformed
transfo2 = Affine(5,6)
composition = transfo1 >> transfo2
composition.eval(6) # computes  transfo2(transfo1(6))
composition2 = StdAffine.I >> transfo1 >> StdAffine.vi

How to test

pytest

About

A python library implementing the affine transformations of LiveScaler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages