FastTrackiverse / fasttrackpy

A fasttrack implementation in python
https://fasttrackiverse.github.io/fasttrackpy/
MIT License
9 stars 0 forks source link

Using `@cache` operator might be useful #11

Closed JoFrhwld closed 11 months ago

JoFrhwld commented 11 months ago

Specifically, this might let us update the formant tracking parameters of a OneTrack object and get the formant tracks with a @property decorated function.

https://docs.python.org/3/library/functools.html#

JoFrhwld commented 11 months ago

Couldn't really get it to work. Best attempt here, but it doesn't cache the result. (see notebook)

https://github.com/JoFrhwld/fasttrackpy/blob/2118949eb24cbd51a94ef298f60fe6a42b86c535/src/fasttrackpy/tracks.py#L136-L163