Currently, the standard layout @code{""} and mensural notation
@code{"mensural"} are available. Mensural rests of duration
32 or shorter are not available.
-@mudela[verbatim]
+@lilypond[verbatim]
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
\property Staff.restStyle = "mensural"
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
-@end mudela
+@end lilypond
@item @code{transposing}@indexcode{transposing} @propertytype{integer}
Transpose the MIDI output. Set this property to the number of
The different time signature characters are shown below with its
names:
-@mudela[center,verbatim]
+@lilypond[center,verbatim]
\score {
\notes\relative c'' {
}
}
-@end mudela
+@end lilypond
@end table
class Timing_translator : public virtual Translator
{
+
+ SCM last_time_sig_;
public:
VIRTUAL_COPY_CONS(Translator);
Timing_translator ();
- Link_array<Timing_req> timing_req_l_arr_;
+ Music *check_;
protected:
virtual void do_creation_processing ();
public:
Moment measure_position () const;
Moment measure_length () const;
- void set_time_signature (int, int);
+ void set_time_signature ();
};
#endif // TIMING_TRANSLATOR_HH
*/
class Timing_engraver : public Timing_translator, public Engraver
{
- Bar_req * bar_req_l_;
protected:
- virtual bool do_try_music (Music * );
virtual void do_post_move_processing ();
- virtual void do_process_music ();
virtual void do_pre_move_processing ();
public:
VIRTUAL_COPY_CONS(Translator);
void
Timing_engraver::do_post_move_processing( )
{
- bar_req_l_ = 0;
Timing_translator::do_post_move_processing ();
SCM nonauto = get_property ("barNonAuto");
daddy_trans_l_->set_property ("whichBar", SCM_EOL);
}
-bool
-Timing_engraver::do_try_music (Music*m)
-{
- if (0) //
- {
- Bar_req * b= dynamic_cast <Bar_req *> (m);
- if (bar_req_l_ && !bar_req_l_->equal_b (b))
- return false;
-
- bar_req_l_ = b;
- return true;
- }
-
- return Timing_translator::do_try_music (m);
-}
-void
-Timing_engraver::do_process_music ()
-{
-}
+