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

Add “Load / Save” feature #61

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

iamdey
Copy link

@iamdey iamdey commented Sep 1, 2024

1. Description

Add “Load / Save” feature.

This is a clean history branch of the fork from @vidalsasun that can be merged into the official repository. You can see his work on his repository.

I'm not the author of this changes and I didn't make any change in the code (except linting format), the following is the details of his work:

Screenshots

settings: display the load / save entry menu

Display the track list menu

Since we do not have an alphabetical keyboard, I have decided to name the tracks with the format edit_+ddmmyyyyhhMMss.

If you decide to change the file name later, it will load without any problem.

display saved folder content on windows
display track list on lmn-daw

There are 2 new folders on /home/pi/.config/LMN-3:

  • Saved: where all tracks are stored
  • load_project: the actual project

When you press the save button:
- the load_project xml file is moved to saved folder, if there are a file whith the same name, it is overwriten

When you Add a new track:
- Load_project folder is cleaned
- A new file is created on Load_project folder and the actual project xml file are moved to saved folder, if there are a file whith the same name, it is overwriten
- LMN-3 program restart

When you load a track:
- Load_project folder is cleaned and the track selected is moved to load_project folder
- LMN-3 program restart

When you save track, you can see the actual project name:

Display LMN-3 on save

2. Fill in checklist by marking [x]

  • I've read the CONTRIBUTING.md
  • My code is formatted using required linting
  • I've run my code locally and checked it works
  • My code has unit tests associated with it (if applicable)
  • I've run the test suite locally and all tests pass

cmoreiracei and others added 3 commits August 28, 2024 08:11
There are 2 new folders on /home/pi/.config/LMN-3:
  -  Saved: where all tracks are stored
  -  load_project: the actual project

When the save button is pressed:
  -  the load_project xml file is moved to saved folder, if there are a file whith the same name, it is overwriten
When new track is added:
  -  Load_project folder is cleaned
  -  A new file is created on Load_project folder and the actual project xml file are moved to saved folder, if there are a file whith the same name, it is overwriten
  -  LMN-3 program restart
When a track is loaded:
  -  Load_project folder is cleaned and the track selected is moved to load_project folder
  -  LMN-3 program restart

Since we do not have an alphabetical keyboard, the track name will have the format `edit_+ddmmyyyyhhMMss`.

The file name can be change later, it will appear in the list.
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.

2 participants