-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pattern import and export #5197
Conversation
I'm pleased with this enhancement. Worked on Arch Linux environment.
As you know extension .xpf is already used as 'Preset File'.
Finally, I report a problem Sorry for my bad English. |
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Linux
Windows
macOS
🤖{"platform_name_to_artifacts": {"Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://5249-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.572-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5249?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://5252-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.572-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5252?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://5253-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.572-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5253?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/ncyeb0cyln6qr89a/artifacts/build/lmms-1.2.1-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/28919507"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/ifk6dki2r0hkl3hj/artifacts/build/lmms-1.2.1-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/28919507"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://5250-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.572-mac10.13.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5250?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "963ea37687c3fc4e6d255ad20b512b9ac4b99d3f"} |
Thank you for testing this feature.
What does the
👍
This should be fixed now :-) |
Sorry for not explaining enough. |
Changed the file extentions to If compression is used depends on if you add |
Successfully exported and imported patterns over 1000 measures long using .xpt and .xptz, each using both settings... "compress project files by default" selected and unselected. Checked file sizes for both types in both settings. Seems to work well, as far as I can tell. Linux Mint 64. |
@cyberdevilnl I guess the advantage of |
@Sawuare for me it's more for exporting a pattern from project A and importing it to project B. |
@cyberdevilnl functioning MIDI import/export would allow the same thing. I believe that's what Sawuare is pointing out, that the only additional data provided by pattern export/import is note pan. |
@Sawuare @Spekular ah yes it would, it is possible with midi too but it's messy since each note would require it's own channel in the midi file. |
Anyway, I like this feature, but I think it should be presented to the user through the piano roll, not the song editor, because that is where the pattern editing happens. |
All right, where should the import/export options/buttons be placed in the Piano-Roll? I can add it to the tools If so then I suggest to move the functionality code ( |
How about a "File" About moving the functionality code, I say that sounds good. |
All right I'm on it. I have a few questions.
|
|
Ok I made the changes, I chose to move the functionality code to PianoRollWindow instead of what I previously suggested to move it to Current behaviour:
Edit: |
* Cherry-picked changes.
The action should be undoable, so no need for a warning. |
@cyber-bridge Can you create a new pull request from your new account? |
@PhysSong: Sorry it took so long to respond, but will do.
|
Continued in #5891. |
This makes it possible to export and import patterns. They will be saved to a XML document. Currently with the file-extension
.xpt
and.xtpz
for compressed files.Edit: This PR is ready for testing / review.
Also feel free to ignore/close this if it is not wanted.
Closes #3393