Skip to content

Commit

Permalink
Fixed some minor initialization errors reported by valgrind
Browse files Browse the repository at this point in the history
Also made global cut move the right marker to the left after completing the cut
  • Loading branch information
spamatica committed Feb 12, 2021
1 parent ede12a2 commit 173bdec
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 14 deletions.
43 changes: 31 additions & 12 deletions muse3/README
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ details.
Optional:
=============================

- ALSA >= 0.9.0 Advanced Linux Sound Architecture (development files)
- ALSA >= 0.9.0 Advanced Linux Sound Architecture (development files)
http://www.alsa-project.org/

- fluidsynth >= 1.0.3 (formerly known as iiwusynth) (development files)
Expand Down Expand Up @@ -148,13 +148,22 @@ details.
Building MusE under Debian/Ubuntu:
=================================

1. Install tools:
sudo apt-get install\
git build-essential cmake
2. Clone muse source:
git clone https://github.com/muse-sequencer/muse.git
1. Install build tools:

sudo apt-get install git build-essential cmake

2 Get muse source (unless you already have it).

Choose one of the below:
a. Download the latest muse source distribution from
https://muse-sequencer.github.io/

b. Clone muse source:
git clone https://github.com/muse-sequencer/muse.git

3. Install libraries:
sudo apt-get install\

sudo apt-get install\
libsndfile1-dev\
libsamplerate0-dev\
libjack-jackd2-dev\
Expand All @@ -177,16 +186,26 @@ details.
librubberband-dev\
python3-dev\
python3-pyqt5

4. Change directory:
cd muse/muse3

cd muse/muse3

5. Compile:
./compile_muse.sh

./compile_muse.sh

6. Change directory:
cd build

cd build

7. Install in /usr/local:
sudo make install

sudo make install

8. Run:
muse3 (or muse4 for version 4)

muse4

=============================
Generic building MusE:
Expand Down
2 changes: 1 addition & 1 deletion muse3/awl/pitchedit.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Awl {
class PitchEdit : public QSpinBox {
Q_OBJECT

bool deltaMode;
bool deltaMode = false;

protected:
virtual QString textFromValue(int v) const;
Expand Down
1 change: 1 addition & 0 deletions muse3/muse/arranger/structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ void globalCut(bool onlySelectedTracks)
}

MusEGlobal::song->applyOperationGroup(operations);
MusEGlobal::song->setPos(MusECore::Song::RPOS, lpos);
}

//---------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion muse3/muse/rasterizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class RasterizerModel : public QAbstractTableModel
// The external rasterizer array used in this model.
const Rasterizer *_rasterizer;
// Maximum number of rows. If set to -1, all rows are included.
int _maxRows;
int _maxRows = 0;
// How text is displayed.
DisplayFormat _displayFormat;

Expand Down

0 comments on commit 173bdec

Please sign in to comment.