LMMS / LMMS/lmms

Lazy-Loaded Sample Files

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

Nobody has claimed this yet.

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

Description

Using mapped files for samples has a lot of advantages:
- remove the size limit
- save memory
- save loading time
https://github.com/gi0e5b06/lmms/blob/master/src/core/SampleBuffer.cpp
One project of mine was taking 48s to load and 1.2GB of RAM (big samples), now it loads instantly (less than 1s) and only takes 80MB.

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

Start with src/core/SampleBuffer.cpp and compare the current sample-loading path with the linked proposal. The issue does not define the supported scope, platform constraints, tests, or acceptance criteria; those would need to be established before implementation. Done should include agreed behavior and evidence that large samples meet the stated loading-time and memory goals.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.