~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to src/exercises/ExerciseCtrol.cpp

  • Committer: cecilios
  • Date: 2008-09-22 16:39:15 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:trunk:389

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
//
13
13
//    You should have received a copy of the GNU General Public License along with this 
14
14
//    program. If not, see <http://www.gnu.org/licenses/>. 
15
 
 
16
15
//
17
16
//    For any comment, suggestion or feature request, please contact the manager of 
18
17
//    the project at cecilios@users.sourceforge.net
592
591
        {
593
592
            //Playing the solution. Play total score
594
593
            ((lmScoreAuxCtrol*)m_pDisplayCtrol)->PlayScore(lmVISUAL_TRACKING,
595
 
                    NO_MARCAR_COMPAS_PREVIO, ePM_NormalInstrument, m_nPlayMM);
 
594
                    lmNO_COUNTOFF, ePM_NormalInstrument, m_nPlayMM);
596
595
        }
597
596
    }
598
597
    else {
610
609
 
611
610
    //AWARE: As the intervals are built using whole notes, we will play them at
612
611
    // MM=320 so that real note rate will be 80.
613
 
    m_pScore[nIntv]->Play(lmNO_VISUAL_TRACKING, NO_MARCAR_COMPAS_PREVIO, 
 
612
    m_pScore[nIntv]->Play(lmNO_VISUAL_TRACKING, lmNO_COUNTOFF, 
614
613
                             ePM_NormalInstrument, 320, this);
615
614
 
616
615
}
785
784
        m_pPlayButton->SetLabel(_("Stop"));
786
785
 
787
786
        //play the score
788
 
        ((lmScoreAuxCtrol*)m_pDisplayCtrol)->PlayScore(lmVISUAL_TRACKING, NO_MARCAR_COMPAS_PREVIO, 
 
787
        ((lmScoreAuxCtrol*)m_pDisplayCtrol)->PlayScore(lmVISUAL_TRACKING, lmNO_COUNTOFF, 
789
788
                                ePM_NormalInstrument, m_nPlayMM);
790
789
        m_fPlaying = true;
791
790
 
818
817
    //prepare the score with the requested sound and play it
819
818
    PrepareAuxScore(nButton);
820
819
    if (m_pAuxScore) {
821
 
        m_pAuxScore->Play(lmNO_VISUAL_TRACKING, NO_MARCAR_COMPAS_PREVIO,
 
820
        m_pAuxScore->Play(lmNO_VISUAL_TRACKING, lmNO_COUNTOFF,
822
821
                            ePM_NormalInstrument, m_nPlayMM, (wxWindow*) NULL);
823
822
    }
824
823
}