LMMS / LMMS/lmms

Carla instruments pitched after exporting in different sample-rate

Open
#4,606 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug core
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

Hi,
when I use a Carla instrument and export the project in 48kHz, it sounds uppitched. When I export in 44.1kHz it sounds how it should.
So I guess LMMS forgets to tell Carla the new samplerate when exporting with another samplerate than 44.1kHz.

I tested it with Jack as backend (because this is the only way I know how I can get LMMS to use another samplerate than 44.1kHz). I set Jack to 48kHz and exported my song in 48kHz. Everything (also Carla instruments) sound how it should, not pitched, perfect.
But when I export in 44.1kHz with Jack running at 48kHz, the Carla instruments sound pitched again. Same with Jack at 44.1kHz and export at 48kHz.

So as long as working samplerate and export sample rate are the same it works. But when working sample rate and export sample rate are different, Carla instruments sound pitched.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. First reproduce the export with Carla and JACK using different working and export sample rates, then trace the export and Carla sample-rate handling. Done means Carla instruments retain the correct pitch when the working and export sample rates differ.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.