Skip to content

Commit

Permalink
Merge branch 'stable-1.2'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.mailmap
#	cmake/linux/lmms.desktop
#	src/gui/editors/PianoRoll.cpp
#	src/tracks/BBTrack.cpp
  • Loading branch information
PhysSong committed Sep 15, 2019
2 parents 8fdf6c4 + 0059c6e commit 6782b6d
Show file tree
Hide file tree
Showing 37 changed files with 25 additions and 9 deletions.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ grejppi <[email protected]>
Johannes Lorenz <[email protected]> <[email protected]>
Johannes Lorenz <[email protected]> <[email protected]>
Noah Brecht <[email protected]>
Olivier Humbert <[email protected]> <[email protected]>
Hussam al-Homsi <[email protected]> Hussam Eddin Alhomsi <[email protected]>
4 changes: 2 additions & 2 deletions cmake/linux/lmms.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Name=LMMS
GenericName=Music production suite
GenericName[ca]=Programari de producció musical
GenericName[de]=Software zur Musik-Produktion
GenericName[fr]=Ensemble pour la production musicale
GenericName[fr]=Suite de production musicale
GenericName[pl]=Narzędzia do produkcji muzyki
Comment=Music sequencer and synthesizer
Comment[ca]=Producció fàcil de música per a tothom!
Comment[fr]=Production facile de musique pour tout le monde !
Comment[fr]=Séquenceur et synthétiseur de musique
Comment[pl]=Prosta produkcja muzyki dla każdego!
Icon=lmms
Exec=lmms %f
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified data/projects/demos/EsoXLB-CPU.mmpz
Binary file not shown.
Binary file not shown.
Binary file modified data/projects/demos/Impulslogik-Zen.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Jousboxx-BuzzerBeater.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Momo64-esp.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Namitryus-K-Project.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Oglsdl-Dr8v2.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Oglsdl-PpTrip.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Popsip-Electric Dancer.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Root84-Initialize.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Saber-FinalStep.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Settel-InnerRecreation.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Shovon-ProgressiveHousePluckDemo.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Skiessi/Skiessi-C64.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Skiessi/Skiessi-Onion.mmpz
Binary file not shown.
Binary file not shown.
Binary file modified data/projects/demos/Skiessi/Skiessi-TurningPoint.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Socceroos-Progress.mmpz
Binary file not shown.
Binary file modified data/projects/demos/TameAnderson-MakeMe.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Thaledric-Armageddon.mmpz
Binary file not shown.
Binary file modified data/projects/demos/Thomasso-AxeFromThe80s.mmpz
Binary file not shown.
Binary file modified data/projects/demos/TobyDox-Psycho.mmpz
Binary file not shown.
Binary file modified data/projects/demos/unfa-Spoken.mmpz
Binary file not shown.
Binary file modified data/projects/shorties/DirtyLove.mmpz
Binary file not shown.
Binary file modified data/projects/shorties/Root84-TrancyLoop.mmpz
Binary file not shown.
Binary file modified data/projects/shorties/Skiessi-222.mmpz
Binary file not shown.
Binary file modified data/projects/shorties/Surrender-Main.mmpz
Binary file not shown.
Binary file modified data/projects/shorties/sv-DnB-Startup.mmpz
Binary file not shown.
Binary file modified data/projects/shorties/sv-Trance-Startup.mmpz
Binary file not shown.
6 changes: 6 additions & 0 deletions data/themes/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ TextFloat {
}


/* splash screen text */
QSplashScreen QLabel {
color: white;
}


QMenu {
border-top: 2px solid #08993E;
background-color: #15191c;
Expand Down
7 changes: 6 additions & 1 deletion src/core/NotePlayHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,12 @@ void NotePlayHandle::play( sampleFrame * _working_buffer )

lock();

if( m_totalFramesPlayed == 0 && !m_hasMidiNote
/* It is possible for NotePlayHandle::noteOff to be called before NotePlayHandle::play,
* which results in a note-on message being sent without a subsequent note-off message.
* Therefore, we check here whether the note has already been released before sending
* the note-on message. */
if( !m_released
&& m_totalFramesPlayed == 0 && !m_hasMidiNote
&& ( hasParent() || ! m_instrumentTrack->isArpeggioEnabled() ) )
{
m_hasMidiNote = true;
Expand Down
10 changes: 5 additions & 5 deletions src/core/midi/MidiAlsaSeq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ void MidiAlsaSeq::run()

case SND_SEQ_EVENT_CONTROLLER:
dest->processInEvent( MidiEvent(
MidiControlChange,
MidiControlChange,
ev->data.control.channel,
ev->data.control.param,
ev->data.control.value, source ),
Expand All @@ -572,11 +572,11 @@ void MidiAlsaSeq::run()

case SND_SEQ_EVENT_PGMCHANGE:
dest->processInEvent( MidiEvent(
MidiProgramChange,
MidiProgramChange,
ev->data.control.channel,
ev->data.control.param,
ev->data.control.value, source ),
MidiTime() );
ev->data.control.value, 0,
source ),
MidiTime() );
break;

case SND_SEQ_EVENT_CHANPRESS:
Expand Down
6 changes: 5 additions & 1 deletion src/core/midi/MidiClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,16 @@ void MidiClientRaw::parseData( const unsigned char c )
case MidiNoteOff:
case MidiNoteOn:
case MidiKeyPressure:
case MidiProgramChange:
case MidiChannelPressure:
m_midiParseData.m_midiEvent.setKey( m_midiParseData.m_buffer[0] - KeysPerOctave );
m_midiParseData.m_midiEvent.setVelocity( m_midiParseData.m_buffer[1] );
break;

case MidiProgramChange:
m_midiParseData.m_midiEvent.setKey( m_midiParseData.m_buffer[0] );
m_midiParseData.m_midiEvent.setVelocity( m_midiParseData.m_buffer[1] );
break;

case MidiControlChange:
m_midiParseData.m_midiEvent.setControllerNumber( m_midiParseData.m_buffer[0] );
m_midiParseData.m_midiEvent.setControllerValue( m_midiParseData.m_buffer[1] );
Expand Down

0 comments on commit 6782b6d

Please sign in to comment.