demberto / demberto/PyFLP

✨ Interpreting encoded musical times

Open
#75 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
212
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Many fields containing time and position information (as well as start / end offsets) have been discovered already. They are exposed to as-is, no conversions from the `uint32` *or whatever* to a human readable representation consisting of beats, bars and divisions.

### 😎 What I already know

Time / position fields are *most of the time* dependant on the **PPQ** of the project (and not the tempo!),

> For example, at a PPQ of 96, a `length` of 96 means that the entity's musical length is a quarter or, a beat or, 1/4th of a bar.

Using the PPQ as a runtime dependency for calculation is already possible, but the part where problems begin are **time signatures**.

### ⏰ What's with time signatures?

The above calculations work only for a time signature of 4/4. If while measuring the length, a time signature occurs in the playlist or in a pattern, the formula *probably changes* and not accounting for this would mean all further calculations will go wrong.

### 👀 Where to look for?

The FLP format is very close to MIDI in terms of many things. I think, the MIDI format already has something of this kind and I would like to get insight from somebody who has experience in MIDI or how musical timings are represented in DAWs.

---

**Achieving this would be a great feat 🥳, its one of those features that would make PyFLP 10x more useful that its right now.**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.