Replies: 16 comments 4 replies
-
While actually I have not implemented this, the exception was a result of a bug in here: Lines 121 to 129 in 5034910 This was quite a big bug making nearly everything unsettable. This reminds me of testing the setters as well. |
Beta Was this translation helpful? Give feedback.
-
Technically it is settable via the huge |
Beta Was this translation helpful? Give feedback.
-
Done, implemented in latest commits. New release comming soon 🎉 |
Beta Was this translation helpful? Give feedback.
-
Thanks Moreover I don't understant the "end value" And this is the offset value |
Beta Was this translation helpful? Give feedback.
-
Start Offset: Length is the length of the item as it is visible to you in the playlist. And the answer to this is, I don't know myself 😄 FLP is a weird format. |
Beta Was this translation helpful? Give feedback.
-
@jubabrut Will it possible for you to test PyFLP and find out bugs and suggest new ideas like these? Doing so will be a great help for me and will fasten the release cycle. A stable version will be ready sooner 🤗 |
Beta Was this translation helpful? Give feedback.
-
Do you know how the offset value is construct ? Did you notice a full audio clip offset are (-1082130432, -1082130432), so weird For the moment I try PyFLP and discover all features, that's why I find some bugs on different functionnalities. What is your goal with this library? Because it is a huge work |
Beta Was this translation helpful? Give feedback.
-
I need to take a look at it, maybe its incorrectly parsed, maybe it is a float, maybe it is not an absolute value at all.
At first, I aim to make all existing structures parseable and editable. I try to find the representations of various quantities like the I am also looking at the ability to clone or add certain entities like channels or MIDI notes for example. Once things like channels can be cloned, you can play with the values and modify them to your liking. Some particular areas needing work are:
I generally try to add features when I am genuinely sure that the integrity of existing data is not compromised. PyFLP guarantees to not touch the data you didn't modify. FL studio on the other hand, rewrites everything from scratch, since it knows how the format works entirely. PyFLP is not an FL Studio replacement. It can most certainly be used in project file converters and real-world DAWs that aim to support FLP format (if they ever get written in Python 😄) |
Beta Was this translation helpful? Give feedback.
-
Ok because I really don't understand how to use offset value.
About |
Beta Was this translation helpful? Give feedback.
-
FL has grappled with timing issues since eternity 😄
I think its interpreted incorrectly (might be a float, might be PPQ dependant, dunno). But atleast the start, end values seem to match up with the arrangement. I will take a look at this. You will have better luck if you look at the individual bytes instead of these integers, use int.to_bytes(value, 4, "little") |
Beta Was this translation helpful? Give feedback.
-
I really don't understand how to use to_bytes
|
Beta Was this translation helpful? Give feedback.
-
Yes sorry I meant tuple(int.to_bytes(value, 4, "little")) which will give you something like (1, 2, 3, 4) Now you get 4 numbers instead of one and maybe it can help you find out some relation between the arrangement and them. |
Beta Was this translation helpful? Give feedback.
-
do other python libraries provide the same result for offsets? |
Beta Was this translation helpful? Give feedback.
-
Wdym? There are no other Python libraries which can parse FLPs to the best of my knowledge. This implementation of playlist item offsets is from MonadGroup's FLParser which parses it as a float or uint32 as well. |
Beta Was this translation helpful? Give feedback.
-
I was just thinking about FLParser but I didn't test that library |
Beta Was this translation helpful? Give feedback.
-
From my first constatation, the offsets values indicate the time where to cut the sample, by not taking account the arrangement, the general bpm or the time stretching. It is an element to reply to the difference between offset and length. So I need to found a relation between |
Beta Was this translation helpful? Give feedback.
-
Describe the feature
When I try to change position or length of an audio clip in the Playlist, with that code
I have this error
pyflp.exceptions.PropertyCannotBeSet: Event(s) () was / were not found
It will be interesting to be able to change the position, the length and the offset of an audio clip
What version of PyFLP are you using?
last commit (27th oct 22)
Screenshots, Additional info
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions