init
This commit is contained in:
		
						commit
						9b70aa22b6
					
				
					 13 changed files with 711 additions and 0 deletions
				
			
		
							
								
								
									
										53
									
								
								lib/config.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								lib/config.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,53 @@ | |||
| <?php | ||||
| 
 | ||||
| const MAX_FRACTION = 8; | ||||
| const PERCUSSION_REST = "r"; | ||||
| const PERCUSSION_CLAP = "hc"; | ||||
| const PERCUSSION_BEAT = "ss"; | ||||
| const PERCUSSION_BEAT_ACCENT = "sn"; | ||||
| const OUTPUT_FOLDER = "./tmp/"; | ||||
| const LILYPOND_FORMAT = '\\version "2.20.0" | ||||
| \\header { | ||||
|     tagline = "" | ||||
| } | ||||
| 
 | ||||
| main_source = \\drummode { | ||||
|     \\numericTimeSignature | ||||
|     \\time %1$s | ||||
|     \\tempo %2$s | ||||
|     %3$s | ||||
| } | ||||
| main_padded = \\drummode { | ||||
|     %4$s | \\main_source | %4$s | ||||
| } | ||||
| main = \\drummode { | ||||
|     \\main_source | ||||
| } | ||||
| beat = \\drummode { | ||||
|     \\numericTimeSignature | ||||
|     \\time %1$s | ||||
|     \\tempo %2$s | ||||
|     %5$s | ||||
| } | ||||
| \\score { | ||||
|     \\new DrumStaff << | ||||
|         \\new DrumVoice { \\voiceOne \\main_padded } | ||||
|         \\new DrumVoice { \\voiceTwo \\beat } | ||||
|     >> | ||||
|     \\midi { | ||||
|         \\tempo %2$s | ||||
|     } | ||||
| } | ||||
| \\score { | ||||
|     \\new DrumStaff \with { | ||||
|         drumStyleTable = #percussion-style
 | ||||
|         \override StaffSymbol.line-count = #1
 | ||||
|     } << | ||||
|         \\new DrumVoice { \\voiceOne \\main } | ||||
|     >> | ||||
|     \\layout { } | ||||
| } | ||||
| \\paper { | ||||
| }'; | ||||
| 
 | ||||
| ?>
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue