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

Correct export of sampletracks at more than 44100 samplerate #5275

Closed
wants to merge 1 commit into from
Closed

Correct export of sampletracks at more than 44100 samplerate #5275

wants to merge 1 commit into from

Conversation

serdnab
Copy link
Contributor

@serdnab serdnab commented Oct 26, 2019

I created a new constructor for samplebuffer that sets a flag (m_fromSampleTrack) for samplebuffer objects that belongs to sample tracks.
When the samplerate of the mixer is changed, those objects have their samplerate changed accordingly.
This fixes the bad rendering of sample tracks at more than 44100 samplerate and, as a side effect it fixes #2778.

@PhysSong
Copy link
Member

PhysSong commented Oct 26, 2019

This fixes the bad rendering of sample tracks at more than 44100 samplerate

I think #5226 has fixed it.

it fixes #2778.

I'm not sure if it's already fixed or not. @Reflexe Are there any chances that #4991/#5226 has changed the behavior?

@LmmsBot
Copy link

LmmsBot commented Oct 26, 2019

🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩

Windows

Linux

🤖
{"commit_sha": "8761af122486f6648ce2d2d6ef2d717861862a24", "platform_name_to_artifacts": {"Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://4783-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.546-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/4783?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://4784-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.546-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/4784?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://4782-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.546-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/4782?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}}

@zonkmachine
Copy link
Member

I think #5224 has fixed it.

@PhysSong I think you meant #5226

@Reflexe
Copy link
Member

Reflexe commented Oct 27, 2019

This is strange. Can you elaborate about the problem you are trying to solve in this PR?

@serdnab
Copy link
Contributor Author

serdnab commented Oct 27, 2019

Sorry, I didn't see that it was fixed (I didn't update my local repo in recent days), coincidence that we worked on the same.

@Reflexe
Copy link
Member

Reflexe commented Oct 27, 2019

Sorry, I didn't see that it was fixed (I didn't update my local repo in recent days), coincidence that we worked on the same.

Could you please verify the issue has been solved with #5226? Thanks!

@serdnab
Copy link
Contributor Author

serdnab commented Oct 28, 2019

Could you please verify the issue has been solved with #5226?

Yes, it is. And also #2778.

@PhysSong PhysSong closed this Oct 28, 2019
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.

Sample tracks shortened at >44100 samplerate export
5 participants