File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "id" : " io.github.revisto.drum-machine" ,
3+ "runtime" : " org.gnome.Platform" ,
4+ "runtime-version" : " 48" ,
5+ "sdk" : " org.gnome.Sdk" ,
6+ "command" : " drum-machine" ,
7+ "finish-args" : [
8+ " --share=ipc" ,
9+ " --socket=fallback-x11" ,
10+ " --device=dri" ,
11+ " --socket=wayland" ,
12+ " --socket=pulseaudio"
13+ ],
14+ "cleanup" : [
15+ " /include" ,
16+ " /lib/pkgconfig" ,
17+ " /man" ,
18+ " /share/doc" ,
19+ " /share/gtk-doc" ,
20+ " /share/man" ,
21+ " /share/pkgconfig" ,
22+ " *.la" ,
23+ " *.a"
24+ ],
25+ "modules" : [
26+ " python-dependencies.json" ,
27+ {
28+ "name" : " blueprint-compiler" ,
29+ "buildsystem" : " meson" ,
30+ "cleanup" : [" *" ],
31+ "sources" : [
32+ {
33+ "type" : " git" ,
34+ "url" : " https://gitlab.gnome.org/GNOME/blueprint-compiler" ,
35+ "tag" : " 0.18.0"
36+ }
37+ ]
38+ },
39+ {
40+ "name" : " drum-machine" ,
41+ "builddir" : true ,
42+ "buildsystem" : " meson" ,
43+ "sources" : [
44+ {
45+ "type" : " dir" ,
46+ "path" : " ."
47+ }
48+ ]
49+ }
50+ ]
51+ }
Original file line number Diff line number Diff line change 1818# SPDX-License-Identifier: GPL-3.0-or-later
1919
2020from typing import List , Set , Tuple
21- from gettext import gettext as _
2221
23- # Default drum part names shown in the UI
2422DEFAULT_DRUM_PARTS : List [str ] = [
25- _ ( "kick" ) ,
26- _ ( "kick-2" ) ,
27- _ ( "kick-3" ) ,
28- _ ( "snare" ) ,
29- _ ( "snare-2" ) ,
30- _ ( "hihat" ) ,
31- _ ( "hihat-2" ) ,
32- _ ( "clap" ) ,
33- _ ( "tom" ) ,
34- _ ( "crash" ) ,
23+ "kick" ,
24+ "kick-2" ,
25+ "kick-3" ,
26+ "snare" ,
27+ "snare-2" ,
28+ "hihat" ,
29+ "hihat-2" ,
30+ "clap" ,
31+ "tom" ,
32+ "crash" ,
3533]
36-
37- # Default rhythm pattern names shown in the UI
3834DEFAULT_PATTERNS : List [str ] = [
39- _ ( "Shoot" ) ,
40- _ ( "Maybe Rock" ) ,
41- _ ( "Boom Boom" ) ,
42- _ ( "Night" ) ,
43- _ ( "Slow" ) ,
44- _ ( "Chill" ) ,
35+ "Shoot" ,
36+ "Maybe Rock" ,
37+ "Boom Boom" ,
38+ "Night" ,
39+ "Slow" ,
40+ "Chill" ,
4541]
46-
4742NUM_TOGGLES : int = 16
4843GROUP_TOGGLE_COUNT : int = 4
4944DEFAULT_BPM : int = 120
You can’t perform that action at this time.
0 commit comments