Skip to content
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

Color mixer channels if they are made by a colored track #5780

Merged
merged 5 commits into from
Nov 16, 2020

Conversation

ryuukumar
Copy link
Member

@ryuukumar ryuukumar commented Nov 11, 2020

Don't merge yet. There's discussion going on in #5778 on whether this is a needed feature, I'll merge this/work a bit more on it if consensus is reached.

Closes #5778.

This PR implements the functionality to color the new mixer tracks generated by the 'Assign to new FX channel' option.

Demo

capture5

@LmmsBot
Copy link

LmmsBot commented Nov 11, 2020

🤖 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://10308-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.7%2Bg8fd3783-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10308?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://10306-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.7%2Bg8fd3783ce-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10306?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://10305-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.7%2Bg8fd3783ce-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10305?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/l6189k5urbnum20u/artifacts/build/lmms-1.3.0-alpha-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/36251728"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/b6nlkho4yrhqj8ry/artifacts/build/lmms-1.3.0-alpha-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/36251728"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://10307-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.7%2Bg8fd3783ce-mac10.13.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10307?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "6cd1bbd14062613a08145afaceeeb829eb1f2f41"}

@Gabrielxd195
Copy link

I just tested the upgrade you made and I see that everything works fine. now the color is assigned automatically. Thank you

@ryuukumar
Copy link
Member Author

Great, thanks for testing!

Could anybody glance at the code for this? It's 13 lines, should (hopefully) be quick.

Note about the style: As discussed in #5765, I have used the new code style here. Please refer to the conversation over there for why it was done.

@superpaik
Copy link
Contributor

Tested ok.

@ryuukumar ryuukumar requested a review from IanCaio November 11, 2020 12:19
@ryuukumar
Copy link
Member Author

Thanks for the testing, @Gabrielxd195 and @superpaik! If @IanCaio approves, I think this will be good to go.

@ryuukumar
Copy link
Member Author

ryuukumar commented Nov 12, 2020

It appears that there is quite some discussion over at #5778. I’ll hold this one out until there’s a consensus, and if everyone agrees to have this merge, I’ll merge it.

Copy link
Member

@Spekular Spekular left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and not opposed to this implementation (see #5778 (comment))

@ryuukumar
Copy link
Member Author

Alright, it seems consensus in favour of this has been reached. Merging this.

@ryuukumar ryuukumar merged commit a42d2d2 into LMMS:master Nov 16, 2020
@ryuukumar ryuukumar deleted the color-mixer branch November 16, 2020 17:33
IanCaio pushed a commit to IanCaio/lmms that referenced this pull request Mar 28, 2021
Color mixer channels if they are made by a coloured track using the “Assign to new FX channel option.”
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Color mixer channels if they are made by a coloured track using the “Assign to new FX channel option.”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assign track color to mixer automatically.
7 participants