├── example ├── minrhy │ ├── minrhy-001.out │ ├── minrhy-002.out │ ├── minrhy-003.out │ ├── minrhy-004.out │ ├── minrhy-005.out │ ├── minrhy-005.in │ ├── minrhy-001.in │ ├── minrhy-003.in │ ├── minrhy-005.in.2 │ ├── minrhy-002.in │ └── minrhy-004.in ├── prange │ ├── prange-004.out │ ├── prange-005.out │ ├── prange-007.out │ ├── prange-008.out │ ├── prange-001.in │ ├── prange-003.in │ ├── prange-005.in │ ├── prange-004.in │ ├── prange-008.in │ ├── prange-002.in │ ├── prange-007.in │ ├── prange-006.in │ ├── prange-001.out │ ├── prange-002.out │ └── prange-003.out ├── scordur │ ├── scordur-001.out │ └── scordur-001.in ├── pitchmix │ ├── .regression-ignore │ ├── pitchmix-001.in │ ├── pitchmix-001.out │ ├── pitchmix-002.in │ └── pitchmix-002.out ├── tsroot │ ├── .regression-ignore │ └── .tsroot-002.out.swp ├── scaletype │ ├── scaletype-001.out │ ├── scaletype-002.out │ ├── scaletype-001.in │ └── scaletype-002.in ├── hgrep │ ├── hgrep-001.out │ └── hgrep-001.in ├── keycor │ ├── keycor-001.out │ └── keycor-001.in ├── zscores │ ├── zscores-008.out │ ├── zscores-007.out │ ├── zscores-013.out │ ├── zscores-014.out │ ├── zscores-005.in │ ├── zscores-006.in │ ├── zscores-008.in │ ├── zscores-011.in │ ├── zscores-009.in │ ├── zscores-015.in │ ├── zscores-001.in │ ├── zscores-007.in │ ├── zscores-011.out │ ├── zscores-012.out │ ├── zscores-012.in │ ├── zscores-001.out │ ├── zscores-003.in │ ├── zscores-013.in │ ├── zscores-002.in │ ├── zscores-010.in │ ├── zscores-003.out │ ├── zscores-014.in │ ├── zscores-004.in │ ├── zscores-009.out │ ├── zscores-005.out │ ├── zscores-004.out │ ├── zscores-015.out │ ├── zscores-010.out │ └── zscores-002.out ├── tindex │ ├── tindex-001.out │ ├── tindex-002.out │ ├── tindex-001.in │ └── tindex-002.in ├── thrux │ ├── thrux-005.out │ ├── thrux-006.out │ ├── thrux-001.in │ ├── thrux-005.in │ ├── thrux-003.out │ ├── thrux-003.in │ ├── thrux-001.out │ ├── thrux-002.in │ ├── thrux-004.in │ ├── thrux-004.out │ ├── thrux-006.in │ └── thrux-002.out ├── cint │ ├── cint-010.in │ ├── cint-007.in │ ├── cint-008.in │ ├── cint-006.in │ ├── cint-009.in │ ├── cint-010.out │ ├── cint-005.in │ ├── cint-007.out │ ├── cint-008.out │ ├── cint-002.in │ ├── cint-004.in │ ├── cint-006.out │ ├── cint-009.out │ ├── cint-003.in │ ├── cint-005.out │ ├── cint-002.out │ ├── cint-004.out │ ├── cint-001.in │ ├── cint-003.out │ └── cint-001.out ├── blank │ ├── blank-001.in │ ├── blank-001.out │ ├── blank-003.out │ ├── blank-002.in │ ├── blank-003.in │ └── blank-002.out ├── ridx │ ├── ridx-010.out │ ├── ridx-003.out │ ├── ridx-001.out │ ├── ridx-011.out │ ├── ridx-007.out │ ├── ridx-005.out │ ├── ridx-002.out │ ├── ridx-009.out │ ├── ridx-008.out │ ├── ridx-010.in │ ├── ridx-001.in │ ├── ridx-004.out │ └── ridx-006.out ├── rscale │ ├── rscale-006.in │ ├── rscale-003.out │ ├── rscale-004.in │ ├── rscale-004.out │ ├── rscale-003.in │ ├── rscale-006.out │ ├── rscale-007.in │ ├── rscale-005.out │ ├── rscale-009.in │ ├── rscale-007.out │ ├── rscale-008.in │ ├── rscale-010.out │ ├── rscale-005.in │ ├── rscale-008.out │ ├── rscale-011.in │ ├── rscale-009.out │ ├── rscale-012.out │ ├── rscale-011.out │ ├── rscale-010.in │ ├── rscale-012.in │ ├── rscale-001.in │ ├── rscale-002.in │ ├── rscale-001.out │ └── rscale-002.out ├── serialize │ ├── serialize-008.in │ ├── serialize-009.in │ ├── serialize-010.in │ ├── serialize-010.out │ ├── serialize-001.in │ ├── serialize-008.out │ ├── serialize-011.in │ ├── serialize-009.out │ ├── serialize-013.out │ ├── serialize-014.out │ ├── serialize-015.out │ ├── serialize-007.in │ ├── serialize-016.out │ ├── serialize-002.in │ ├── serialize-002.out │ ├── serialize-011.out │ ├── serialize-003.in │ ├── serialize-003.out │ ├── serialize-015.in │ ├── serialize-013.in │ ├── serialize-014.in │ ├── serialize-007.out │ ├── serialize-016.in │ ├── serialize-001.out │ ├── serialize-012.in │ └── serialize-012.out ├── autodynam │ ├── autodynam-003.in │ ├── autodynam-003.out │ ├── autodynam-004.in │ ├── autodynam-004.out │ ├── autodynam-001.in │ ├── autodynam-001.out │ ├── autodynam-002.in │ ├── autodynam-002.out │ ├── autodynam-005.in │ ├── autodynam-005.out │ ├── autodynam-006.in │ └── autodynam-006.out ├── extractx │ ├── extractx-015.out │ ├── extractx-030.out │ ├── extractx-001.out │ ├── extractx-010.out │ ├── extractx-029.out │ ├── extractx-035.out │ ├── extractx-036.out │ ├── extractx-012.out │ ├── extractx-020.out │ ├── extractx-051.in │ ├── extractx-051.out │ ├── extractx-032.in │ ├── extractx-032.out │ ├── extractx-011.out │ ├── extractx-045.out │ ├── extractx-046.out │ ├── extractx-002.out │ ├── extractx-004.out │ ├── extractx-014.out │ ├── extractx-016.out │ ├── extractx-013.out │ ├── extractx-015.in │ ├── extractx-001.in │ ├── extractx-005.out │ ├── extractx-007.out │ ├── extractx-010.in │ ├── extractx-017.out │ ├── extractx-009.in │ ├── extractx-038.out │ ├── extractx-002.in │ ├── extractx-003.out │ ├── extractx-004.in │ ├── extractx-014.in │ ├── extractx-016.in │ ├── extractx-020.in │ ├── extractx-012.in │ ├── extractx-013.in │ ├── extractx-021.out │ ├── extractx-045.in │ ├── extractx-046.in │ ├── extractx-005.in │ ├── extractx-007.in │ ├── extractx-035.in │ ├── extractx-036.in │ ├── extractx-049.out │ ├── extractx-006.out │ ├── extractx-008.in │ ├── extractx-008.out │ ├── extractx-011.in │ ├── extractx-022.out │ ├── extractx-034.in │ ├── extractx-034.out │ ├── extractx-049.in │ ├── extractx-003.in │ ├── extractx-021.in │ ├── extractx-033.in │ ├── extractx-033.out │ ├── extractx-038.in │ ├── extractx-047.in │ ├── extractx-048.in │ ├── extractx-022.in │ ├── extractx-047.out │ ├── extractx-048.out │ ├── extractx-006.in │ ├── extractx-017.in │ ├── extractx-029.in │ ├── extractx-037.in │ ├── extractx-037.out │ ├── extractx-027.out │ ├── extractx-009.out │ ├── extractx-018.in │ ├── extractx-018.out │ ├── extractx-024.in │ ├── extractx-024.out │ ├── extractx-041.out │ ├── extractx-023.in │ ├── extractx-043.in │ ├── extractx-040.out │ ├── extractx-028.out │ ├── extractx-030.in │ ├── extractx-031.out │ ├── extractx-025.out │ ├── extractx-039.in │ ├── extractx-043.out │ ├── extractx-039.out │ ├── extractx-027.in │ ├── extractx-023.out │ ├── extractx-026.in │ ├── extractx-026.out │ ├── extractx-044.in │ ├── extractx-044.out │ ├── extractx-028.in │ ├── extractx-031.in │ ├── extractx-025.in │ ├── extractx-019.in │ └── extractx-050.out ├── xml2hum │ └── xml2hum-001.out ├── mvspine │ ├── mvspine-001.in │ └── mvspine-001.out ├── myank │ ├── myank-005.out │ ├── myank-001.out │ ├── myank-009.out │ ├── myank-006.out │ ├── myank-010.out │ ├── myank-008.out │ ├── myank-002.out │ ├── myank-003.out │ ├── myank-007.out │ ├── myank-005.in │ ├── myank-004.out │ ├── myank-001.in │ ├── myank-002.in │ ├── myank-006.in │ ├── myank-003.in │ ├── myank-004.in │ ├── myank-009.in │ └── myank-010.in ├── harm2kern │ ├── harm2kern-004.in │ ├── harm2kern-005.in │ ├── harm2kern-008.in │ ├── harm2kern-001.in │ ├── harm2kern-002.in │ ├── harm2kern-009.out │ ├── harm2kern-003.in │ ├── harm2kern-009.in │ ├── harm2kern-004.out │ ├── harm2kern-005.out │ ├── harm2kern-010.in │ ├── harm2kern-008.out │ ├── harm2kern-001.out │ ├── harm2kern-010.out │ ├── harm2kern-002.out │ ├── harm2kern-011.in │ ├── harm2kern-011.out │ ├── harm2kern-012.in │ ├── harm2kern-012.out │ ├── harm2kern-003.out │ ├── harm2kern-007.out │ ├── harm2kern-006.in │ ├── harm2kern-013.in │ ├── harm2kern-007.in │ ├── harm2kern-013.out │ └── harm2kern-006.out ├── sonority │ ├── sonority-005.out │ ├── sonority-004.out │ ├── sonority-003.in │ ├── sonority-003.out │ ├── sonority-006.out │ ├── sonority-005.in │ ├── sonority-004.in │ └── sonority-006.in ├── beat │ ├── beat-006.out │ ├── beat-004.in │ ├── beat-005.in │ ├── beat-010.out │ ├── beat-006.in │ ├── beat-010.in │ ├── beat-001.out │ ├── beat-001.in │ ├── beat-003.out │ ├── beat-002.out │ ├── beat-002.in │ ├── beat-003.in │ ├── beat-008.out │ ├── beat-007.in │ ├── beat-011.out │ ├── beat-004.out │ ├── beat-005.out │ ├── beat-008.in │ ├── beat-011.in │ ├── beat-009.in │ ├── beat-009.out │ └── beat-007.out ├── ottava │ ├── ottava-002.in │ ├── ottava-001.in │ ├── ottava-002.out │ ├── ottava-001.out │ ├── ottava-003.in │ ├── ottava-003.out │ ├── ottava-004.in │ ├── ottava-004.out │ ├── ottava-007.in │ ├── ottava-008.out │ ├── ottava-008.in │ ├── ottava-007.out │ ├── ottava-005.in │ ├── ottava-006.out │ ├── ottava-005.out │ └── ottava-006.in ├── transpose │ ├── transpose-001.in │ ├── transpose-002.in │ ├── transpose-001.out │ ├── transpose-002.out │ ├── transpose-005.in │ ├── transpose-005.out │ ├── transpose-006.in │ ├── transpose-006.out │ ├── transpose-009.in │ ├── transpose-009.out │ ├── transpose-011.in │ ├── transpose-007.in │ ├── transpose-008.in │ ├── transpose-010.in │ ├── transpose-011.out │ ├── transpose-007.out │ ├── transpose-010.out │ ├── transpose-008.out │ └── transpose-012.in ├── swing │ ├── swing-001.in │ ├── swing-002.in │ ├── swing-001.out │ └── swing-002.out ├── autostem │ ├── autostem-003.out │ ├── autostem-001.in │ ├── autostem-002.in │ ├── autostem-003.in │ ├── autostem-002.out │ ├── autostem-008.out │ ├── autostem-001.out │ ├── autostem-004.in │ ├── autostem-008.in │ ├── autostem-004.out │ ├── autostem-005.in │ ├── autostem-007.in │ ├── autostem-005.out │ ├── autostem-007.out │ ├── autostem-006.in │ └── autostem-006.out ├── barnum │ ├── barnum-010.in │ ├── barnum-009.out │ ├── barnum-010.out │ ├── barnum-008.in │ ├── barnum-009.in │ ├── barnum-008.out │ ├── barnum-006.in │ ├── barnum-006.out │ ├── barnum-005.in │ ├── barnum-004.in │ ├── barnum-005.out │ ├── barnum-004.out │ ├── barnum-007.in │ ├── barnum-007.out │ ├── barnum-001.in │ ├── barnum-002.in │ ├── barnum-002.out │ └── barnum-001.out ├── tiefix │ ├── tiefix-001.in │ ├── tiefix-001.out │ ├── tiefix-002.in │ ├── tiefix-002.out │ ├── tiefix-003.in │ └── tiefix-003.out ├── spinetrace │ ├── spinetrace-001.in │ └── spinetrace-001.out ├── gettime │ ├── gettime-005.in │ ├── gettime-001.in │ ├── gettime-002.in │ ├── gettime-004.in │ ├── gettime-003.in │ ├── gettime-001.out │ ├── gettime-005.out │ ├── gettime-002.out │ ├── gettime-003.out │ ├── gettime-004.out │ ├── gettime-006.in │ ├── gettime-007.in │ ├── gettime-009.in │ ├── gettime-008.in │ └── gettime-010.in ├── hum2xml │ └── hum2xml-001.in ├── hum2gmn │ ├── hum2gmn-002.in │ ├── hum2gmn-001.in │ ├── hum2gmn-001.out │ └── hum2gmn-002.out ├── lofcog │ ├── lofcog-001.in │ └── lofcog-001.out ├── kern2cmn │ ├── kern2cmn-001.in │ └── kern2cmn-001.out ├── kern2dm │ ├── kern2dm-001.out │ └── kern2dm-001.in ├── kern2skini │ └── kern2skini-001.in ├── kern2melisma │ └── kern2melisma-001.in ├── rcheck │ └── rcheck-001.in ├── pae2kern │ └── pae2kern-001.in ├── time2matlab │ └── time2matlab-001.in ├── hum2abc │ └── hum2abc-001.in └── time2tempo │ ├── time2tempo-002.in │ └── time2tempo-003.in ├── external ├── pcre-8.35 │ ├── .deps │ │ ├── dftables.Po │ │ ├── libpcre16_la-pcre16_compile.Plo │ │ ├── libpcre16_la-pcre16_config.Plo │ │ ├── libpcre16_la-pcre16_exec.Plo │ │ ├── libpcre16_la-pcre16_get.Plo │ │ ├── libpcre16_la-pcre16_globals.Plo │ │ ├── libpcre16_la-pcre16_newline.Plo │ │ ├── libpcre16_la-pcre16_study.Plo │ │ ├── libpcre16_la-pcre16_tables.Plo │ │ ├── libpcre16_la-pcre16_ucd.Plo │ │ ├── libpcre16_la-pcre16_version.Plo │ │ ├── libpcre16_la-pcre16_xclass.Plo │ │ ├── libpcre32_la-pcre32_compile.Plo │ │ ├── libpcre32_la-pcre32_config.Plo │ │ ├── libpcre32_la-pcre32_exec.Plo │ │ ├── libpcre32_la-pcre32_get.Plo │ │ ├── libpcre32_la-pcre32_globals.Plo │ │ ├── libpcre32_la-pcre32_newline.Plo │ │ ├── libpcre32_la-pcre32_study.Plo │ │ ├── libpcre32_la-pcre32_tables.Plo │ │ ├── libpcre32_la-pcre32_ucd.Plo │ │ ├── libpcre32_la-pcre32_version.Plo │ │ ├── libpcre32_la-pcre32_xclass.Plo │ │ ├── pcre_jit_test-pcre_jit_test.Po │ │ ├── pcretest-pcre16_printint.Po │ │ ├── pcretest-pcre32_printint.Po │ │ ├── libpcre16_la-pcre16_byte_order.Plo │ │ ├── libpcre16_la-pcre16_chartables.Plo │ │ ├── libpcre16_la-pcre16_dfa_exec.Plo │ │ ├── libpcre16_la-pcre16_fullinfo.Plo │ │ ├── libpcre16_la-pcre16_jit_compile.Plo │ │ ├── libpcre16_la-pcre16_maketables.Plo │ │ ├── libpcre16_la-pcre16_ord2utf16.Plo │ │ ├── libpcre16_la-pcre16_refcount.Plo │ │ ├── libpcre16_la-pcre16_string_utils.Plo │ │ ├── libpcre16_la-pcre16_utf16_utils.Plo │ │ ├── libpcre16_la-pcre16_valid_utf16.Plo │ │ ├── libpcre16_la-pcre_chartables.Plo │ │ ├── libpcre32_la-pcre32_byte_order.Plo │ │ ├── libpcre32_la-pcre32_chartables.Plo │ │ ├── libpcre32_la-pcre32_dfa_exec.Plo │ │ ├── libpcre32_la-pcre32_fullinfo.Plo │ │ ├── libpcre32_la-pcre32_jit_compile.Plo │ │ ├── libpcre32_la-pcre32_maketables.Plo │ │ ├── libpcre32_la-pcre32_ord2utf32.Plo │ │ ├── libpcre32_la-pcre32_refcount.Plo │ │ ├── libpcre32_la-pcre32_string_utils.Plo │ │ ├── libpcre32_la-pcre32_utf32_utils.Plo │ │ ├── libpcre32_la-pcre32_valid_utf32.Plo │ │ └── libpcre32_la-pcre_chartables.Plo │ ├── testdata │ │ ├── greppatN4 │ │ ├── grepbinary │ │ ├── grepfilelist │ │ ├── saved8 │ │ ├── saved16 │ │ ├── saved32 │ │ ├── saved16BE-1 │ │ ├── saved16BE-2 │ │ ├── saved16LE-1 │ │ ├── saved16LE-2 │ │ ├── saved32BE-1 │ │ ├── saved32BE-2 │ │ ├── saved32LE-1 │ │ ├── saved32LE-2 │ │ ├── testinput1 │ │ ├── testinput15 │ │ ├── testinput18 │ │ ├── testinput3 │ │ ├── testinput8 │ │ ├── testoutput1 │ │ ├── testoutput3 │ │ ├── testoutput8 │ │ ├── testinputEBC │ │ ├── testoutput15 │ │ ├── testoutput3A │ │ ├── testoutput3B │ │ ├── testoutputEBC │ │ ├── wintestinput3 │ │ ├── wintestoutput3 │ │ ├── grepinputv │ │ ├── testoutput18-16 │ │ ├── testoutput18-32 │ │ ├── testinput24 │ │ ├── grepinput8 │ │ ├── greplist │ │ ├── testinput26 │ │ ├── testinput13 │ │ ├── testoutput24 │ │ └── testinput23 │ ├── stamp-h1 │ ├── pcre_chartables.c │ ├── ChangeLog │ ├── .libs │ │ ├── pcregrep │ │ ├── pcretest │ │ ├── pcrecpp_unittest │ │ ├── pcre_scanner_unittest │ │ └── pcre_stringpiece_unittest │ ├── COPYING │ ├── NON-UNIX-USE │ └── libpcrecpp.pc ├── pcre2-10.42 │ ├── testdata │ │ ├── greppatN4 │ │ ├── grepoutputCgz │ │ ├── grepbinary │ │ ├── grepfilelist │ │ ├── grepoutputCbz2 │ │ ├── grepoutput8 │ │ ├── grepoutputUN │ │ ├── testbtables │ │ ├── testinput1 │ │ ├── testinput10 │ │ ├── testinput11 │ │ ├── testinput12 │ │ ├── testinput2 │ │ ├── testinput3 │ │ ├── testinput5 │ │ ├── testinput6 │ │ ├── testinputEBC │ │ ├── testoutput1 │ │ ├── testoutput10 │ │ ├── testoutput2 │ │ ├── testoutput3 │ │ ├── testoutput3A │ │ ├── testoutput3B │ │ ├── testoutput5 │ │ ├── testoutput6 │ │ ├── grepinputC.bz2 │ │ ├── grepinputC.gz │ │ ├── testoutputEBC │ │ ├── wintestinput3 │ │ ├── wintestoutput3 │ │ ├── testoutput11-16 │ │ ├── testoutput11-32 │ │ ├── testoutput12-16 │ │ ├── testoutput12-32 │ │ ├── valgrind-jit.supp │ │ ├── greplist │ │ ├── testinput23 │ │ ├── grepinput8 │ │ ├── testinput16 │ │ ├── grepinputv │ │ └── testoutput23 │ └── COPYING ├── centerpoint.source └── pcre.source └── cli └── hum2xml.cpp /example/minrhy/minrhy-001.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-002.out: -------------------------------------------------------------------------------- 1 | 64 2 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-003.out: -------------------------------------------------------------------------------- 1 | 24 2 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-004.out: -------------------------------------------------------------------------------- 1 | 15 2 | -------------------------------------------------------------------------------- /example/prange/prange-004.out: -------------------------------------------------------------------------------- 1 | 65 2 | -------------------------------------------------------------------------------- /example/prange/prange-005.out: -------------------------------------------------------------------------------- 1 | 67 2 | -------------------------------------------------------------------------------- /example/prange/prange-007.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /example/prange/prange-008.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /example/scordur/scordur-001.out: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /example/pitchmix/.regression-ignore: -------------------------------------------------------------------------------- 1 | all 2 | -------------------------------------------------------------------------------- /example/tsroot/.regression-ignore: -------------------------------------------------------------------------------- 1 | all 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/dftables.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /example/scaletype/scaletype-001.out: -------------------------------------------------------------------------------- 1 | pentatonic 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/greppatN4: -------------------------------------------------------------------------------- 1 | xxx 2 | jkl -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/greppatN4: -------------------------------------------------------------------------------- 1 | xxx 2 | jkl -------------------------------------------------------------------------------- /example/hgrep/hgrep-001.out: -------------------------------------------------------------------------------- 1 | measure 2:beat 2.75:16g 2 | -------------------------------------------------------------------------------- /example/keycor/keycor-001.out: -------------------------------------------------------------------------------- 1 | The best key is: C Major 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/stamp-h1: -------------------------------------------------------------------------------- 1 | timestamp for config.h 2 | -------------------------------------------------------------------------------- /example/scaletype/scaletype-002.out: -------------------------------------------------------------------------------- 1 | pentatonic C D F G A 2 | -------------------------------------------------------------------------------- /example/zscores/zscores-008.out: -------------------------------------------------------------------------------- 1 | Mean: 5 2 | SD: 2.58199 3 | -------------------------------------------------------------------------------- /external/pcre-8.35/pcre_chartables.c: -------------------------------------------------------------------------------- 1 | ./pcre_chartables.c.dist -------------------------------------------------------------------------------- /example/tindex/tindex-001.out: -------------------------------------------------------------------------------- 1 | tindex-001.in::1 JC D E F G A B C 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_compile.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_config.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_exec.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_get.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_globals.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_newline.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_study.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_tables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_ucd.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_version.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_xclass.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_compile.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_config.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_exec.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_get.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_globals.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_newline.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_study.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_tables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_ucd.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_version.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_xclass.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/pcre_jit_test-pcre_jit_test.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/pcretest-pcre16_printint.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/pcretest-pcre32_printint.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepoutputCgz: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | RC=0 4 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_byte_order.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_chartables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_dfa_exec.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_fullinfo.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_jit_compile.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_maketables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_ord2utf16.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_refcount.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_string_utils.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_utf16_utils.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre16_valid_utf16.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre16_la-pcre_chartables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_byte_order.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_chartables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_dfa_exec.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_fullinfo.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_jit_compile.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_maketables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_ord2utf32.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_refcount.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_string_utils.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_utf32_utils.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre32_valid_utf32.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/.deps/libpcre32_la-pcre_chartables.Plo: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /example/thrux/thrux-005.out: -------------------------------------------------------------------------------- 1 | [A,B,B,C] 2 | norep[A,B,C] 3 | A 4 | B 5 | C 6 | -------------------------------------------------------------------------------- /external/centerpoint.source: -------------------------------------------------------------------------------- 1 | http://www.cpointc.com/XML/XML-02_01_07.tar.gz 2 | -------------------------------------------------------------------------------- /cli/hum2xml.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/cli/hum2xml.cpp -------------------------------------------------------------------------------- /example/minrhy/minrhy-005.out: -------------------------------------------------------------------------------- 1 | minrhy-005.in: 4 2 | minrhy-005.in.2: 8 3 | all: 8 4 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/grepbinary: -------------------------------------------------------------------------------- 1 | The quick brown fx jumps over the lazy dog. 2 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/grepfilelist: -------------------------------------------------------------------------------- 1 | testdata/grepinputv 2 | 3 | testdata/grepinputx 4 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepbinary: -------------------------------------------------------------------------------- 1 | The quick brown fx jumps over the lazy dog. 2 | -------------------------------------------------------------------------------- /example/zscores/zscores-007.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 8 | 8 9 | 9 10 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepfilelist: -------------------------------------------------------------------------------- 1 | testdata/grepinputv 2 | 3 | testdata/grepinputx 4 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepoutputCbz2: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | RC=0 4 | one 5 | two 6 | RC=0 7 | -------------------------------------------------------------------------------- /external/pcre-8.35/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/ChangeLog -------------------------------------------------------------------------------- /external/pcre.source: -------------------------------------------------------------------------------- 1 | https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-10.42.tar.bz2 2 | -------------------------------------------------------------------------------- /example/tindex/tindex-002.out: -------------------------------------------------------------------------------- 1 | tindex-002.in::1 }XM2XM2Xm2XM2XM2XM2Xm2 2 | tindex-002.in::2 }xM2xP4xm2xM2xM2xM2 3 | -------------------------------------------------------------------------------- /example/tsroot/.tsroot-002.out.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/example/tsroot/.tsroot-002.out.swp -------------------------------------------------------------------------------- /external/pcre-8.35/.libs/pcregrep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/.libs/pcregrep -------------------------------------------------------------------------------- /external/pcre-8.35/.libs/pcretest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/.libs/pcretest -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved8 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved16 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved32 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved16BE-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved16BE-1 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved16BE-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved16BE-2 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved16LE-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved16LE-1 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved16LE-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved16LE-2 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved32BE-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved32BE-1 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved32BE-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved32BE-2 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved32LE-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved32LE-1 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/saved32LE-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/saved32LE-2 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testinput1 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testinput15 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput18: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testinput18 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testinput3 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testinput8 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput1 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput3 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput8 -------------------------------------------------------------------------------- /external/pcre-8.35/.libs/pcrecpp_unittest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/.libs/pcrecpp_unittest -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinputEBC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testinputEBC -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput15 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput3A: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput3A -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput3B: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput3B -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutputEBC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutputEBC -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/wintestinput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/wintestinput3 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/wintestoutput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/wintestoutput3 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepoutput8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/grepoutput8 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepoutputUN: -------------------------------------------------------------------------------- 1 | ---------------------------- Test UN1 ------------------------------ 2 | 1:abcሴdef 3 | 4 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testbtables: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testbtables -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput1 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput10 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput11 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput12 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput2 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput3 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput5 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinput6 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinputEBC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testinputEBC -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput1 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput10 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput2 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput3 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput3A: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput3A -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput3B: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput3B -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput5 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput6 -------------------------------------------------------------------------------- /external/pcre-8.35/COPYING: -------------------------------------------------------------------------------- 1 | PCRE LICENCE 2 | 3 | Please see the file LICENCE in the PCRE distribution for licensing details. 4 | 5 | End 6 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/grepinputv: -------------------------------------------------------------------------------- 1 | The quick brown 2 | fox jumps 3 | over the lazy dog. 4 | This time it jumps and jumps and jumps. 5 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput18-16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput18-16 -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput18-32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/testdata/testoutput18-32 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepinputC.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/grepinputC.bz2 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepinputC.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/grepinputC.gz -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutputEBC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutputEBC -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/wintestinput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/wintestinput3 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/wintestoutput3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/wintestoutput3 -------------------------------------------------------------------------------- /example/cint/cint-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Separate intervals by commas. 2 | !!!command: cint -C %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /external/pcre-8.35/.libs/pcre_scanner_unittest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/.libs/pcre_scanner_unittest -------------------------------------------------------------------------------- /external/pcre2-10.42/COPYING: -------------------------------------------------------------------------------- 1 | PCRE2 LICENCE 2 | 3 | Please see the file LICENCE in the PCRE2 distribution for licensing details. 4 | 5 | End 6 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput11-16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput11-16 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput11-32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput11-32 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput12-16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput12-16 -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput12-32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre2-10.42/testdata/testoutput12-32 -------------------------------------------------------------------------------- /example/blank/blank-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Append a blank spine to some Humdrum data. 2 | !!!command: blank -a %in > %out 3 | **foo 4 | a 5 | b 6 | c 7 | *- 8 | -------------------------------------------------------------------------------- /example/cint/cint-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Mark melodic intervals with "m". 2 | !!!command: cint -tm %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Mark harmonic intervals with "h". 2 | !!!command: cint -h %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/zscores/zscores-013.out: -------------------------------------------------------------------------------- 1 | 10 1 1 0 2 | 20 2 1 0 3 | 30 3 1 0 4 | 40 3 1 1 5 | 50 3 1 2 6 | 60 4 1 0 7 | 70 6 2 0 8 | 80 6 3 0 9 | 90 9 1 0 10 | -------------------------------------------------------------------------------- /external/pcre-8.35/.libs/pcre_stringpiece_unittest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigsapp/humextra/HEAD/external/pcre-8.35/.libs/pcre_stringpiece_unittest -------------------------------------------------------------------------------- /example/cint/cint-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Enclose melodic intervals in curly braces. 2 | !!!command: cint -ty %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Place harmonic intervals in square brackets. 2 | !!!command: cint -q %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Separate intervals by commas. 2 | !!!command: cint -C %in > %out 3 | **kern **cint **kern 4 | E 10,-2,12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/blank/blank-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Append a blank spine to some Humdrum data. 2 | !!!command: blank -a %in > %out 3 | **foo **blank 4 | a . 5 | b . 6 | c . 7 | *- *- 8 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Multiple file inputs. 2 | !!!command: minrhy -P %in %in.2 > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | *- 10 | -------------------------------------------------------------------------------- /example/cint/cint-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, suppressing melodic intervals. 2 | !!!command: cint -M %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Mark melodic intervals with "m". 2 | !!!command: cint -tm %in > %out 3 | **kern **cint **kern 4 | E 10 -2m 2m 12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Mark harmonic intervals with "h". 2 | !!!command: cint -h %in > %out 3 | **kern **cint **kern 4 | E 10h -2 12h g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, including top melodic interval. 2 | !!!command: cint -t %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, suppressing harmonic intervals. 2 | !!!command: cint -Ht %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/ridx/ridx-010.out: -------------------------------------------------------------------------------- 1 | **a 2 | *bb 3 | a1 4 | . 5 | *^ 6 | a2 a3 7 | . . 8 | = = 9 | a4 . 10 | . a5 11 | * * 12 | *v *v 13 | a6 14 | * 15 | . 16 | = 17 | . 18 | *- 19 | -------------------------------------------------------------------------------- /example/rscale/rscale-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Use a non-power-of-two scaling (convert to tripets). 2 | !!!command: rscale -f 2/3 %in > %out 3 | **kern 4 | 1c 5 | 2d 6 | 4e 7 | 8f 8 | *- 9 | -------------------------------------------------------------------------------- /example/serialize/serialize-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Serialize chord notes. 2 | !!!command: serialize -c %in > %out 3 | **kern 4 | 4c 4e 4g 5 | 4d 4f# 4a 6 | 4e 4g# 4b 7 | 4f 4a 4c 8 | *- 9 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to crescendo on same line before next dynamics item. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | < 5 | p 6 | *- 7 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to crescendo on same line before next dynamics item. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | < [ 5 | p 6 | *- 7 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to decrescendo on same line before next dynamics item. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | > 5 | p 6 | *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Enclose melodic intervals in curly braces. 2 | !!!command: cint -ty %in > %out 3 | **kern **cint **kern 4 | E 10 {-2 2} 12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Place harmonic intervals in square brackets. 2 | !!!command: cint -q %in > %out 3 | **kern **cint **kern 4 | E [10] -2 [12] g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-015.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract all **b spines. 2 | !!!command: extractx -i '**b' %in > %out 3 | **b 4 | b 5 | b 6 | b 7 | b 8 | b 9 | b 10 | b 11 | *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-030.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting two partial spines. 2 | !!!command: extractx -s 3,4 %in > %out 3 | **c 4 | c 5 | c 6 | *- 7 | **d 8 | d 9 | d 10 | *- 11 | -------------------------------------------------------------------------------- /example/rscale/rscale-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Return rhythms to original states using stored inverse factor. 2 | !!!command: rscale -o %in > %out 3 | **kern 4 | 1c 5 | 2d 6 | 4e 7 | 8f 8 | *- 9 | -------------------------------------------------------------------------------- /example/xml2hum/xml2hum-001.out: -------------------------------------------------------------------------------- 1 | **kern 2 | *staff1 3 | *I"XPart 0 4 | =1- 5 | 4c 6 | 4d 7 | =2 8 | 4e 9 | 4f 10 | =3 11 | 8g 12 | 8a 13 | 4b 14 | =4 15 | 2c 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to decrescendo on same line before next dynamics item. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | > ] 5 | p 6 | *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the second spine in a file. 2 | !!!command: extractx -s 2 %in > %out 3 | **b 4 | b 5 | b 6 | b 7 | b 8 | b 9 | b 10 | b 11 | *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the penultimate spine. 2 | !!!command: extractx -s '$-1' %in > %out 3 | **b 4 | b 5 | b 6 | b 7 | b 8 | b 9 | b 10 | b 11 | *- 12 | -------------------------------------------------------------------------------- /example/rscale/rscale-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Apply stored alternate scaling. 2 | !!!command: rscale -a %in > %out 3 | **kern 4 | 00c 5 | 0d 6 | 1e 7 | 2f 8 | *- 9 | !!!rscale-alt: 1/4 10 | -------------------------------------------------------------------------------- /example/cint/cint-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, replacing bottom melodic interval with top one. 2 | !!!command: cint -T %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, suppressing melodic intervals. 2 | !!!command: cint -M %in > %out 3 | **kern **cint **kern 4 | E 10 12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-029.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which does not start/stop at the same time as other spines. 2 | !!!command: extractx -i '**c' %in > %out 3 | **c 4 | c 5 | c 6 | *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-035.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the "a" portion of a spine. 2 | !!!command: extractx -s 2a %in > %out 3 | **b 4 | * 5 | b1 6 | b1 7 | b1 8 | b1 9 | * 10 | *- 11 | -------------------------------------------------------------------------------- /example/extractx/extractx-036.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the "b" portion of a spine. 2 | !!!command: extractx -s 2b %in > %out 3 | **b 4 | * 5 | b2 6 | b2 7 | b2 8 | b2 9 | * 10 | *- 11 | -------------------------------------------------------------------------------- /example/keycor/keycor-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Identify the key of a C-major scale 2 | !!!command: keycor %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4c 12 | *- 13 | -------------------------------------------------------------------------------- /example/cint/cint-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, including top melodic interval. 2 | !!!command: cint -t %in > %out 3 | **kern **cint **kern 4 | E 10 -2 2 12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/cint/cint-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, suppressing harmonic intervals. 2 | !!!command: cint -Ht %in > %out 3 | **kern **cint **kern 4 | E -2 2 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/mvspine/mvspine-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Reverse the spine order in a Humdrum file 2 | !!!command: mvspine -r %in > %out 3 | **kern **kern **kern 4 | 4C 4c 4cc 5 | 4E 4e 4ee 6 | 4G 4g 4gg 7 | *- *- *- 8 | -------------------------------------------------------------------------------- /example/myank/myank-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract music in different clefs. 2 | !!!command: myank -m 2,5 %in > %out 3 | **kern 4 | *clefG2 5 | =2- 6 | 1A 7 | =5 8 | *clefF4 9 | 1E 10 | = 11 | *- 12 | -------------------------------------------------------------------------------- /example/serialize/serialize-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Serialize multiple-stop tokens, using non-default separator. 2 | !!!command: serialize -c -s ':' %in > %out 3 | **a 4 | b:c:d 5 | e:f:g 6 | h:i:j 7 | *- 8 | -------------------------------------------------------------------------------- /example/zscores/zscores-014.out: -------------------------------------------------------------------------------- 1 | -1.54919 1 1 0 2 | -1.1619 2 1 0 3 | -0.774597 3 1 0 4 | -0.387298 3 1 1 5 | 0 3 1 2 6 | 0.387298 4 1 0 7 | 0.774597 6 2 0 8 | 1.1619 6 3 0 9 | 1.54919 9 1 0 10 | -------------------------------------------------------------------------------- /example/cint/cint-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module triplet from two pairs of notes, interleaved with input data. 2 | !!!command: cint %in > %out 3 | **kern **kern 4 | E g 5 | D a 6 | *- *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-012.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the spine before the penultimate spine. 2 | !!!command: extractx -s '$2' %in > %out 3 | **a 4 | a 5 | a 6 | a 7 | a 8 | a 9 | a 10 | a 11 | *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-020.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which uses *x will remove the "x" in the output. 2 | !!!command: extractx -s 2 %in > %out 3 | **b 4 | b 5 | b 6 | * 7 | b 8 | b 9 | *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-051.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract from multiple segments 2 | !!!command: extractx -s 1 %in > %out 3 | **kern 4 | 1c 5 | *- 6 | **kern 7 | 1d 8 | *- 9 | **kern 10 | 1e 11 | *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-051.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract from multiple segments 2 | !!!command: extractx -s 1 %in > %out 3 | **kern 4 | 1c 5 | *- 6 | **kern 7 | 1d 8 | *- 9 | **kern 10 | 1e 11 | *- 12 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Triads in first inversion. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *C: 5 | Ib 6 | iib 7 | iiib 8 | IVb 9 | Vb 10 | vib 11 | viiob 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Triads in second inversion. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *C: 5 | Ic 6 | iic 7 | iiic 8 | IVc 9 | Vc 10 | vic 11 | viioc 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Example of the octave option. 2 | !!!command: harm2kern -o 1 %in > %out 3 | **harm 4 | *C: 5 | I 6 | ii 7 | iii 8 | IV 9 | V 10 | vi 11 | viio 12 | *- 13 | -------------------------------------------------------------------------------- /example/mvspine/mvspine-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Reverse the spine order in a Humdrum file 2 | !!!command: mvspine -r %in > %out 3 | **kern **kern **kern 4 | 4cc 4c 4C 5 | 4ee 4e 4E 6 | 4gg 4g 4G 7 | *- *- *- 8 | -------------------------------------------------------------------------------- /example/prange/prange-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Count the pitches in a rising major scale. 2 | !!!command: prange %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/prange/prange-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Count pitches with duration weighting 2 | !!!command: prange -d %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 8e 7 | 4f 8 | 8g 9 | 8a 10 | 4b 11 | 2cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/serialize/serialize-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Serialize subspines. 2 | !!!command: serialize -S %in > %out 3 | **kern 4 | 4c 5 | *^ 6 | 4d 4e 7 | 4f 4g 8 | *v *v 9 | 4a 10 | 4b 11 | 4cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/thrux/thrux-006.out: -------------------------------------------------------------------------------- 1 | !!>[A,B,B,C] 2 | !!>norep[A,B,C] 3 | **label **sline **eline **sbeat **ebeat **dur **bar 4 | A 6 9 0 4 4 1 5 | B 10 13 4 8 4 2 6 | C 14 20 8 12 4 3 7 | *- *- *- *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/blank/blank-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Generate a blank spine from some more complex Humdrum data. 2 | !!!command: blank %in > %out 3 | **blank 4 | ! 5 | . 6 | * 7 | . 8 | . 9 | * 10 | . 11 | . 12 | *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-032.in: -------------------------------------------------------------------------------- 1 | !!!test: Reverse spines grouped by **kern data. 2 | !!!command: extractx -r %in > %out 3 | **kern **num **kern **num 4 | 1c 2 1d 3 5 | 1c 2 1d 3 6 | 1c 2 1d 3 7 | *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/extractx/extractx-032.out: -------------------------------------------------------------------------------- 1 | !!!test: Reverse spines grouped by **kern data. 2 | !!!command: extractx -r %in > %out 3 | **kern **num **kern **num 4 | 1d 3 1c 2 5 | 1d 3 1c 2 6 | 1d 3 1c 2 7 | *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Triads on the scale degrees of C Major. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *C: 5 | I 6 | ii 7 | iii 8 | IV 9 | V 10 | vi 11 | viio 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Triads on the scale degrees of C Minor. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *c: 5 | i 6 | iio 7 | III 8 | iv 9 | v 10 | VI 11 | VII 12 | *- 13 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-001.in: -------------------------------------------------------------------------------- 1 | !!!test: If all notes are the same length, then that is the minimum rhythmic unit. 2 | !!!command: minrhy %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | *- 10 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Two against three polyrhythm. 2 | !!!command: minrhy %in > %out 3 | **kern **kern 4 | 4c 4cc 5 | 8d 12dd 6 | . 12ee 7 | 8e . 8 | . 12ff 9 | 4f 4gg 10 | *- *- 11 | -------------------------------------------------------------------------------- /example/myank/myank-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract measure 5 from score. 2 | !!!command: myank -m 5 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =5- 10 | 1g 11 | = 12 | *- 13 | -------------------------------------------------------------------------------- /example/prange/prange-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Find average pitch considering duration. 2 | !!!command: prange -d -p 50 %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 8e 7 | 4f 8 | 8g 9 | 8a 10 | 4b 11 | 2cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/rscale/rscale-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Apply stored alternate scaling. 2 | !!!command: rscale -a %in > %out 3 | **kern 4 | 1c 5 | 2d 6 | 4e 7 | 8f 8 | *- 9 | !!!rscale-alt: 1/4 10 | !!!rscale: 1/4 11 | -------------------------------------------------------------------------------- /example/sonority/sonority-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Display only the root of chords. 2 | !!!command: sonority -r %in > %out 3 | **qual 4 | C 5 | C 6 | C 7 | G 8 | G 9 | G 10 | D 11 | D 12 | D 13 | D 14 | *- 15 | -------------------------------------------------------------------------------- /example/cint/cint-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module, replacing bottom melodic interval with top one. 2 | !!!command: cint -T %in > %out 3 | **kern **cint **kern 4 | E 10 2 12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the penultimate spine using alternate notation. 2 | !!!command: extractx -s '$1' %in > %out 3 | **b 4 | b 5 | b 6 | b 7 | b 8 | b 9 | b 10 | b 11 | *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-045.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spine. 2 | !!!command: extractx -s '1,$c' -c "**a" %in > %out 3 | **a **cospine 4 | 1 2 A B 5 | 1 A 6 | 1 2 A B 7 | 1 A 8 | *- *- 9 | -------------------------------------------------------------------------------- /example/extractx/extractx-046.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spine. 2 | !!!command: extractx -s '2,$c' -c "**a" %in > %out 3 | **a **cospine 4 | 3 C 5 | 2 3 B C 6 | 3 4 C D 7 | 2 B 8 | *- *- 9 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting only the root of the chord. 2 | !!!command: harm2kern -r %in > %out 3 | **root 4 | *C: 5 | CC 6 | DD 7 | EE 8 | FF 9 | GG 10 | AA 11 | BB 12 | *- 13 | -------------------------------------------------------------------------------- /example/prange/prange-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Find average pitch not considering duration. 2 | !!!command: prange -p 50 %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 8e 7 | 4f 8 | 8g 9 | 8a 10 | 4b 11 | 2cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/rscale/rscale-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Return rhythms to original states using stored inverse factor. 2 | !!!command: rscale -o %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 16e 7 | 32f 8 | *- 9 | !!!rscale: 1/4 10 | -------------------------------------------------------------------------------- /example/rscale/rscale-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Use a non-power-of-two scaling (convert to tripets). 2 | !!!command: rscale -f 2/3 %in > %out 3 | **kern 4 | 3%2c 5 | 3d 6 | 6e 7 | 12f 8 | *- 9 | !!!rscale: 2/3 10 | -------------------------------------------------------------------------------- /example/rscale/rscale-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Process timebase tandem interpretations. 2 | !!!command: rscale -f 2 %in > %out 3 | **kern 4 | *tb8 5 | 4c 6 | . 7 | 8d 8 | 8e 9 | 2f 10 | . 11 | . 12 | . 13 | *- 14 | -------------------------------------------------------------------------------- /example/serialize/serialize-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Serialize subspines. 2 | !!!command: serialize -S %in > %out 3 | **kern 4 | 4c 5 | * 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | * 11 | * 12 | 4a 13 | 4b 14 | 4cc 15 | *- 16 | -------------------------------------------------------------------------------- /example/sonority/sonority-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Display only the inversions of chords. 2 | !!!command: sonority -i %in > %out 3 | **qual 4 | 0 5 | 1 6 | 2 7 | 0 8 | 1 9 | 2 10 | 0 11 | 1 12 | 2 13 | 3 14 | *- 15 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to crescendo just before next dynmaics item in spine. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | < 5 | . 6 | . 7 | . 8 | . 9 | p 10 | *- 11 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to crescendo just before next dynmaics item in spine. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | < 5 | ( 6 | ( 7 | ( 8 | [ 9 | p 10 | *- 11 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to decrescendo just before next dynmaics item in spine. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | > 5 | . 6 | . 7 | . 8 | . 9 | p 10 | *- 11 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to decrescendo just before next dynmaics item in spine. 2 | !!!command: autodynam %in > %out 3 | **dynam 4 | > 5 | ) 6 | ) 7 | ) 8 | ] 9 | p 10 | *- 11 | -------------------------------------------------------------------------------- /example/beat/beat-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Sum the number of beats in each measure. 2 | !!!command: beat -s %in > %out 3 | **beatsum 4 | *M2/4 5 | *MM120 6 | 2 7 | =2 8 | 2 9 | =3 10 | 2 11 | =4 12 | 2 13 | == 14 | *- 15 | -------------------------------------------------------------------------------- /example/blank/blank-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Append a blank spine to some more complex Humdrum data. 2 | !!!command: blank -a %in > %out 3 | **foo 4 | !note 5 | a 6 | *^ 7 | y z 8 | . x 9 | *v *v 10 | b 11 | c 12 | *- 13 | -------------------------------------------------------------------------------- /example/blank/blank-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Generate a blank spine from some more complex Humdrum data. 2 | !!!command: blank %in > %out 3 | **foo 4 | !note 5 | a 6 | *^ 7 | y z 8 | . x 9 | *v *v 10 | b 11 | c 12 | *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in a file. 2 | !!!command: extractx -s 1,2 %in > %out 3 | **a **b 4 | a b 5 | a b 6 | a b 7 | a b 8 | a b 9 | a b 10 | a b 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the last two spines in a file. 2 | !!!command: extractx -s '$-1,$' %in > %out 3 | **b **c 4 | b c 5 | b c 6 | b c 7 | b c 8 | b c 9 | b c 10 | b c 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-014.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all except the last two spines. 2 | !!!command: extractx -x '1-$2' %in > %out 3 | **b **c 4 | b c 5 | b c 6 | b c 7 | b c 8 | b c 9 | b c 10 | b c 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-016.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract first and last spine in file. 2 | !!!command: extractx -s '1,$' %in > %out 3 | **a **c 4 | a c 5 | a c 6 | a c 7 | a c 8 | a c 9 | a c 10 | a c 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Appending **kern data to original **harm data. 2 | !!!command: harm2kern -a %in > %out 3 | **harm 4 | *D: 5 | I 6 | ii 7 | iii 8 | IV 9 | V 10 | vi 11 | viio 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting only the root of the chord. 2 | !!!command: harm2kern -r %in > %out 3 | **harm 4 | *C: 5 | I 6 | iib 7 | iiic 8 | IVa 9 | Vb 10 | vic 11 | viio 12 | *- 13 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-005.in.2: -------------------------------------------------------------------------------- 1 | !!!test: Multiple file inputs. 2 | !!!command: minrhy -P %in %in.2 > %out 3 | **kern 4 | 8cc 5 | 8cc 6 | 8dd 7 | 8dd 8 | 8ee 9 | 8ee 10 | 8ff 11 | 8ff 12 | 8gg 13 | 8gg 14 | *- 15 | -------------------------------------------------------------------------------- /example/ottava/ottava-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Convert a sounding score into printed pitch. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *8va 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8va 13 | *- 14 | -------------------------------------------------------------------------------- /example/pitchmix/pitchmix-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Mix up the order of notes in a C Major scale. 2 | !!!command: pitchmix -s 1 %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 8e 7 | 4f 8 | 8.g 9 | 16a 10 | 4b 11 | 2cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/prange/prange-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Count pitches in a range of music 2 | !!!command: prange -c d:g %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | 4dd 13 | 4ee 14 | *- 15 | -------------------------------------------------------------------------------- /example/transpose/transpose-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose a C Major scale up a minor third. 2 | !!!command: transpose -t m3 %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/zscores/zscores-005.in: -------------------------------------------------------------------------------- 1 | !!!test: The analysis data can be appended to the input data. 2 | !!!command: zscores -a %in > %out 3 | **numA 4 | 1 5 | 2 6 | 3 7 | 4 8 | 5 9 | 6 10 | 7 11 | 8 12 | 9 13 | *- 14 | -------------------------------------------------------------------------------- /example/zscores/zscores-006.in: -------------------------------------------------------------------------------- 1 | !!!test: The analysis data can be prepended to the input data. 2 | !!!command: zscores -p %in > %out 3 | **numA 4 | 1 5 | 2 6 | 3 7 | 4 8 | 5 9 | 6 10 | 7 11 | 8 12 | 9 13 | *- 14 | -------------------------------------------------------------------------------- /example/cint/cint-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Calculate counterpoint module triplet from two pairs of notes, interleaved with input data. 2 | !!!command: cint %in > %out 3 | **kern **cint **kern 4 | E 10 -2 12 g 5 | D . a 6 | *- *- *- 7 | -------------------------------------------------------------------------------- /example/extractx/extractx-013.out: -------------------------------------------------------------------------------- 1 | !!!test: Exclude the second spine from being extracted. 2 | !!!command: extractx -x 2 %in > %out 3 | **a **c 4 | a c 5 | a c 6 | a c 7 | a c 8 | a c 9 | a c 10 | a c 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-015.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract all **b spines. 2 | !!!command: extractx -i '**b' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Triads in first inversion. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | c E g 6 | d F a 7 | e G b 8 | f A cc 9 | g B dd 10 | a C ee 11 | b D ff 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Triads in second inversion. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | c e G 6 | d f A 7 | e g B 8 | f a C 9 | g b D 10 | a cc E 11 | b dd F 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting only the base line of the chord. 2 | !!!command: harm2kern -b %in > %out 3 | **harm 4 | *C: 5 | I 6 | iib 7 | iiic 8 | IVa 9 | Vb 10 | vic 11 | viio 12 | *- 13 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-002.in: -------------------------------------------------------------------------------- 1 | !!!test: All notes in the file are multiples of the smallest-duration note. 2 | !!!command: minrhy %in > %out 3 | **kern 4 | 1A 5 | 2B 6 | 4c 7 | 8d 8 | 16e 9 | 32f 10 | 64g 11 | *- 12 | -------------------------------------------------------------------------------- /example/myank/myank-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a measure, not including ending barline. 2 | !!!command: myank -m 5 -B %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =5- 10 | 1g 11 | *- 12 | -------------------------------------------------------------------------------- /example/ottava/ottava-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Convert a printed score into sounding pitch. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *8va/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8va/V 13 | *- 14 | -------------------------------------------------------------------------------- /example/ottava/ottava-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Convert a sounding score into printed pitch. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *8va/V 5 | 4C 6 | 4D 7 | 4E 8 | 4F 9 | 4G 10 | 4A 11 | 4B 12 | *X8va/V 13 | *- 14 | -------------------------------------------------------------------------------- /example/prange/prange-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Count the pitches in a rising major scale with different rhythms 2 | !!!command: prange %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 8e 7 | 4f 8 | 8g 9 | 8a 10 | 4b 11 | 2cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/prange/prange-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Count pitches in a range of music 2 | !!!command: prange -c 62-67 %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | 4dd 13 | 4ee 14 | *- 15 | -------------------------------------------------------------------------------- /example/rscale/rscale-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Return rhtyhms to original encoding, coming from alternate states. 2 | !!!command: rscale -o %in > %out 3 | **kern 4 | 00c 5 | 0d 6 | 1e 7 | 2f 8 | *- 9 | !!!rscale-alt: 1/4 10 | -------------------------------------------------------------------------------- /example/rscale/rscale-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Apply a wierd rhythmic scaling. 2 | !!!command: rscale -f 11/31 %in > %out 3 | **kern 4 | *M4/4 5 | 4c 6 | 2d 7 | 4e 8 | = 9 | *M6/8 10 | 4.f 11 | 8g 12 | 8a 13 | 8b 14 | *- 15 | -------------------------------------------------------------------------------- /example/scordur/scordur-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the duration in quarter notes of a short example 2 | !!!command: scordur %in > %out 3 | **kern 4 | 4c 5 | 8d 6 | 8e 7 | 4f 8 | 8.g 9 | 16a 10 | 4b 11 | 2cc 12 | *- 13 | -------------------------------------------------------------------------------- /example/serialize/serialize-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Serialize all spines in file. 2 | !!!command: serialize %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/swing/swing-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Add a swing to the music. 2 | !!!command: swing %in > %out 3 | **kern 4 | *M4/4 5 | *MM60 6 | =1- 7 | 8c 8 | 8d 9 | 8c 10 | 8d 11 | 8c 12 | 8d 13 | 8c 14 | 8d 15 | == 16 | *- 17 | -------------------------------------------------------------------------------- /example/transpose/transpose-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose a C Major scale to E Major. 2 | !!!command: transpose -k E %in > %out 3 | **kern 4 | *C: 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | 4cc 13 | *- 14 | -------------------------------------------------------------------------------- /example/zscores/zscores-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Summary statistics of the input data can be extracted. 2 | !!!command: zscores -s %in > %out 3 | **numA 4 | 1 5 | 2 3 6 | . 7 | 4 8 | 5 9 | 6 7 8 10 | . 11 | . 12 | 9 13 | *- 14 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to explicit wedges/hairpins. 2 | !!!command: autodynam %in > %out 3 | **dynam **dynam 4 | >X p >X 5 | . . 6 | . . 7 | %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the last two spines in a file by range. 2 | !!!command: extractx -s '$-1-$' %in > %out 3 | **b **c 4 | b c 5 | b c 6 | b c 7 | b c 8 | b c 9 | b c 10 | b c 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in reverse using range. 2 | !!!command: extractx -s 2-1 %in > %out 3 | **b **a 4 | b a 5 | b a 6 | b a 7 | b a 8 | b a 9 | b a 10 | b a 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the penultimate spine. 2 | !!!command: extractx -s '$-1' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-017.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which splits into subspines. 2 | !!!command: extractx -s 2 %in > %out 3 | **b 4 | b 5 | b 6 | *^ 7 | b1 b2 8 | b1 b2 9 | b1 b2 10 | b1 b2 11 | b1 b2 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/minrhy/minrhy-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Three against five polyrhythm. 2 | !!!command: minrhy %in > %out 3 | **kern **kern 4 | 1d 1d 5 | 3c 5c 6 | . 5c 7 | 3c . 8 | . 5c 9 | . 5c 10 | 3c . 11 | . 5c 12 | 1d 1d 13 | *- *- 14 | -------------------------------------------------------------------------------- /example/myank/myank-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract music with clef change in middle of a previous measure 2 | !!!command: myank -m 2,5 %in > %out 3 | **kern 4 | *clefG2 5 | =2- 6 | 1A 7 | =5 8 | *clefF4 9 | 1E 10 | = 11 | *- 12 | -------------------------------------------------------------------------------- /example/ottava/ottava-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Convert a printed score into sounding pitch. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *8va 5 | 4cc 6 | 4dd 7 | 4ee 8 | 4ff 9 | 4gg 10 | 4aa 11 | 4bb 12 | *X8va 13 | *- 14 | -------------------------------------------------------------------------------- /example/ottava/ottava-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Convert octave down markings into sounding pitch. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *8ba/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8ba/V 13 | *- 14 | -------------------------------------------------------------------------------- /example/ottava/ottava-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Convert octave down markings into sounding pitch. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *8ba 5 | 4C 6 | 4D 7 | 4E 8 | 4F 9 | 4G 10 | 4A 11 | 4B 12 | *X8ba 13 | *- 14 | -------------------------------------------------------------------------------- /example/ottava/ottava-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Convert octave down markings into into printed pitch. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *8ba 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8ba 13 | *- 14 | -------------------------------------------------------------------------------- /example/rscale/rscale-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Process timebase tandem interpretations. 2 | !!!command: rscale -f 2 %in > %out 3 | **kern 4 | *tb4 5 | 2c 6 | . 7 | 4d 8 | 4e 9 | 1f 10 | . 11 | . 12 | . 13 | *- 14 | !!!rscale: 2 15 | -------------------------------------------------------------------------------- /example/serialize/serialize-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Serialize chord notes. 2 | !!!command: serialize -c %in > %out 3 | **kern 4 | 4c 5 | 4e 6 | 4g 7 | 4d 8 | 4f# 9 | 4a 10 | 4e 11 | 4g# 12 | 4b 13 | 4f 14 | 4a 15 | 4c 16 | *- 17 | -------------------------------------------------------------------------------- /example/extractx/extractx-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Duplicate an extracted spine. 2 | !!!command: extractx -s 1,1-2,2-3,3 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-038.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract both the "a" and "b" sections in reverse order. 2 | !!!command: extractx -s 2b,2a %in > %out 3 | **b **b 4 | * * 5 | b2 b1 6 | b2 b1 7 | b2 b1 8 | b2 b1 9 | * * 10 | *- *- 11 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Example of the octave option. 2 | !!!command: harm2kern -o 1 %in > %out 3 | **kern 4 | *C: 5 | CC E G 6 | DD F A 7 | EE G B 8 | FF A c 9 | GG B d 10 | AA c e 11 | BB d f 12 | *- 13 | -------------------------------------------------------------------------------- /example/ridx/ridx-003.out: -------------------------------------------------------------------------------- 1 | **a 2 | *bb 3 | a1 4 | . 5 | ! local comment 6 | *^ 7 | a2 a3 8 | . . 9 | ! ! 10 | !x !y 11 | = = 12 | a4 . 13 | . a5 14 | ! !z 15 | * * 16 | *v *v 17 | a6 18 | * 19 | . 20 | = 21 | ! 22 | . 23 | *- 24 | -------------------------------------------------------------------------------- /example/rscale/rscale-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Process time signature tandem interpretations. 2 | !!!command: rscale -f 1/2 %in > %out 3 | **kern 4 | *M4/4 5 | 4c 6 | 2d 7 | 4e 8 | = 9 | *M6/8 10 | 4.f 11 | 8g 12 | 8a 13 | 8b 14 | *- 15 | -------------------------------------------------------------------------------- /example/serialize/serialize-011.in: -------------------------------------------------------------------------------- 1 | !!!test: Add an end-of-spine marker. 2 | !!!command: serialize -m -t X %in > %out 3 | **kern **kern 4 | 4c 8d 5 | . 8d 6 | 4c 8d 7 | . 8d 8 | 4c 8d 9 | . 8d 10 | 4c 8d 11 | . 8d 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/sonority/sonority-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Moving the root to different pitch classes. 2 | !!!command: sonority %in > %out 3 | **kern 4 | c e g 5 | d f# a 6 | e g# b 7 | f a cc 8 | g b dd 9 | a cc# ee 10 | b dd# ff# 11 | *- 12 | -------------------------------------------------------------------------------- /example/swing/swing-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Add a 75% swing to the music. 2 | !!!command: swing -p 75 %in > %out 3 | **kern 4 | *M4/4 5 | *MM60 6 | =1- 7 | 8c 8 | 8d 9 | 8c 10 | 8d 11 | 8c 12 | 8d 13 | 8c 14 | 8d 15 | == 16 | *- 17 | -------------------------------------------------------------------------------- /example/thrux/thrux-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Expand sections using the default thru label. 2 | !!!command: thrux %in > %out 3 | **letters 4 | *>[A,A,B,B] 5 | *>A 6 | a 7 | a 8 | a 9 | *>B 10 | b 11 | b 12 | b 13 | *- 14 | !! comment 15 | -------------------------------------------------------------------------------- /example/thrux/thrux-005.in: -------------------------------------------------------------------------------- 1 | !!!test: List variants and labels in a file. 2 | !!!command: thrux -l %in > %out 3 | **kern 4 | *>[A,B,B,C] 5 | *>norep[A,B,C] 6 | *>A 7 | 1a 8 | *>B 9 | 2b 10 | *>C 11 | 4c 12 | *- 13 | !! comment 14 | -------------------------------------------------------------------------------- /example/autostem/autostem-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove stems from notes 2 | !!!command: autostem -r %in > %out 3 | **kern 4 | *clefG2 5 | c 6 | d 7 | e 8 | f 9 | g 10 | a 11 | b 12 | cc 13 | dd 14 | ee 15 | ff 16 | gg 17 | aa 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Adding measure numbers to non-**kern data. 2 | !!!command: barnum -s2 %in > %out 3 | **foo 4 | a 5 | . 6 | . 7 | = 8 | b 9 | = 10 | c 11 | c 12 | . 13 | c 14 | = 15 | d 16 | . 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in a file. 2 | !!!command: extractx -s 1,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in a file using a spine range. 2 | !!!command: extractx -s 1-2 %in > %out 3 | **a **b 4 | a b 5 | a b 6 | a b 7 | a b 8 | a b 9 | a b 10 | a b 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the last two spines in a file. 2 | !!!command: extractx -s '$-1,$' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-014.in: -------------------------------------------------------------------------------- 1 | !!!test: Remove all except the last two spines. 2 | !!!command: extractx -x '1-$2' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-016.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract first and last spine in file. 2 | !!!command: extractx -s '1,$' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-020.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which uses *x will remove the "x" in the output. 2 | !!!command: extractx -s 2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *- *- *- 10 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Triads on the scale degrees of C Major. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | C e g 6 | D f a 7 | E g b 8 | F a cc 9 | G b dd 10 | A cc ee 11 | B dd ff 12 | *- 13 | -------------------------------------------------------------------------------- /example/pitchmix/pitchmix-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Mix up the order of notes in a C Major scale. 2 | !!!command: pitchmix -s 1 %in > %out 3 | **kern 4 | 4a 5 | 8b 6 | 8d 7 | 4cc 8 | 8.e 9 | 16f 10 | 4c 11 | 2g 12 | *- 13 | !!!seed: 1 14 | -------------------------------------------------------------------------------- /example/prange/prange-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Count pitches in music adding histogram fraction ranges. 2 | !!!command: prange -f %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | 4dd 13 | 4ee 14 | *- 15 | -------------------------------------------------------------------------------- /example/rscale/rscale-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Recover original rhythms from exotice rhythmic values. 2 | !!!command: rscale -o %in > %out 3 | **kern 4 | *M4/4 5 | 4c 6 | 2d 7 | 4e 8 | = 9 | *M6/8 10 | 4.f 11 | 8g 12 | 8a 13 | 8b 14 | *- 15 | -------------------------------------------------------------------------------- /example/serialize/serialize-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Serialize multiple-stop tokens, using non-default separator. 2 | !!!command: serialize -c -s ':' %in > %out 3 | **a 4 | b 5 | c 6 | d 7 | e 8 | f 9 | g 10 | h 11 | i 12 | j 13 | *- 14 | -------------------------------------------------------------------------------- /example/sonority/sonority-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Moving the root to different pitch classes. 2 | !!!command: sonority %in > %out 3 | **qual 4 | maj:0:C 5 | maj:0:D 6 | maj:0:E 7 | maj:0:F 8 | maj:0:G 9 | maj:0:A 10 | maj:0:B 11 | *- 12 | -------------------------------------------------------------------------------- /example/thrux/thrux-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Expand sections using the norep label. 2 | !!!command: thrux -v norep %in > %out 3 | **letters 4 | *thru 5 | *>C 6 | c 7 | c 8 | c 9 | *>B 10 | b 11 | b 12 | *>A 13 | a 14 | *- 15 | !! comment 16 | -------------------------------------------------------------------------------- /example/tiefix/tiefix-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Fix ties which are not correctly terminated. 2 | !!!command: tiefix %in > %out 3 | **kern 4 | 4c 5 | [4d 6 | 4d 7 | 4e 8 | = 9 | 4f 10 | 4g 11 | 4a 12 | [4b 13 | = 14 | 4b 15 | 2cc 16 | *- 17 | -------------------------------------------------------------------------------- /example/tiefix/tiefix-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Fix ties which are not correctly terminated. 2 | !!!command: tiefix %in > %out 3 | **kern 4 | 4c 5 | [4d 6 | 4d] 7 | 4e 8 | = 9 | 4f 10 | 4g 11 | 4a 12 | [4b 13 | = 14 | 4b] 15 | 2cc 16 | *- 17 | -------------------------------------------------------------------------------- /example/tiefix/tiefix-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Fix ties which are not correctly initiated. 2 | !!!command: tiefix %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4d] 7 | 4e 8 | = 9 | 4f 10 | 4g 11 | 4a 12 | 4b 13 | = 14 | 4b] 15 | 2cc 16 | *- 17 | -------------------------------------------------------------------------------- /example/tiefix/tiefix-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Fix ties which are not correctly initiated. 2 | !!!command: tiefix %in > %out 3 | **kern 4 | 4c 5 | [4d 6 | 4d] 7 | 4e 8 | = 9 | 4f 10 | 4g 11 | 4a 12 | [4b 13 | = 14 | 4b] 15 | 2cc 16 | *- 17 | -------------------------------------------------------------------------------- /example/transpose/transpose-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose a C Major scale up a minor third. 2 | !!!command: transpose -t m3 %in > %out 3 | **kern 4 | *Trd2c3 5 | 4e- 6 | 4f 7 | 4g 8 | 4a- 9 | 4b- 10 | 4cc 11 | 4dd 12 | 4ee- 13 | *- 14 | -------------------------------------------------------------------------------- /example/zscores/zscores-011.in: -------------------------------------------------------------------------------- 1 | !!!test: An externally specified mean and standard deviation can be given. 2 | !!!command: zscores -m 6 -d 5 %in > %out 3 | **numA 4 | 1 5 | 2 6 | 3 7 | 4 8 | 5 9 | 6 10 | 6 11 | 7 12 | 9 13 | *- 14 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to explicit wedges/hairpins. 2 | !!!command: autodynam %in > %out 3 | **dynam **dynam 4 | >X p >X 5 | )X )X 6 | ]X )X 7 | %out 3 | **foo 4 | a 5 | . 6 | . 7 | = 8 | b 9 | = 10 | c 11 | c 12 | . 13 | c 14 | = 15 | d 16 | . 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Adding measure numbers to non-**kern data. 2 | !!!command: barnum -s2 %in > %out 3 | **foo 4 | a 5 | . 6 | . 7 | =2 8 | b 9 | =3 10 | c 11 | c 12 | . 13 | c 14 | =4 15 | d 16 | . 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-012.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the spine before the penultimate spine. 2 | !!!command: extractx -s '$2' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-013.in: -------------------------------------------------------------------------------- 1 | !!!test: Exclude the second spine from being extracted. 2 | !!!command: extractx -x 2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-021.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting a pair of spines with mutual *x manipulators will preserver *x markers. 2 | !!!command: extractx -s 1,2 %in > %out 3 | **a **b 4 | a b 5 | a b 6 | *x *x 7 | a b 8 | a b 9 | *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-045.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spine. 2 | !!!command: extractx -s '1,$c' -c "**a" %in > %out 3 | **a **a **cospine 4 | 1 2 3 A B C 5 | 1 2 3 A B C 6 | 1 2 3 4 A B C D 7 | 1 2 A B 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/extractx/extractx-046.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spine. 2 | !!!command: extractx -s '2,$c' -c "**a" %in > %out 3 | **a **a **cospine 4 | 1 2 3 A B C 5 | 1 2 3 A B C 6 | 1 2 3 4 A B C D 7 | 1 2 A B 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting only the base line of the chord. 2 | !!!command: harm2kern -b %in > %out 3 | **kern 4 | *C: 5 | C e g 6 | d F a 7 | e g B 8 | F a cc 9 | g B dd 10 | a cc E 11 | B dd ff 12 | *- 13 | -------------------------------------------------------------------------------- /example/ottava/ottava-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Convert octave down markings into into printed pitch. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *8ba/V 5 | 4cc 6 | 4dd 7 | 4ee 8 | 4ff 9 | 4gg 10 | 4aa 11 | 4bb 12 | *X8ba/V 13 | *- 14 | -------------------------------------------------------------------------------- /example/prange/prange-001.out: -------------------------------------------------------------------------------- 1 | **keyno **kern **count 2 | 60 c 1 3 | 62 d 1 4 | 64 e 1 5 | 65 f 1 6 | 67 g 1 7 | 69 a 1 8 | 71 b 1 9 | 72 cc 1 10 | *- *- *- 11 | !!tessitura: 12 semitones 12 | !!mean: 66.25 (f#) 13 | !!median: 65 (f) 14 | -------------------------------------------------------------------------------- /example/prange/prange-002.out: -------------------------------------------------------------------------------- 1 | **keyno **kern **count 2 | 60 c 1 3 | 62 d 1 4 | 64 e 1 5 | 65 f 1 6 | 67 g 1 7 | 69 a 1 8 | 71 b 1 9 | 72 cc 1 10 | *- *- *- 11 | !!tessitura: 12 semitones 12 | !!mean: 66.25 (f#) 13 | !!median: 65 (f) 14 | -------------------------------------------------------------------------------- /example/rscale/rscale-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Return rhtyhms to original encoding, coming from alternate states. 2 | !!!command: rscale -o %in > %out 3 | **kern 4 | 1c 5 | 2d 6 | 4e 7 | 8f 8 | *- 9 | !!!rscale-alt: 1/4 10 | !!!rscale: 1/4 11 | -------------------------------------------------------------------------------- /example/serialize/serialize-013.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the first sub-token in each token. 2 | !!!command: serialize -f %in > %out 3 | **kern 4 | 4C 5 | 4D 6 | 4E 7 | 4F 8 | 4G 9 | 4A 10 | 4B 11 | 4c 12 | 4d 13 | 4e 14 | 4f 15 | *- 16 | -------------------------------------------------------------------------------- /example/serialize/serialize-014.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the last sub-token in each token. 2 | !!!command: serialize -l %in > %out 3 | **kern 4 | 4G 5 | 4A 6 | 4B 7 | 4c 8 | 4d 9 | 4e 10 | 4f# 11 | 4e 12 | 4f# 13 | 4e 14 | 4f 15 | *- 16 | -------------------------------------------------------------------------------- /example/serialize/serialize-015.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the second sub-token in each token. 2 | !!!command: serialize -n2 %in > %out 3 | **kern 4 | 4E 5 | 4F# 6 | 4G# 7 | 4A 8 | 4B 9 | 4c# 10 | 4d# 11 | 4e 12 | 4f# 13 | . 14 | . 15 | *- 16 | -------------------------------------------------------------------------------- /example/transpose/transpose-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose a C Major scale to E Major. 2 | !!!command: transpose -k E %in > %out 3 | **kern 4 | *Trd2c4 5 | *E: 6 | 4e 7 | 4f# 8 | 4g# 9 | 4a 10 | 4b 11 | 4cc# 12 | 4dd# 13 | 4ee 14 | *- 15 | -------------------------------------------------------------------------------- /example/transpose/transpose-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose only the second spine up a perfect fifth. 2 | !!!command: transpose -t P5 -s 2 %in > %out 3 | **kern **kern 4 | 4c 4c 5 | 4c 4c 6 | 4c 4c 7 | 4c 4c 8 | 4c 4c 9 | 4c 4c 10 | *- *- 11 | -------------------------------------------------------------------------------- /example/zscores/zscores-009.in: -------------------------------------------------------------------------------- 1 | !!!test: The shift (mean) and scale (standard deviation) comments can be suppressed. 2 | !!!command: zscores -a -S %in > %out 3 | **numA 4 | 1 5 | 2 6 | 3 7 | 4 8 | 5 9 | 6 10 | 7 11 | 8 12 | 9 13 | *- 14 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput24: -------------------------------------------------------------------------------- 1 | /-- Tests for the 16-bit library with UTF-16 support only */ 2 | 3 | < forbid W 4 | 5 | /bad/8 6 | \x{d800} 7 | 8 | /short/8 9 | \P\P\x{d800} 10 | 11 | /-- End of testinput24 --/ 12 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to interpretive (hidden) wedges/hairpins. 2 | !!!command: autodynam %in > %out 3 | **dynam **dynam 4 | >yy p >yy 5 | . . 6 | . . 7 | %out 3 | **kern 4 | *clefG2 5 | c 6 | d 7 | e 8 | f 9 | g 10 | a 11 | b 12 | cc 13 | dd 14 | ee 15 | ff 16 | gg 17 | aa 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Add stems to notes in the bass clef 2 | !!!command: autostem %in > %out 3 | **kern 4 | *clefF4 5 | EE 6 | FF 7 | GG 8 | AA 9 | BB 10 | C 11 | D 12 | E 13 | F 14 | G 15 | A 16 | B 17 | c 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Renumber measures. 2 | !!!command: barnum -s 333 %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =1- 8 | 1g 9 | =2 10 | 1dd 11 | =3 12 | 1ff# 13 | =4 14 | 1f# 15 | =5 16 | 2g 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Removing measure numbers from non-**kern data. 2 | !!!command: barnum -r %in > %out 3 | **foo 4 | a 5 | . 6 | . 7 | =2 8 | b 9 | =3 10 | c 11 | c 12 | . 13 | c 14 | =4 15 | d 16 | . 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Append output data to input lines. 2 | !!!command: beat -a %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Prepend output data to input lines. 2 | !!!command: beat -p %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Start counting beats at 0 rather than 1. 2 | !!!command: beat -z %in > %out 3 | **beat 4 | *M2/4 5 | *MM120 6 | 0 7 | 1 8 | =2 9 | 0 10 | 1 11 | 1.75 12 | =3 13 | 0 14 | 1 15 | =4 16 | 0 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/blank/blank-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Append a blank spine to some more complex Humdrum data. 2 | !!!command: blank -a %in > %out 3 | **foo **blank 4 | !note ! 5 | a . 6 | *^ * 7 | y z . 8 | . x . 9 | *v *v * 10 | b . 11 | c . 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the last two spines in a file by range. 2 | !!!command: extractx -s '$-1-$' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in reverse using range. 2 | !!!command: extractx -s 2-1 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-035.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the "a" portion of a spine. 2 | !!!command: extractx -s 2a %in > %out 3 | **a **b **c 4 | * *^ * 5 | a b1 b2 c 6 | a b1 b2 c 7 | a b1 b2 c 8 | a b1 b2 c 9 | * *v *v * 10 | *- *- *- 11 | -------------------------------------------------------------------------------- /example/extractx/extractx-036.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the "b" portion of a spine. 2 | !!!command: extractx -s 2b %in > %out 3 | **a **b **c 4 | * *^ * 5 | a b1 b2 c 6 | a b1 b2 c 7 | a b1 b2 c 8 | a b1 b2 c 9 | * *v *v * 10 | *- *- *- 11 | -------------------------------------------------------------------------------- /example/extractx/extractx-049.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information, ignoring rests in **kern data. 2 | !!!command: extractx -s '2,$,$c' -Mr %in > %out 3 | **kern **cos **cos 4 | 4r C E . 5 | 4f 4g F G F G 6 | 4r . . 7 | 4b A B B 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Triads on the scale degrees of C Minor. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *c: 5 | C e- g 6 | D f a- 7 | E- g b- 8 | F a- cc 9 | G b- dd 10 | A- cc ee- 11 | B dd# ff# 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-011.in: -------------------------------------------------------------------------------- 1 | !!!test: Adding duration information to the **kern output. 2 | !!!command: harm2kern %in > %out 3 | **harm **kern 4 | *C: * 5 | I 4 6 | ii 8 7 | iii 8 8 | IV 4. 9 | V 8 10 | vi 2 11 | viio 1 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/serialize/serialize-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Merge all serialized spines into single data stream. 2 | !!!command: serialize -m %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/sonority/sonority-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Display only the chord quality of the sonority. 2 | !!!command: sonority -t %in > %out 3 | **qual 4 | maj 5 | maj 6 | maj 7 | maj 8 | maj 9 | maj 10 | dom7 11 | dom7 12 | dom7 13 | dom7 14 | *- 15 | -------------------------------------------------------------------------------- /example/spinetrace/spinetrace-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Examine the spine labels with a spine splits and joins. 2 | !!!command: spinetrace %in > %out 3 | **foo 4 | . 5 | . 6 | . 7 | *^ 8 | . . 9 | . . 10 | . . 11 | *v *v 12 | . 13 | . 14 | . 15 | *- 16 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/valgrind-jit.supp: -------------------------------------------------------------------------------- 1 | { 2 | name 3 | Memcheck:Addr16 4 | obj:??? 5 | obj:??? 6 | obj:??? 7 | } 8 | 9 | { 10 | name 11 | Memcheck:Cond 12 | obj:??? 13 | obj:??? 14 | obj:??? 15 | } 16 | -------------------------------------------------------------------------------- /example/autostem/autostem-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Remove stems from notes 2 | !!!command: autostem -r %in > %out 3 | **kern 4 | *clefG2 5 | c/ 6 | d\ 7 | e/ 8 | f\ 9 | g/ 10 | a\ 11 | b/ 12 | cc\ 13 | dd/ 14 | ee\ 15 | ff/ 16 | gg\ 17 | aa/ 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Sum the number of beats in each measure. 2 | !!!command: beat -s %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Start counting beats at 0 rather than 1. 2 | !!!command: beat -z %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in data, but reverse their ordering in output. 2 | !!!command: extractx -s 2,1 %in > %out 3 | **b **a 4 | b a 5 | b a 6 | b a 7 | b a 8 | b a 9 | b a 10 | b a 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in reverse using range. 2 | !!!command: extractx -s '$0-1' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in reverse using range. 2 | !!!command: extractx -s '$0-1' %in > %out 3 | **c **b **a 4 | c b a 5 | c b a 6 | c b a 7 | c b a 8 | c b a 9 | c b a 10 | c b a 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-011.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the penultimate spine using alternate notation. 2 | !!!command: extractx -s '$1' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-022.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting a pair of spines in reverse with mutual *x manipulators will preserver *x markers. 2 | !!!command: extractx -s 2,1 %in > %out 3 | **b **a 4 | b a 5 | b a 6 | *x *x 7 | b a 8 | b a 9 | *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-034.in: -------------------------------------------------------------------------------- 1 | !!!test: Reverse spines grouped by **num spines. 2 | !!!command: extractx -R '**num' %in > %out 3 | **num **kern **num **kern **num **kern 4 | 1 1c 2 1d 3 1e 5 | 1 1c 2 1d 3 1e 6 | 1 1c 2 1d 3 1e 7 | *- *- *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/extractx/extractx-034.out: -------------------------------------------------------------------------------- 1 | !!!test: Reverse spines grouped by **num spines. 2 | !!!command: extractx -R '**num' %in > %out 3 | **num **kern **num **kern **num **kern 4 | 3 1e 2 1d 1 1c 5 | 3 1e 2 1d 1 1c 6 | 3 1e 2 1d 1 1c 7 | *- *- *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/extractx/extractx-049.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information, ignoring rests in **kern data. 2 | !!!command: extractx -s '2,$,$c' -Mr %in > %out 3 | **kern **kern **cos 4 | 4c 4e 4r C E 5 | 4r 4f 4g F G 6 | 4r 4r . 7 | 4a 4b A B 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/gettime/gettime-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the tempo rather than the timings. 2 | !!!command: gettime %in -at > %out 3 | **kern 4 | *MM144 5 | 4c 6 | 4d 7 | =2 8 | 4e 9 | 4f 10 | =3 11 | 8g 12 | 8a 13 | 4b 14 | =4 15 | 2c 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/prange/prange-003.out: -------------------------------------------------------------------------------- 1 | **keyno **kern **count 2 | 60 c 1 3 | 62 d 0.5 4 | 64 e 0.5 5 | 65 f 1 6 | 67 g 0.5 7 | 69 a 0.5 8 | 71 b 1 9 | 72 cc 2 10 | *- *- *- 11 | !!tessitura: 12 semitones 12 | !!mean: 67.2857 (g) 13 | !!median: 67 (g) 14 | -------------------------------------------------------------------------------- /example/serialize/serialize-016.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the second-to-last sub-token in each token. 2 | !!!command: serialize -n -2 %in > %out 3 | **kern 4 | 4E 5 | 4F# 6 | 4G# 7 | 4A 8 | 4B 9 | 4c# 10 | 4d# 11 | 4c 12 | 4d 13 | . 14 | . 15 | *- 16 | -------------------------------------------------------------------------------- /example/tiefix/tiefix-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Fix ties which are not correctly continued. 2 | !!!command: tiefix %in > %out 3 | **kern 4 | 4c 5 | [4d 6 | 4d 7 | 4d] 8 | 4e 9 | = 10 | 4f 11 | 4g 12 | 4a 13 | [4b 14 | 4b 15 | = 16 | 4b] 17 | 2cc 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Add stems to notes in the bass clef 2 | !!!command: autostem %in > %out 3 | **kern 4 | *clefF4 5 | EE/ 6 | FF/ 7 | GG/ 8 | AA/ 9 | BB/ 10 | C/ 11 | D\ 12 | E\ 13 | F\ 14 | G\ 15 | A\ 16 | B\ 17 | c\ 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Override fixed stem directions 2 | !!!command: autostem -O %in > %out 3 | **kern 4 | *clefF4 5 | EE/ 6 | FF/ 7 | GG/ 8 | AA/ 9 | BB/ 10 | C/ 11 | D\ 12 | E\ 13 | F\ 14 | G\ 15 | A\ 16 | B\ 17 | c\ 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Renumber measures. 2 | !!!command: barnum -s 333 %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =333- 8 | 1g 9 | =334 10 | 1dd 11 | =335 12 | 1ff# 13 | =336 14 | 1f# 15 | =337 16 | 2g 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position of each point in the score. 2 | !!!command: beat %in > %out 3 | **beat 4 | *M2/4 5 | *MM120 6 | 1 7 | 2 8 | =2 9 | 1 10 | 2 11 | 2.75 12 | =3 13 | 1 14 | 2 15 | =4 16 | 1 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in a file using a spine range. 2 | !!!command: extractx -s 1-2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-021.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting a pair of spines with mutual *x manipulators will preserver *x markers. 2 | !!!command: extractx -s 1,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *- *- *- 10 | -------------------------------------------------------------------------------- /example/gettime/gettime-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music at 60 beats per minute. 2 | !!!command: gettime -p %in > %out 3 | **kern 4 | *MM60 5 | 4c 6 | 4d 7 | =2 8 | 4e 9 | 4f 10 | =3 11 | 8g 12 | 8a 13 | 4b 14 | =4 15 | 2c 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/gettime/gettime-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music at 144 beats per minute. 2 | !!!command: gettime -p %in > %out 3 | **kern 4 | *MM144 5 | 4c 6 | 4d 7 | =2 8 | 4e 9 | 4f 10 | =3 11 | 8g 12 | 8a 13 | 4b 14 | =4 15 | 2c 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/gettime/gettime-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Measuring time in milliseconds with no rounding. 2 | !!!command: gettime %in -amR > %out 3 | **kern 4 | *MM144 5 | 4c 6 | 4d 7 | =2 8 | 4e 9 | 4f 10 | =3 11 | 8g 12 | 8a 13 | 4b 14 | =4 15 | 2c 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/ottava/ottava-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Music notated two octaves above printed pitch converted to sounding score. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *15ma/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X15ma/V 13 | *- 14 | -------------------------------------------------------------------------------- /example/ottava/ottava-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Music sounding two octaves above printed pitch converted to visual score. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *15ma/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X15ma/V 13 | *- 14 | -------------------------------------------------------------------------------- /example/pitchmix/pitchmix-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Mix up the order of notes, transposing pitch-classes near original contour. 2 | !!!command: pitchmix -s 1 -n %in > %out 3 | **kern 4 | 4c 5 | 8dd 6 | 8e 7 | 4ff 8 | 8.g 9 | 16aa 10 | 4b 11 | 2ccc 12 | *- 13 | -------------------------------------------------------------------------------- /example/rscale/rscale-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Process time signature tandem interpretations. 2 | !!!command: rscale -f 1/2 %in > %out 3 | **kern 4 | *M4/8 5 | 8c 6 | 4d 7 | 8e 8 | = 9 | *M6/16 10 | 8.f 11 | 16g 12 | 16a 13 | 16b 14 | *- 15 | !!!rscale: 1/2 16 | -------------------------------------------------------------------------------- /example/tiefix/tiefix-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Fix ties which are not correctly continued. 2 | !!!command: tiefix %in > %out 3 | **kern 4 | 4c 5 | [4d 6 | 4d_ 7 | 4d] 8 | 4e 9 | = 10 | 4f 11 | 4g 12 | 4a 13 | [4b 14 | 4b_ 15 | = 16 | 4b] 17 | 2cc 18 | *- 19 | -------------------------------------------------------------------------------- /example/transpose/transpose-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose only the second spine up a perfect fifth. 2 | !!!command: transpose -t P5 -s 2 %in > %out 3 | **kern **kern 4 | * *Trd4c7 5 | 4c 4g 6 | 4c 4g 7 | 4c 4g 8 | 4c 4g 9 | 4c 4g 10 | 4c 4g 11 | *- *- 12 | -------------------------------------------------------------------------------- /example/zscores/zscores-015.in: -------------------------------------------------------------------------------- 1 | !!!test: Using sample standard deviation rather than population standard deviation. 2 | !!!command: zscores %in --sample > %out 3 | **num 4 | 1 5 | 2 6 | 3 7 | 4 8 | 5 9 | 6 10 | 7 11 | 8 12 | 9 13 | *- 14 | -------------------------------------------------------------------------------- /example/autostem/autostem-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Add stems to notes in the treble clef 2 | !!!command: autostem %in > %out 3 | **kern 4 | *clefG2 5 | c/ 6 | d/ 7 | e/ 8 | f/ 9 | g/ 10 | a/ 11 | b\ 12 | cc\ 13 | dd\ 14 | ee\ 15 | ff\ 16 | gg\ 17 | aa\ 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Only add stems to notes which do not have them. 2 | !!!command: autostem %in > %out 3 | **kern 4 | *clefG2 5 | c\ 6 | d\ 7 | e 8 | f 9 | g 10 | a 11 | b 12 | cc 13 | dd 14 | ee 15 | ff 16 | gg/ 17 | aa/ 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Override fixed stem directions 2 | !!!command: autostem -O %in > %out 3 | **kern 4 | *clefF4 5 | EE\x 6 | FF\x 7 | GG\ 8 | AA\ 9 | BB\ 10 | C\ 11 | D/ 12 | E/ 13 | F/ 14 | G/ 15 | A/ 16 | B/x 17 | c/x 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Numbering measures when there is a pickup measure. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | 2g 8 | = 9 | 1dd 10 | = 11 | 1ff# 12 | = 13 | 1f# 14 | = 15 | 2g 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/beat/beat-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position of each point in the score. 2 | !!!command: beat %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-033.in: -------------------------------------------------------------------------------- 1 | !!!test: Reverse spines grouped by **kern data, with the first spine not a **kern spine. 2 | !!!command: extractx -r %in > %out 3 | **num **kern **num **kern **num 4 | 1 1c 2 1d 3 5 | 1 1c 2 1d 3 6 | 1 1c 2 1d 3 7 | *- *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/extractx/extractx-033.out: -------------------------------------------------------------------------------- 1 | !!!test: Reverse spines grouped by **kern data, with the first spine not a **kern spine. 2 | !!!command: extractx -r %in > %out 3 | **num **kern **num **kern **num 4 | 1 1d 3 1c 2 5 | 1 1d 3 1c 2 6 | 1 1d 3 1c 2 7 | *- *- *- *- *- 8 | -------------------------------------------------------------------------------- /example/extractx/extractx-038.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract both the "a" and "b" sections in reverse order. 2 | !!!command: extractx -s 2b,2a %in > %out 3 | **a **b **c 4 | * *^ * 5 | a b1 b2 c 6 | a b1 b2 c 7 | a b1 b2 c 8 | a b1 b2 c 9 | * *v *v * 10 | *- *- *- 11 | -------------------------------------------------------------------------------- /example/extractx/extractx-047.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spine and its duplicate. 2 | !!!command: extractx -s '1,1,$c' -c "**a" %in > %out 3 | **a **a **cospine 4 | 1 2 3 A B C 5 | 1 2 3 A B C 6 | 1 2 3 4 A B C D 7 | 1 2 A B 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/extractx/extractx-048.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spines in reverse order. 2 | !!!command: extractx -s '2,1,$c' -c "**a" %in > %out 3 | **a **a **cospine 4 | 1 2 3 A B C 5 | 1 2 3 A B C 6 | 1 2 3 4 A B C D 7 | 1 2 A B 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/hum2xml/hum2xml-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Translate a simple example into MusicXML data. 2 | !!!command: hum2xml %in > %out 3 | **kern 4 | *MM60 5 | 4c/ 6 | 4d/ 7 | =2 8 | 4e/ 9 | 4f/ 10 | =3 11 | 8g/ 12 | 8a/ 13 | 4b\ 14 | =4 15 | 2cc\ 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/ottava/ottava-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Music sounding two octaves above printed pitch converted to visual score. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *15ma 5 | 4ccc 6 | 4ddd 7 | 4eee 8 | 4fff 9 | 4ggg 10 | 4aaa 11 | 4bbb 12 | *X15ma 13 | *- 14 | -------------------------------------------------------------------------------- /example/serialize/serialize-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Serialize only **a spines in file. 2 | !!!command: serialize -i '**a' %in > %out 3 | **a **b **c **a 4 | a b c a2 5 | a b c a2 6 | a b c a2 7 | a b c a2 8 | a b c a2 9 | a b c a2 10 | a b c a2 11 | *- *- *- *- 12 | -------------------------------------------------------------------------------- /example/tindex/tindex-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a pitch sequence only. 2 | !!!command: tindex -AD -E -f "PCH" %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/zscores/zscores-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Basic behavior of the command: print only the processed spine. 2 | !!!command: zscores %in > %out 3 | **numA **numB 4 | 1 10 5 | 2 20 6 | 3 30 7 | 4 40 8 | 5 50 9 | 6 60 10 | 7 70 11 | 8 80 12 | 9 90 13 | *- *- 14 | -------------------------------------------------------------------------------- /example/autodynam/autodynam-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Add termination to interpretive (hidden) wedges/hairpins. 2 | !!!command: autodynam %in > %out 3 | **dynam **dynam 4 | >yy p >yy 5 | )yy )yy 6 | ]yy )yy 7 | %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | 2g 8 | =1 9 | 1dd 10 | =2 11 | 1ff# 12 | =3 13 | 1f# 14 | =4 15 | 2g 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/extractx/extractx-022.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting a pair of spines in reverse with mutual *x manipulators will preserver *x markers. 2 | !!!command: extractx -s 2,1 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *- *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-047.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spine and its duplicate. 2 | !!!command: extractx -s '1,1,$c' -c "**a" %in > %out 3 | **a **a **cospine 4 | 1 2 1 2 A B A B 5 | 1 1 A A 6 | 1 2 1 2 A B A B 7 | 1 1 A A 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/extractx/extractx-048.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information along with a spines in reverse order. 2 | !!!command: extractx -s '2,1,$c' -c "**a" %in > %out 3 | **a **a **cospine 4 | 3 1 2 C A B 5 | 2 3 1 B C A 6 | 3 4 1 2 C D A B 7 | 2 1 B A 8 | *- *- *- 9 | -------------------------------------------------------------------------------- /example/hum2gmn/hum2gmn-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Adding barline numbers. 2 | !!!command: hum2gmn %in | grep -v Converted > %out 3 | **kern 4 | *M4/4 5 | *k[f#c#] 6 | 4d 7 | 4.d 8 | 8f# 9 | 4g 10 | =2 11 | 2a 12 | 4b 13 | 4cc# 14 | =3 15 | 4d 16 | 2.r 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/lofcog/lofcog-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the center of gravity of a C Major scale. 2 | !!!command: lofcog %in > %out 3 | **kern 4 | 4c 5 | 4d 6 | 4e 7 | 4f 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | 4b 13 | 4a 14 | 4g 15 | 4f 16 | 4e 17 | 4d 18 | 4c 19 | *- 20 | -------------------------------------------------------------------------------- /example/myank/myank-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract multiple measures, not including ending barline. 2 | !!!command: myank -m 2,4,6 -B %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =2- 10 | 1d 11 | =4 12 | 1f 13 | =6 14 | 1a 15 | *- 16 | -------------------------------------------------------------------------------- /example/ottava/ottava-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Music notated two octaves above printed pitch converted to sounding score. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *15ma 5 | 4ccc 6 | 4ddd 7 | 4eee 8 | 4fff 9 | 4ggg 10 | 4aaa 11 | 4bbb 12 | *X15ma 13 | *- 14 | -------------------------------------------------------------------------------- /example/serialize/serialize-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Serialize only **a spines in file. 2 | !!!command: serialize -i '**a' %in > %out 3 | **a 4 | a 5 | a 6 | a 7 | a 8 | a 9 | a 10 | a 11 | *- 12 | **a 13 | a2 14 | a2 15 | a2 16 | a2 17 | a2 18 | a2 19 | a2 20 | *- 21 | -------------------------------------------------------------------------------- /example/spinetrace/spinetrace-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Examine the spine labels with a spine splits and joins. 2 | !!!command: spinetrace %in > %out 3 | **foo 4 | 1 5 | 1 6 | 1 7 | *^ 8 | (1)a (1)b 9 | (1)a (1)b 10 | (1)a (1)b 11 | *v *v 12 | 1 13 | 1 14 | 1 15 | *- 16 | -------------------------------------------------------------------------------- /example/thrux/thrux-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Expand sections using the norep label. 2 | !!!command: thrux -v norep %in > %out 3 | **letters 4 | *>[C,C,B,B,A,A] 5 | *>norep[C,B,A] 6 | *>A 7 | a 8 | *>B 9 | b 10 | b 11 | *>C 12 | c 13 | c 14 | c 15 | *- 16 | !! comment 17 | -------------------------------------------------------------------------------- /example/zscores/zscores-007.in: -------------------------------------------------------------------------------- 1 | !!!test: The input data can be extracted from the input file contents. 2 | !!!command: zscores -i %in > %out 3 | **numA **numB 4 | 1 10 5 | 2 3 20 6 | . 30 7 | 4 40 8 | 5 50 9 | 6 7 8 60 10 | . 70 11 | . 80 12 | 9 90 13 | *- *- 14 | -------------------------------------------------------------------------------- /example/autostem/autostem-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Only add stems to notes which do not have them. 2 | !!!command: autostem %in > %out 3 | **kern 4 | *clefG2 5 | c\ 6 | d\ 7 | e/ 8 | f/ 9 | g/ 10 | a/ 11 | b\ 12 | cc\ 13 | dd\ 14 | ee\ 15 | ff\ 16 | gg/ 17 | aa/ 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Add stems to notes, overwriting any which already exist. 2 | !!!command: autostem -o %in > %out 3 | **kern 4 | *clefG2 5 | c\ 6 | d\ 7 | e 8 | f 9 | g 10 | a 11 | b 12 | cc 13 | dd 14 | ee 15 | ff 16 | gg/ 17 | aa/ 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Numbering measures when the initial barline is not indicated. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | 1g 8 | = 9 | 1dd 10 | = 11 | 1ff# 12 | = 13 | 1f# 14 | = 15 | 2g 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/beat/beat-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position of each point in the score, using ticks. 2 | !!!command: beat -t %in > %out 3 | **beat 4 | *M2/4 5 | *MM120 6 | 4 7 | 8 8 | =2 9 | 4 10 | 8 11 | 11 12 | =3 13 | 4 14 | 8 15 | =4 16 | 4 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the first two spines in data, but reverse their ordering in output. 2 | !!!command: extractx -s 2,1 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | a b c 7 | a b c 8 | a b c 9 | a b c 10 | a b c 11 | *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-017.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which splits into subspines. 2 | !!!command: extractx -s 2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | * *^ * 7 | a b1 b2 c 8 | a b1 b2 c 9 | a b1 b2 c 10 | a b1 b2 c 11 | a b1 b2 c 12 | *- *- *- *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-029.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which does not start/stop at the same time as other spines. 2 | !!!command: extractx -i '**c' %in > %out 3 | **a **b 4 | a b 5 | a b 6 | * *+ 7 | * * **c 8 | a b c 9 | a b c 10 | * * *- 11 | a b 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-037.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract both the "a" and "b" sections into separate spines. 2 | !!!command: extractx -s 1,2a,2b,3 %in > %out 3 | **a **b **c 4 | * *^ * 5 | a b1 b2 c 6 | a b1 b2 c 7 | a b1 b2 c 8 | a b1 b2 c 9 | * *v *v * 10 | *- *- *- 11 | -------------------------------------------------------------------------------- /example/gettime/gettime-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music in milliseconds rather than seconds. 2 | !!!command: gettime -pm %in > %out 3 | **kern 4 | *MM60 5 | 4c 6 | 4d 7 | =2 8 | 4e 9 | 4f 10 | =3 11 | 8g 12 | 8a 13 | 4b 14 | =4 15 | 2c 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Adding duration information to the **kern output. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | 4C 4e 4g 6 | 8D 8f 8a 7 | 8E 8g 8b 8 | 4.F 4.a 4.cc 9 | 8G 8b 8dd 10 | 2A 2cc 2ee 11 | 1B 1dd 1ff 12 | *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-012.in: -------------------------------------------------------------------------------- 1 | !!!test: Preventing duration information from being added to the **kern output. 2 | !!!command: harm2kern --RR %in > %out 3 | **harm **kern 4 | *C: * 5 | I 4 6 | ii 8 7 | iii 8 8 | IV 4. 9 | V 8 10 | vi 2 11 | viio 1 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-012.out: -------------------------------------------------------------------------------- 1 | !!!test: Preventing duration information from being added to the **kern output. 2 | !!!command: harm2kern --RR %in > %out 3 | **kern 4 | *C: 5 | C e g 6 | D f a 7 | E g b 8 | F a cc 9 | G b dd 10 | A cc ee 11 | B dd ff 12 | *- 13 | -------------------------------------------------------------------------------- /example/myank/myank-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract measure with subspines from middle of score. 2 | !!!command: myank -m 6 %in > %out 3 | **kern 4 | *^ 5 | *clefF4 *clefF4 6 | *k[] *k[] 7 | *a: *a: 8 | *MM132 *MM132 9 | =6- =6- 10 | 1E 1e 11 | = = 12 | *v *v 13 | *- 14 | -------------------------------------------------------------------------------- /example/pitchmix/pitchmix-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Mix up the order of notes, transposing pitch-classes near original contour. 2 | !!!command: pitchmix -s 1 -n %in > %out 3 | **kern 4 | 4A 5 | 8b 6 | 8d 7 | 4cc 8 | 8.e 9 | 16ff 10 | 4cc 11 | 2gg 12 | *- 13 | !!!seed: 1 14 | -------------------------------------------------------------------------------- /example/transpose/transpose-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose up a perfect 5th from C major to G major. 2 | !!!command: transpose -k g -s 2 -o 1 %in > %out 3 | **kern **kern 4 | *k[] *k[] 5 | *c: *c: 6 | 4c 4c 7 | 4c 4c 8 | 4c 4c 9 | 4c 4c 10 | 4c 4c 11 | 4c 4c 12 | *- *- 13 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/grepinput8: -------------------------------------------------------------------------------- 1 | X one 2 | X two X three X four X five 3 | X six 4 | X seven…X eight
X nine
X ten 5 | 6 | Before 111 7 | Before 222
Before 333…Match 8 | After 111 9 | After 222
After 333 10 | And so on and so on 11 | And so on and so on 12 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/greplist: -------------------------------------------------------------------------------- 1 | This is a file of patterns for testing the -f option. Don't include any blank 2 | lines because they will match everything! This is no longer true, so have one. 3 | 4 | pattern 5 | line by itself 6 | 7 | End of the list of patterns. 8 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/greplist: -------------------------------------------------------------------------------- 1 | This is a file of patterns for testing the -f option. Don't include any blank 2 | lines because they will match everything! This is no longer true, so have one. 3 | 4 | pattern 5 | line by itself 6 | 7 | End of the list of patterns. 8 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput23: -------------------------------------------------------------------------------- 1 | # This test is run when PCRE2 has been built with --enable-never-backslash-C, 2 | # which disables the use of \C. All we can do is check that it gives the 3 | # correct error message. 4 | 5 | /a\Cb/ 6 | 7 | # End of testinput23 8 | -------------------------------------------------------------------------------- /example/autostem/autostem-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Only override stem direction for non-fixed stems. 2 | !!!command: autostem -o %in > %out 3 | **kern 4 | *clefF4 5 | EE\x 6 | FF\x 7 | GG\ 8 | AA\ 9 | BB\ 10 | C\ 11 | D/ 12 | E/ 13 | F/ 14 | G/ 15 | A/ 16 | B/x 17 | c/x 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Start numbering measures with a number other than 1. 2 | !!!command: barnum -s 88 %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =- 8 | 1g 9 | = 10 | 1dd 11 | = 12 | 1ff# 13 | = 14 | 1f# 15 | = 16 | 2g 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/barnum/barnum-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Numbering measures when the initial barline is not indicated. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | 1g 8 | =2 9 | 1dd 10 | =3 11 | 1ff# 12 | =4 13 | 1f# 14 | =5 15 | 2g 16 | == 17 | *- 18 | -------------------------------------------------------------------------------- /example/beat/beat-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position of each point in the score, using fractions. 2 | !!!command: beat -f %in > %out 3 | **beat 4 | *M2/4 5 | *MM120 6 | 1 7 | 2 8 | =2 9 | 1 10 | 2 11 | 2+3/4 12 | =3 13 | 1 14 | 2 15 | =4 16 | 1 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-037.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract both the "a" and "b" sections into separate spines. 2 | !!!command: extractx -s 1,2a,2b,3 %in > %out 3 | **a **b **b **c 4 | * * * * 5 | a b1 b2 c 6 | a b1 b2 c 7 | a b1 b2 c 8 | a b1 b2 c 9 | * * * * 10 | *- *- *- *- 11 | -------------------------------------------------------------------------------- /example/hum2gmn/hum2gmn-001.in: -------------------------------------------------------------------------------- 1 | !!!test: D major scale with mixed rhythms. 2 | !!!command: hum2gmn %in | grep -v Converted > %out 3 | **kern 4 | *M4/4 5 | *k[f#c#] 6 | 4d 7 | 4.d 8 | 8f# 9 | 4g 10 | = 11 | 2a 12 | 4b 13 | 4cc# 14 | = 15 | 4d 16 | 2.r 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/myank/myank-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract measure 2 to 6 from score. 2 | !!!command: myank -m 2-6 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =2- 10 | 1d 11 | =3 12 | 1e 13 | =4 14 | 1f 15 | =5 16 | 1g 17 | =6 18 | 1a 19 | = 20 | *- 21 | -------------------------------------------------------------------------------- /example/rscale/rscale-011.in: -------------------------------------------------------------------------------- 1 | !!!test: Scale rhythms in **recip spines. 2 | !!!command: rscale -f 4 %in > %out 3 | **recip 4 | 64 5 | 32 6 | 16 7 | 12 8 | 8 9 | 6 10 | 4 11 | 3 12 | 2 13 | 8. 14 | 8.. 15 | 8... 16 | 8.... 17 | 8..... 18 | 8...... 19 | 8....... 20 | *- 21 | -------------------------------------------------------------------------------- /example/serialize/serialize-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Add an end-of-spine marker. 2 | !!!command: serialize -m -t X %in > %out 3 | **kern 4 | 4c 5 | . 6 | 4c 7 | . 8 | 4c 9 | . 10 | 4c 11 | . 12 | X 13 | 8d 14 | 8d 15 | 8d 16 | 8d 17 | 8d 18 | 8d 19 | 8d 20 | 8d 21 | X 22 | *- 23 | -------------------------------------------------------------------------------- /example/sonority/sonority-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Display only the root of chords. 2 | !!!command: sonority -r %in > %out 3 | **kern 4 | c e g 5 | cc e g 6 | cc ee g 7 | g b dd 8 | gg b dd 9 | gg bb dd 10 | d f# a cc 11 | dd f# a cc 12 | dd ff# a cc 13 | dd ff# aa cc 14 | *- 15 | -------------------------------------------------------------------------------- /example/autostem/autostem-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Add stems to notes, overwriting any which already exist. 2 | !!!command: autostem -o %in > %out 3 | **kern 4 | *clefG2 5 | c/ 6 | d/ 7 | e/ 8 | f/ 9 | g/ 10 | a/ 11 | b\ 12 | cc\ 13 | dd\ 14 | ee\ 15 | ff\ 16 | gg\ 17 | aa\ 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Only override stem direction for non-fixed stems. 2 | !!!command: autostem -o %in > %out 3 | **kern 4 | *clefF4 5 | EE\x 6 | FF\x 7 | GG/ 8 | AA/ 9 | BB/ 10 | C/ 11 | D\ 12 | E\ 13 | F\ 14 | G\ 15 | A\ 16 | B/x 17 | c/x 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position of each point in the score, using fractions. 2 | !!!command: beat -f %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position of each point in the score, using ticks. 2 | !!!command: beat -t %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position in 6/8 meter, beat on the eighth note. 2 | !!!command: beat -u 8 %in > %out 3 | **beat 4 | *M6/8 5 | *MM120 6 | 1 7 | 4 8 | 6 9 | =2 10 | 1 11 | 4 12 | 5 13 | 6 14 | =3 15 | 1 16 | 4 17 | =4 18 | 1 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/extractx/extractx-027.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract two spines with splits and joins. 2 | !!!command: extractx -s 2,4 %in > %out 3 | **b **d 4 | b d 5 | b d 6 | *^ *^ 7 | b1 b2 d1 d2 8 | b1 b2 d1 d2 9 | b1 b2 d1 d2 10 | *v *v * * 11 | * *v *v 12 | b d 13 | b d 14 | *- *- 15 | -------------------------------------------------------------------------------- /example/kern2cmn/kern2cmn-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Translate a simple example into CMN data. 2 | !!!command: kern2cmn %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4e 12 | 4f 13 | =3 14 | 8g 15 | 8a 16 | 4b 17 | =4 18 | 2c 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/kern2dm/kern2dm-001.out: -------------------------------------------------------------------------------- 1 | mono-track 2 | :trackname "track 1" 3 | (bar 1 n ("C4" 1/4) mm 60 meter (2 4)) 4 | (n ("D4" 1/4)) 5 | (bar 2 n ("E4" 1/4)) 6 | (n ("F4" 1/4)) 7 | (bar 3 n ("G4" 1/8)) 8 | (n ("A4" 1/8)) 9 | (n ("B4" 1/4)) 10 | (bar 4 n ("C4" 1/2)) 11 | -------------------------------------------------------------------------------- /example/ridx/ridx-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all data records. 2 | !!!command: ridx -D %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | ! local comment 8 | *^ 9 | ! ! 10 | !x !y 11 | ! !z 12 | * * 13 | *v *v 14 | * 15 | ! 16 | *- 17 | !!!bib: bibliographic record 18 | -------------------------------------------------------------------------------- /example/serialize/serialize-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Serialize all spines in file, alternate parameter style. 2 | !!!command: serialize -i a %in > %out 3 | **a **b **c **a 4 | a b c a2 5 | a b c a2 6 | a b c a2 7 | a b c a2 8 | a b c a2 9 | a b c a2 10 | a b c a2 11 | *- *- *- *- 12 | -------------------------------------------------------------------------------- /example/sonority/sonority-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Display only the inversions of chords. 2 | !!!command: sonority -i %in > %out 3 | **kern 4 | c e g 5 | cc e g 6 | cc ee g 7 | g b dd 8 | gg b dd 9 | gg bb dd 10 | d f# a cc 11 | dd f# a cc 12 | dd ff# a cc 13 | dd ff# aa cc 14 | *- 15 | -------------------------------------------------------------------------------- /example/zscores/zscores-011.out: -------------------------------------------------------------------------------- 1 | !!!test: An externally specified mean and standard deviation can be given. 2 | !!!command: zscores -m 6 -d 5 %in > %out 3 | **numA 4 | !shift=6 5 | !scale=5 6 | -1 7 | -0.8 8 | -0.6 9 | -0.4 10 | -0.2 11 | 0 12 | 0 13 | 0.2 14 | 0.6 15 | *- 16 | -------------------------------------------------------------------------------- /external/pcre-8.35/NON-UNIX-USE: -------------------------------------------------------------------------------- 1 | Compiling PCRE on non-Unix systems 2 | ---------------------------------- 3 | 4 | This has been renamed to better reflect its contents. Please see the file 5 | NON-AUTOTOOLS-BUILD for details of how to build PCRE without using autotools. 6 | 7 | #### 8 | -------------------------------------------------------------------------------- /example/barnum/barnum-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Start numbering measures with a number other than 1. 2 | !!!command: barnum -s 88 %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =88- 8 | 1g 9 | =89 10 | 1dd 11 | =90 12 | 1ff# 13 | =91 14 | 1f# 15 | =92 16 | 2g 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Sum the number of beats in each measure and append analysis to input data. 2 | !!!command: beat -sa %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | 4c 7 | 4d 8 | =2 9 | 4e 10 | 8.f 11 | 16g 12 | =3 13 | 4a 14 | 4b 15 | =4 16 | 2cc 17 | == 18 | *- 19 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Appending **kern data to original **harm data. 2 | !!!command: harm2kern -a %in > %out 3 | **harm **kern 4 | *D: *D: 5 | I D f# a 6 | ii E g b 7 | iii F# a cc# 8 | IV G b dd 9 | V A cc# ee 10 | vi B dd ff# 11 | viio C# e g 12 | *- *- 13 | -------------------------------------------------------------------------------- /example/myank/myank-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a range of measures in reversed order. 2 | !!!command: myank -m 6-2 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =6- 10 | 1a 11 | =5 12 | 1g 13 | =4 14 | 1f 15 | =3 16 | 1e 17 | =2 18 | 1d 19 | = 20 | *- 21 | -------------------------------------------------------------------------------- /example/myank/myank-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract music with sub-spine changes. 2 | !!!command: myank -m 2,5 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *a: 7 | *MM120 8 | =2- 9 | 1A 10 | *^ 11 | =5 =5 12 | *clefF4 *clefF4 13 | *MM132 *MM132 14 | 1E 1e 15 | = = 16 | *v *v 17 | *- 18 | -------------------------------------------------------------------------------- /example/rscale/rscale-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Apply a wierd rhythmic scaling. 2 | !!!command: rscale -f 11/31 %in > %out 3 | **kern 4 | *M4/124%11 5 | 124%11c 6 | 62%11d 7 | 124%11e 8 | = 9 | *M6/248%11 10 | 124%11.f 11 | 248%11g 12 | 248%11a 13 | 248%11b 14 | *- 15 | !!!rscale: 11/31 16 | -------------------------------------------------------------------------------- /example/rscale/rscale-012.out: -------------------------------------------------------------------------------- 1 | !!!test: Recover original rhythms in **recip spines. 2 | !!!command: rscale -o %in > %out 3 | **recip 4 | 64 5 | 32 6 | 16 7 | 12 8 | 8 9 | 6 10 | 4 11 | 3 12 | 2 13 | 8. 14 | 8.. 15 | 8... 16 | 8.... 17 | 8..... 18 | 8...... 19 | 8....... 20 | *- 21 | -------------------------------------------------------------------------------- /example/serialize/serialize-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Serialize all spines in file, alternate parameter style. 2 | !!!command: serialize -i a %in > %out 3 | **a 4 | a 5 | a 6 | a 7 | a 8 | a 9 | a 10 | a 11 | *- 12 | **a 13 | a2 14 | a2 15 | a2 16 | a2 17 | a2 18 | a2 19 | a2 20 | *- 21 | -------------------------------------------------------------------------------- /example/thrux/thrux-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Expand sections using the default thru label. 2 | !!!command: thrux %in > %out 3 | **letters 4 | *thru 5 | *>A 6 | a 7 | a 8 | a 9 | *>A 10 | a 11 | a 12 | a 13 | *>B 14 | b 15 | b 16 | b 17 | *>B 18 | b 19 | b 20 | b 21 | *- 22 | !! comment 23 | -------------------------------------------------------------------------------- /example/thrux/thrux-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Expand sections using the default label extracted in reverse order. 2 | !!!command: thrux %in > %out 3 | **letters 4 | *>[C,C,B,B,A,A] 5 | *>norep[C,B,A] 6 | *>A 7 | a 8 | *>B 9 | b 10 | b 11 | *>C 12 | c 13 | c 14 | c 15 | *- 16 | !! comment 17 | -------------------------------------------------------------------------------- /example/zscores/zscores-012.out: -------------------------------------------------------------------------------- 1 | !!!test: The original values can be reconstituted from the scale and shift values. 2 | !!!command: zscores -S -m 6 -d 5 --reverse %in > %out 3 | **numA 4 | !shift=6 5 | !scale=5 6 | 1 7 | 2 8 | 3 9 | 4 10 | 5 11 | 6 12 | 6 13 | 7 14 | 9 15 | *- 16 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput26: -------------------------------------------------------------------------------- 1 | /-- Tests for the 32-bit library with UTF-32 support only */ 2 | 3 | < forbid W 4 | 5 | /-- Non-UTF characters --/ 6 | 7 | /\x{110000}/8 8 | 9 | /\o{4200000}/8 10 | 11 | /\C/8 12 | \x{110000} 13 | 14 | /-- End of testinput26 --/ 15 | -------------------------------------------------------------------------------- /example/kern2cmn/kern2cmn-001.out: -------------------------------------------------------------------------------- 1 | (cmn 2 | ;;;test: Translate a simple example into CMN data. 3 | ;;;command: kern2cmn %in > %out 4 | staff 5 | treble 6 | (meter 2 4) 7 | (c4 q) (d4 q) 8 | (bar 2) (e4 q) (f4 q) 9 | (bar 3) (g4 e) (a4 e) (b4 q) 10 | (bar 4) (c4 h) 11 | ) 12 | -------------------------------------------------------------------------------- /example/kern2skini/kern2skini-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Translate a simple example into SKINI data. 2 | !!!command: kern2skini %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4e 12 | 4f 13 | =3 14 | 8g 15 | 8a 16 | 4b 17 | =4 18 | 2c 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/scaletype/scaletype-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the scale of a pentatonic example. 2 | !!!command: scaletype -DF %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4f 12 | 4g 13 | =3 14 | 8a 15 | 8cc 16 | 4dd 17 | =4 18 | 2ff 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/serialize/serialize-015.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the second sub-token in each token. 2 | !!!command: serialize -n2 %in > %out 3 | **kern 4 | 4C 4E 4G 5 | 4D 4F# 4A 6 | 4E 4G# 4B 7 | 4F 4A 4c 8 | 4G 4B 4d 9 | 4A 4c# 4e 10 | 4B 4d# 4f# 11 | 4c 4e 12 | 4d 4f# 13 | 4e 14 | 4f 15 | *- 16 | -------------------------------------------------------------------------------- /example/sonority/sonority-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Display only the chord quality of the sonority. 2 | !!!command: sonority -t %in > %out 3 | **kern 4 | c e g 5 | cc e g 6 | cc ee g 7 | g b dd 8 | gg b dd 9 | gg bb dd 10 | d f# a cc 11 | dd f# a cc 12 | dd ff# a cc 13 | dd ff# aa cc 14 | *- 15 | -------------------------------------------------------------------------------- /example/transpose/transpose-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose up a perfect 5th from C major to G major. 2 | !!!command: transpose -k g -s 2 -o 1 %in > %out 3 | **kern **kern 4 | * *Trd4c7 5 | *k[] *k[f#] 6 | *c: *g: 7 | 4c 4g 8 | 4c 4g 9 | 4c 4g 10 | 4c 4g 11 | 4c 4g 12 | 4c 4g 13 | *- *- 14 | -------------------------------------------------------------------------------- /example/transpose/transpose-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose without inserting a *Tr interpretation. 2 | !!!command: transpose -b 23 -q -s2 %in > %out 3 | **kern **kern 4 | *k[] *k[] 5 | *C: *C: 6 | 4c 4c 7 | 4d 4d 8 | 4e 4e 9 | 4f 4f 10 | 4g 4g 11 | 4a 4a 12 | 4b 4b 13 | 4cc 4cc 14 | *- *- 15 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepinput8: -------------------------------------------------------------------------------- 1 | X one 2 | X two X three X four X five 3 | X six 4 | X seven…X eight
X nine
X ten 5 | 6 | Before 111 7 | Before 222
Before 333…Match 8 | After 111 9 | After 222
After 333 10 | And so on and so on 11 | And so on and so on 12 | ſ 13 | ſſſſſ 14 | -------------------------------------------------------------------------------- /example/autostem/autostem-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Set the default direction of the middle staff line to point upwards. 2 | !!!command: autostem -o -u %in > %out 3 | **kern 4 | *clefG2 5 | c/ 6 | d/ 7 | e/ 8 | f/ 9 | g/ 10 | a/ 11 | b\ 12 | cc\ 13 | dd\ 14 | ee\ 15 | ff\ 16 | gg\ 17 | aa\ 18 | *- 19 | -------------------------------------------------------------------------------- /example/autostem/autostem-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Set the default direction of the middle staff line to point upwards. 2 | !!!command: autostem -o -u %in > %out 3 | **kern 4 | *clefG2 5 | c/ 6 | d/ 7 | e/ 8 | f/ 9 | g/ 10 | a/ 11 | b/ 12 | cc\ 13 | dd\ 14 | ee\ 15 | ff\ 16 | gg\ 17 | aa\ 18 | *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Analyze music in a compound meter, displaying as fractions. 2 | !!!command: beat -f -u 4. %in > %out 3 | **beat 4 | *M6/8 5 | *MM120 6 | 1 7 | 2 8 | 2+2/3 9 | =2 10 | 1 11 | 2 12 | 2+1/3 13 | 2+2/3 14 | =3 15 | 1 16 | 2 17 | =4 18 | 1 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/extractx/extractx-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Duplicate an extracted spine. 2 | !!!command: extractx -s 1,1-2,2-3,3 %in > %out 3 | **a **a **b **b **c **c 4 | a a b b c c 5 | a a b b c c 6 | a a b b c c 7 | a a b b c c 8 | a a b b c c 9 | a a b b c c 10 | a a b b c c 11 | *- *- *- *- *- *- 12 | -------------------------------------------------------------------------------- /example/extractx/extractx-018.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which splits into subspines, also duplicating it. 2 | !!!command: extractx -s 2,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | * *^ * 7 | a b1 b2 c 8 | a b1 b2 c 9 | a b1 b2 c 10 | a b1 b2 c 11 | a b1 b2 c 12 | *- *- *- *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-018.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a spine which splits into subspines, also duplicating it. 2 | !!!command: extractx -s 2,2 %in > %out 3 | **b **b 4 | b b 5 | b b 6 | *^ *^ 7 | b1 b2 b1 b2 8 | b1 b2 b1 b2 9 | b1 b2 b1 b2 10 | b1 b2 b1 b2 11 | b1 b2 b1 b2 12 | *- *- *- *- 13 | -------------------------------------------------------------------------------- /example/extractx/extractx-024.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract pair of *x spines and an extra copy of only one of the spines will cause the *x in the extra copy to be removed. 2 | !!!command: extractx -s 2,1,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *- *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-024.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract pair of *x spines and an extra copy of only one of the spines will cause the *x in the extra copy to be removed. 2 | !!!command: extractx -s 2,1,2 %in > %out 3 | **b **a **b 4 | b a b 5 | b a b 6 | *x *x * 7 | b a b 8 | b a b 9 | *- *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-041.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a secondary sub-spine, using null tokens when no sub-spines. 2 | !!!command: extractx -s 2b -mn %in > %out 3 | **b 4 | . 5 | . 6 | * 7 | b2 8 | b2 9 | *^ 10 | b21 b22 11 | b21 b22 12 | *v *v 13 | b2 14 | b2 15 | * 16 | . 17 | . 18 | *- 19 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Chord qualities with a root on C. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | ! 6 | C e g 7 | ! 8 | C e- g 9 | ! 10 | C e- g- 11 | ! 12 | C e g# 13 | = 14 | ! 15 | ! 16 | C e g b 17 | ! 18 | C e- g b 19 | ! 20 | C e g b- 21 | *- 22 | -------------------------------------------------------------------------------- /example/kern2melisma/kern2melisma-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Translate a simple example into melisma data. 2 | !!!command: kern2melisma %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4e 12 | 4f 13 | =3 14 | 8g 15 | 8a 16 | 4b 17 | =4 18 | 2c 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/myank/myank-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract music in different clefs. 2 | !!!command: myank -m 2,5 %in > %out 3 | **kern 4 | *clefG2 5 | =1= 6 | 1c 7 | =2 8 | 1B 9 | =2 10 | 1A 11 | =3 12 | 1G 13 | =4 14 | *clefF4 15 | 1F 16 | =5 17 | 1E 18 | =6 19 | 1D 20 | =7 21 | 1C 22 | == 23 | *- 24 | -------------------------------------------------------------------------------- /example/rscale/rscale-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Scale rhythms in **recip spines. 2 | !!!command: rscale -f 4 %in > %out 3 | **recip 4 | 16 5 | 8 6 | 4 7 | 3 8 | 2 9 | 3%2 10 | 1 11 | 3%4 12 | 0 13 | 2. 14 | 2.. 15 | 2... 16 | 2.... 17 | 2..... 18 | 2...... 19 | 2....... 20 | *- 21 | !!!rscale: 4 22 | -------------------------------------------------------------------------------- /example/serialize/serialize-013.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the first sub-token in each token. 2 | !!!command: serialize -f %in > %out 3 | **kern 4 | 4C 4E 4G 5 | 4D 4F# 4A 6 | 4E 4G# 4B 7 | 4F 4A 4c 8 | 4G 4B 4d 9 | 4A 4c# 4e 10 | 4B 4d# 4f# 11 | 4c 4e 12 | 4d 4f# 13 | 4e 14 | 4f 15 | *- 16 | -------------------------------------------------------------------------------- /example/serialize/serialize-014.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract only the last sub-token in each token. 2 | !!!command: serialize -l %in > %out 3 | **kern 4 | 4C 4E 4G 5 | 4D 4F# 4A 6 | 4E 4G# 4B 7 | 4F 4A 4c 8 | 4G 4B 4d 9 | 4A 4c# 4e 10 | 4B 4d# 4f# 11 | 4c 4e 12 | 4d 4f# 13 | 4e 14 | 4f 15 | *- 16 | -------------------------------------------------------------------------------- /example/beat/beat-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Append output data to input lines. 2 | !!!command: beat -a %in > %out 3 | **kern **beat 4 | *M2/4 *M2/4 5 | *MM120 *MM120 6 | 4c 1 7 | 4d 2 8 | =2 =2 9 | 4e 1 10 | 8.f 2 11 | 16g 2.75 12 | =3 =3 13 | 4a 1 14 | 4b 2 15 | =4 =4 16 | 2cc 1 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Prepend output data to input lines. 2 | !!!command: beat -p %in > %out 3 | **beat **kern 4 | *M2/4 *M2/4 5 | *MM120 *MM120 6 | 1 4c 7 | 2 4d 8 | =2 =2 9 | 1 4e 10 | 2 8.f 11 | 2.75 16g 12 | =3 =3 13 | 1 4a 14 | 2 4b 15 | =4 =4 16 | 1 2cc 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/beat/beat-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position in 6/8 meter, beat on the eighth note. 2 | !!!command: beat -u 8 %in > %out 3 | **kern 4 | *M6/8 5 | *MM120 6 | 4.c 7 | 4d 8 | 8e 9 | =2 10 | 4.f 11 | 8g 12 | 8a 13 | 8b 14 | =3 15 | 4.cc 16 | 4.dd 17 | =4 18 | 2.ee 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/beat/beat-011.in: -------------------------------------------------------------------------------- 1 | !!!test: Analyze music in a compound meter, displaying as fractions. 2 | !!!command: beat -f -u 4. %in > %out 3 | **kern 4 | *M6/8 5 | *MM120 6 | 4.c 7 | 4d 8 | 8e 9 | =2 10 | 4.f 11 | 8g 12 | 8a 13 | 8b 14 | =3 15 | 4.cc 16 | 4.dd 17 | =4 18 | 2.ee 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/extractx/extractx-023.in: -------------------------------------------------------------------------------- 1 | !!!test: Multiple copies of spines with *x manipulators will only preserve them if all repetitons of spines are paired to the left. 2 | !!!command: extractx -s 2,1,1,1,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *- *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-043.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a non-existant secondary sub-spine using rests. 2 | !!!command: extractx -s 1,2b,3 -mr %in > %out 3 | **num **kern **dynam 4 | 1 {4c p 5 | . . . 6 | 1 4d p 7 | 1 4e p 8 | 1 4f;} p 9 | 1 {4g p 10 | 1 4a p 11 | 1 4b p 12 | 1 4cc;} p 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Seventh chords and their inversions in C Major. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *C: 5 | I7 6 | ii7 7 | iii7 8 | IV7 9 | V7 10 | vi7 11 | viio7 12 | = 13 | I7a 14 | ii7b 15 | iii7c 16 | IV7d 17 | V7a 18 | vi7b 19 | viio7c 20 | *- 21 | -------------------------------------------------------------------------------- /example/myank/myank-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract non-consecutive list of measures. 2 | !!!command: myank -m 2,4,5-2 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =2- 10 | 1d 11 | =4 12 | 1f 13 | =5 14 | 1g 15 | =4 16 | 1f 17 | =3 18 | 1e 19 | =2 20 | 1d 21 | = 22 | *- 23 | -------------------------------------------------------------------------------- /example/rscale/rscale-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Recover original rhythms from exotice rhythmic values. 2 | !!!command: rscale -o %in > %out 3 | **kern 4 | *M4/124%11 5 | 124%11c 6 | 62%11d 7 | 124%11e 8 | = 9 | *M6/248%11 10 | 124%11.f 11 | 248%11g 12 | 248%11a 13 | 248%11b 14 | *- 15 | !!!rscale: 11/31 16 | -------------------------------------------------------------------------------- /example/serialize/serialize-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Merge all serialized spines into single data stream. 2 | !!!command: serialize -m %in > %out 3 | **a 4 | a 5 | a 6 | a 7 | a 8 | a 9 | a 10 | a 11 | b 12 | b 13 | b 14 | b 15 | b 16 | b 17 | b 18 | c 19 | c 20 | c 21 | c 22 | c 23 | c 24 | c 25 | *- 26 | -------------------------------------------------------------------------------- /example/serialize/serialize-016.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract the second-to-last sub-token in each token. 2 | !!!command: serialize -n -2 %in > %out 3 | **kern 4 | 4C 4E 4G 5 | 4D 4F# 4A 6 | 4E 4G# 4B 7 | 4F 4A 4c 8 | 4G 4B 4d 9 | 4A 4c# 4e 10 | 4B 4d# 4f# 11 | 4c 4e 12 | 4d 4f# 13 | 4e 14 | 4f 15 | *- 16 | -------------------------------------------------------------------------------- /example/swing/swing-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Add a swing to the music. 2 | !!!command: swing %in > %out 3 | **time **kern 4 | *u=msec * 5 | *M4/4 *M4/4 6 | *MM60 *MM60 7 | =1- =1- 8 | 0 8c 9 | 600 8d 10 | 1000 8c 11 | 1600 8d 12 | 2000 8c 13 | 2600 8d 14 | 3000 8c 15 | 3500 8d 16 | == == 17 | *- *- 18 | -------------------------------------------------------------------------------- /example/thrux/thrux-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Expand the data according to a command-line realization sequence. 2 | !!!command: thrux -r "A,B,C,B,A" %in > %out 3 | **letters 4 | *>[C,C,B,B,A,A] 5 | *>norep[C,B,A] 6 | *>A 7 | a 8 | *>B 9 | b 10 | b 11 | *>C 12 | c 13 | c 14 | c 15 | *- 16 | !! comment 17 | -------------------------------------------------------------------------------- /example/transpose/transpose-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose without inserting a *Tr interpretation. 2 | !!!command: transpose -b 23 -q -s2 %in > %out 3 | **kern **kern 4 | *k[] *k[f#] 5 | *C: *G: 6 | 4c 4g 7 | 4d 4a 8 | 4e 4b 9 | 4f 4cc 10 | 4g 4dd 11 | 4a 4ee 12 | 4b 4ff# 13 | 4cc 4gg 14 | *- *- 15 | -------------------------------------------------------------------------------- /example/transpose/transpose-011.in: -------------------------------------------------------------------------------- 1 | !!!test: Adding multiple *Tr transposition actions. 2 | !!!command: transpose -b 6 %in > %out 3 | **kern **kern 4 | * *Trd3c5 5 | *k[] *k[b-] 6 | *C: *F: 7 | 4c 4f 8 | 4d 4g 9 | 4e 4a 10 | 4f 4b- 11 | 4g 4cc 12 | 4a 4dd 13 | 4b 4ee 14 | 4cc 4ff 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-012.in: -------------------------------------------------------------------------------- 1 | !!!test: The original values can be reconstituted from the scale and shift values. 2 | !!!command: zscores -S -m 6 -d 5 --reverse %in > %out 3 | **numA 4 | !shift=6 5 | !scale=5 6 | -1 7 | -0.8 8 | -0.6 9 | -0.4 10 | -0.2 11 | 0 12 | 0 13 | 0.2 14 | 0.6 15 | *- 16 | -------------------------------------------------------------------------------- /example/extractx/extractx-040.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a secondary sub-spine, duplicating primary spine data when no sub-spines. 2 | !!!command: extractx -s 2b %in > %out 3 | **b 4 | b 5 | b 6 | * 7 | b2 8 | b2 9 | *^ 10 | b21 b22 11 | b21 b22 12 | *v *v 13 | b2 14 | b2 15 | * 16 | b 17 | b 18 | *- 19 | -------------------------------------------------------------------------------- /example/kern2dm/kern2dm-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Translate a simple example into Director Musices data. 2 | !!!command: kern2dm %in | grep -v '^;' > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4e 12 | 4f 13 | =3 14 | 8g 15 | 8a 16 | 4b 17 | =4 18 | 2c 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/rscale/rscale-012.in: -------------------------------------------------------------------------------- 1 | !!!test: Recover original rhythms in **recip spines. 2 | !!!command: rscale -o %in > %out 3 | **recip 4 | 16 5 | 8 6 | 4 7 | 3 8 | 2 9 | 3%2 10 | 1 11 | 3%4 12 | 0 13 | 2. 14 | 2.. 15 | 2... 16 | 2.... 17 | 2..... 18 | 2...... 19 | 2....... 20 | *- 21 | !!!rscale: 4 22 | -------------------------------------------------------------------------------- /example/transpose/transpose-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose up a major 2nd from F lydian to G lydian. 2 | !!!command: transpose -k g -s 2 %in > %out 3 | **kern **kern 4 | *k[] *k[] 5 | *F:lyd *F:lyd 6 | 4f 4f 7 | 4g 4g 8 | 4a 4a 9 | 4b 4b 10 | 4cc 4cc 11 | 4dd 4dd 12 | 4ee 4ee 13 | 4ff 4ff 14 | *- *- 15 | -------------------------------------------------------------------------------- /example/beat/beat-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position in 6/8 meter, beat on the dotted quarter-note. 2 | !!!command: beat -u 4. %in > %out 3 | **kern 4 | *M6/8 5 | *MM120 6 | 4.c 7 | 4d 8 | 8e 9 | =2 10 | 4.f 11 | 8g 12 | 8a 13 | 8b 14 | =3 15 | 4.cc 16 | 4.dd 17 | =4 18 | 2.ee 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/beat/beat-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the beat position in 6/8 meter, beat on the dotted quarter-note. 2 | !!!command: beat -u 4. %in > %out 3 | **beat 4 | *M6/8 5 | *MM120 6 | 1 7 | 2 8 | 2.66667 9 | =2 10 | 1 11 | 2 12 | 2.33333 13 | 2.66667 14 | =3 15 | 1 16 | 2 17 | =4 18 | 1 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/extractx/extractx-028.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract two spines with splits and joins which are not strictly allowed. 2 | !!!command: extractx -s 2,4 %in > %out 3 | **b **d 4 | b d 5 | b d 6 | *^ *^ 7 | b1 b2 d1 d2 8 | b1 b2 d1 d2 9 | b1 b2 d1 d2 10 | *v *v * * 11 | * *v *v 12 | b d 13 | b d 14 | *- *- 15 | -------------------------------------------------------------------------------- /example/extractx/extractx-030.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting two partial spines. 2 | !!!command: extractx -s 3,4 %in > %out 3 | **a **b 4 | a b 5 | a b 6 | * *+ 7 | * * **c 8 | a b c 9 | a b c 10 | * * *- 11 | a b 12 | a b 13 | * *+ 14 | * * **d 15 | a b d 16 | a b d 17 | * * *- 18 | a b 19 | a b 20 | *- *- 21 | -------------------------------------------------------------------------------- /example/extractx/extractx-031.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting two partial spines, preserving their relative positions. 2 | !!!command: extractx -s 0,3,4 %in > %out 3 | **blank 4 | . 5 | . 6 | * 7 | * **c 8 | . c 9 | . c 10 | * *- 11 | . 12 | . 13 | * 14 | * **d 15 | . d 16 | . d 17 | * *- 18 | . 19 | . 20 | *- 21 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-013.in: -------------------------------------------------------------------------------- 1 | !!!test: Secondary dominants. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *C: 5 | I 6 | V 7 | V/V 8 | V/V/V 9 | V/V/V/V 10 | V/V/V/V/V 11 | = 12 | viio 13 | viio/V 14 | viio/VI 15 | = 16 | V7 17 | V7/ii 18 | V7/II 19 | V7/-VII 20 | V7/I 21 | V7/V/II 22 | *- 23 | -------------------------------------------------------------------------------- /example/lofcog/lofcog-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the center of gravity of a C Major scale. 2 | !!!command: lofcog %in > %out 3 | **lo5 4 | *b=8 5 | 0 6 | 1 7 | 2 8 | 1.25 9 | 1.2 10 | 1.5 11 | 2 12 | 1.75 13 | 2.11111 14 | 2.44444 15 | 2.33333 16 | 1.77778 17 | 2.33333 18 | 2.44444 19 | 2.11111 20 | *- 21 | -------------------------------------------------------------------------------- /example/rcheck/rcheck-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Print rhythmic information about a Humdrum file with **kern data. 2 | !!!command: ridx -G %in | rcheck > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4e 12 | 4f 13 | =3 14 | 8g 15 | 8a 16 | 4b 17 | =4 18 | 2c 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/ridx/ridx-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all comments except for bibliographic records. 2 | !!!command: ridx -c %in > %out 3 | **a 4 | *bb 5 | a1 6 | . 7 | *^ 8 | a2 a3 9 | . . 10 | = = 11 | a4 . 12 | . a5 13 | * * 14 | *v *v 15 | a6 16 | * 17 | . 18 | = 19 | . 20 | *- 21 | !!!bib: bibliographic record 22 | -------------------------------------------------------------------------------- /example/serialize/serialize-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Serialize all spines in file. 2 | !!!command: serialize %in > %out 3 | **a 4 | a 5 | a 6 | a 7 | a 8 | a 9 | a 10 | a 11 | *- 12 | **b 13 | b 14 | b 15 | b 16 | b 17 | b 18 | b 19 | b 20 | *- 21 | **c 22 | c 23 | c 24 | c 25 | c 26 | c 27 | c 28 | c 29 | *- 30 | -------------------------------------------------------------------------------- /example/serialize/serialize-012.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract sub-spines after primary spine. 2 | !!!command: serialize -m -p -t X %in | ridx -i > %out 3 | **kern **kern 4 | 4C 4c 5 | * *^ 6 | 4D 4d 4cc 7 | 4E 4e 4dd 8 | * *v *v 9 | 4F 4f 10 | * *^ 11 | 4G 4g 4ee 12 | 4A 4a 4ff 13 | * *v *v 14 | 4B 4b 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/swing/swing-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Add a 75% swing to the music. 2 | !!!command: swing -p 75 %in > %out 3 | **time **kern 4 | *u=msec * 5 | *M4/4 *M4/4 6 | *MM60 *MM60 7 | =1- =1- 8 | 0 8c 9 | 750 8d 10 | 1000 8c 11 | 1750 8d 12 | 2000 8c 13 | 2750 8d 14 | 3000 8c 15 | 3500 8d 16 | == == 17 | *- *- 18 | -------------------------------------------------------------------------------- /example/thrux/thrux-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Expand the data according to a command-line realization sequence. 2 | !!!command: thrux -r "A,B,C,B,A" %in > %out 3 | **letters 4 | *thru 5 | *>A 6 | a 7 | *>B 8 | b 9 | b 10 | *>C 11 | c 12 | c 13 | c 14 | *>B 15 | b 16 | b 17 | *>A 18 | a 19 | *- 20 | !! comment 21 | -------------------------------------------------------------------------------- /example/transpose/transpose-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Transpose up a major third using diatonic/chromatic binomial interval. 2 | !!!command: transpose -d 2 -c 4 %in > %out 3 | **kern **kern 4 | *k[] *k[] 5 | *C: *C: 6 | 4c 4e 7 | 4d 4f 8 | 4e 4g 9 | 4f 4a 10 | 4g 4b 11 | 4a 4cc 12 | 4b 4dd 13 | 4cc 4ee 14 | *- *- 15 | -------------------------------------------------------------------------------- /example/transpose/transpose-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Transposing only one spine, printing *Tr indication only in that spine. 2 | !!!command: transpose -b 17 -s2 %in > %out 3 | **kern **kern 4 | *k[] *k[] 5 | *C: *C: 6 | 4c 4c 7 | 4d 4d 8 | 4e 4e 9 | 4f 4f 10 | 4g 4g 11 | 4a 4a 12 | 4b 4b 13 | 4cc 4cc 14 | *- *- 15 | -------------------------------------------------------------------------------- /example/zscores/zscores-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Basic behavior of the command: print only the processed spine. 2 | !!!command: zscores %in > %out 3 | **numA 4 | !shift=5 5 | !scale=2.58199 6 | -1.54919 7 | -1.1619 8 | -0.774597 9 | -0.387298 10 | 0 11 | 0.387298 12 | 0.774597 13 | 1.1619 14 | 1.54919 15 | *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-003.in: -------------------------------------------------------------------------------- 1 | !!!test: If first spines are **kern data, they skip if no spine indicated. 2 | !!!command: zscores %in > %out 3 | **kern **numA **numB 4 | 4c 1 10 5 | 4d 2 20 6 | 4e 3 30 7 | 4f 4 40 8 | 4g 5 50 9 | 4a 6 60 10 | 4b 7 70 11 | 4cc 8 80 12 | 4dd 9 90 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/zscores/zscores-013.in: -------------------------------------------------------------------------------- 1 | **numA **numB 2 | 1 2 10 3 | . 20 4 | 3 4 5 30 40 50 5 | 6 60 6 | *^ *^ 7 | 7 8 70 80 8 | *v *v * * 9 | * *v *v 10 | 9 90 11 | *- *- 12 | !!!test: Input data can be extracted with complete location description in input. 13 | !!!command: zscores %in -f 2 -i --full > %out 14 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput13: -------------------------------------------------------------------------------- 1 | /-- This test is run only when JIT support is not available. It checks that an 2 | attempt to use it has the expected behaviour. It also tests things that 3 | are different without JIT. --/ 4 | 5 | /abc/S+I 6 | 7 | /a*/SI 8 | 9 | /-- End of testinput13 --/ 10 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testinput16: -------------------------------------------------------------------------------- 1 | # This test is run only when JIT support is not available. It checks that an 2 | # attempt to use it has the expected behaviour. It also tests things that 3 | # are different without JIT. 4 | 5 | /abc/I,jit,jitverify 6 | 7 | /a*/I 8 | 9 | # End of testinput16 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-025.out: -------------------------------------------------------------------------------- 1 | !!!test: Extracting spines which don't have matching *x will remove unmatched *x's. 2 | !!!command: extractx -s 1,2 %in > %out 3 | **a **b 4 | a b 5 | a b 6 | *x *x 7 | a b 8 | a b 9 | *x *x 10 | a b 11 | a b 12 | * * 13 | a b 14 | a b 15 | * * 16 | a b 17 | a b 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/gettime/gettime-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music at 60 beats per minute. 2 | !!!command: gettime -p %in > %out 3 | **time **kern 4 | *u=sec * 5 | *MM60 *MM60 6 | 0 4c 7 | 1 4d 8 | =2 =2 9 | 2 4e 10 | 3 4f 11 | =3 =3 12 | 4 8g 13 | 4.5 8a 14 | 5 4b 15 | =4 =4 16 | 6 2c 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/hgrep/hgrep-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Search for "16g" only in data records, printing measure/beat where a match is found. 2 | !!!command: hgrep -mbd 16g %in > %out 3 | **kern 4 | *M2/4 5 | *MM120 6 | =1- 7 | 4c 8 | 4d 9 | =2 10 | 4e 11 | 8.f 12 | 16g 13 | =3 14 | 4a 15 | 4b 16 | =4 17 | 2cc 18 | == 19 | *- 20 | -------------------------------------------------------------------------------- /example/myank/myank-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract measure 5 from score. 2 | !!!command: myank -m 5 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =1- 10 | 1c 11 | =2 12 | 1d 13 | =3 14 | 1e 15 | =4 16 | 1f 17 | =5 18 | 1g 19 | =6 20 | 1a 21 | =7 22 | 1b 23 | =8 24 | 1cc 25 | == 26 | *- 27 | -------------------------------------------------------------------------------- /example/ridx/ridx-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all local comments. 2 | !!!command: ridx -L %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | a1 8 | . 9 | *^ 10 | a2 a3 11 | . . 12 | = = 13 | a4 . 14 | . a5 15 | * * 16 | *v *v 17 | a6 18 | * 19 | . 20 | = 21 | . 22 | *- 23 | !!!bib: bibliographic record 24 | -------------------------------------------------------------------------------- /example/transpose/transpose-011.out: -------------------------------------------------------------------------------- 1 | !!!test: Adding multiple *Tr transposition actions. 2 | !!!command: transpose -b 6 %in > %out 3 | **kern **kern 4 | *Trd1c2 *Trd4c7 5 | *k[f#c#] *k[f#] 6 | *D: *G: 7 | 4d 4g 8 | 4e 4a 9 | 4f# 4b 10 | 4g 4cc 11 | 4a 4dd 12 | 4b 4ee 13 | 4cc# 4ff# 14 | 4dd 4gg 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-002.in: -------------------------------------------------------------------------------- 1 | !!!test: By default, the first spine will be processed. Other spines can be selected with -f option. 2 | !!!command: zscores -f 2 %in > %out 3 | **numA **numB 4 | 1 10 5 | 2 20 6 | 3 30 7 | 4 40 8 | 5 50 9 | 6 60 10 | 7 70 11 | 8 80 12 | 9 90 13 | *- *- 14 | -------------------------------------------------------------------------------- /example/zscores/zscores-010.in: -------------------------------------------------------------------------------- 1 | !!!test: The original data can replace corresponding data from input. 2 | !!!command: zscores -S -f 3 %in --replace > %out 3 | **kern **numA **numB 4 | 4c 1 10 5 | 4d 2 20 6 | 4e 3 30 7 | 4f 4 40 8 | 4g 5 50 9 | 4a 6 60 10 | 4b 7 70 11 | 4cc 8 80 12 | 4dd 9 90 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/barnum/barnum-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Numbering measures with repeat bars in the middle of the measure. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =- 8 | 1g 9 | = 10 | 2dd 11 | =!|: 12 | 2ee 13 | = 14 | 1ff# 15 | = 16 | 2f# 17 | =:|! 18 | 2e 19 | = 20 | 2g 21 | == 22 | *- 23 | -------------------------------------------------------------------------------- /example/extractx/extractx-039.in: -------------------------------------------------------------------------------- 1 | !!!test: Expand all spines which contain a *^ manipulator. 2 | !!!command: extractx -e %in > %out 3 | **a **b **c 4 | * *^ * 5 | a b1 b2 c 6 | a b1 b2 c 7 | * * *^ * 8 | a b1 b21 b22 c 9 | a b1 b21 b22 c 10 | * * *v *v * 11 | a b1 b2 c 12 | a b1 b2 c 13 | * *v *v * 14 | *- *- *- 15 | -------------------------------------------------------------------------------- /example/extractx/extractx-043.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a non-existant secondary sub-spine using rests. 2 | !!!command: extractx -s 1,2b,3 -mr %in > %out 3 | **num **kern **dynam 4 | 1 {4ryy p 5 | . . . 6 | 1 4ryy p 7 | 1 4ryy p 8 | 1 4ryy;} p 9 | 1 {4ryy p 10 | 1 4ryy p 11 | 1 4ryy p 12 | 1 4ryy;} p 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/pae2kern/pae2kern-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Basic test of converting to **kern data. 2 | !!!command: pae2kern %in -s > %out 3 | @start: pae2kern-001 4 | @clef: C-1 5 | @keysig: bBEA 6 | @key: Eb 7 | @timesig: 3/4 8 | @alttimesig: 9 | @data: '2.E/G/2A4A/G--/--8.-6B/4AG-/--8-{6BG}/4FE-/ 10 | @end: pae2kern-001 11 | -------------------------------------------------------------------------------- /example/ridx/ridx-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all interpretation records. 2 | !!!command: ridx -I %in > %out 3 | !! 4 | !! global comment 5 | a1 6 | . 7 | ! local comment 8 | a2 a3 9 | . . 10 | ! ! 11 | !x !y 12 | = = 13 | a4 . 14 | . a5 15 | ! !z 16 | a6 17 | . 18 | = 19 | ! 20 | . 21 | !!!bib: bibliographic record 22 | -------------------------------------------------------------------------------- /example/thrux/thrux-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Give detailed information about the labeled sections in the file. 2 | !!!command: thrux -i %in > %out 3 | **kern 4 | *>[A,B,B,C] 5 | *>norep[A,B,C] 6 | *>A 7 | =1- 8 | 1a 9 | =2 10 | *>B 11 | 2b 12 | 2b 13 | =3 14 | *>C 15 | 4c 16 | 4c 17 | 4c 18 | 4c 19 | *- 20 | !! comment 21 | -------------------------------------------------------------------------------- /example/time2matlab/time2matlab-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Basic test of converting to matlab data. 2 | !!!command: time2matlab %in > %out 3 | **time **kern **kern 4 | * * *M4/4 5 | =3 =3 =3 6 | 1300 1CC 8c 7 | 1700 . 8c# 8 | 2400 . 4d 9 | 3000 . 4e 10 | 4000 . 4f 11 | =4 =4 =4 12 | 8000 1r 1g 13 | == == == 14 | *- *- *- 15 | -------------------------------------------------------------------------------- /example/zscores/zscores-003.out: -------------------------------------------------------------------------------- 1 | !!!test: If first spines are **kern data, they skip if no spine indicated. 2 | !!!command: zscores %in > %out 3 | **numA 4 | !shift=5 5 | !scale=2.58199 6 | -1.54919 7 | -1.1619 8 | -0.774597 9 | -0.387298 10 | 0 11 | 0.387298 12 | 0.774597 13 | 1.1619 14 | 1.54919 15 | *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-014.in: -------------------------------------------------------------------------------- 1 | **numA **numB 2 | 1 2 10 3 | . 20 4 | 3 4 5 30 40 50 5 | 6 60 6 | *^ *^ 7 | 7 8 70 80 8 | *v *v * * 9 | * *v *v 10 | 9 90 11 | *- *- 12 | !!!test: Output data can also be extracted with complete location description in input. 13 | !!!command: zscores %in -f 2 --raw --full > %out 14 | -------------------------------------------------------------------------------- /example/barnum/barnum-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Numbering measures with repeat bars in the middle of the measure. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =1- 8 | 1g 9 | =2 10 | 2dd 11 | =!|: 12 | 2ee 13 | =3 14 | 1ff# 15 | =4 16 | 2f# 17 | =:|! 18 | 2e 19 | =5 20 | 2g 21 | == 22 | *- 23 | -------------------------------------------------------------------------------- /example/extractx/extractx-039.out: -------------------------------------------------------------------------------- 1 | !!!test: Expand all spines which contain a *^ manipulator. 2 | !!!command: extractx -e %in > %out 3 | **a **b **b **c 4 | * * * * 5 | a b1 b2 c 6 | a b1 b2 c 7 | * * *^ * 8 | a b1 b21 b22 c 9 | a b1 b21 b22 c 10 | * * *v *v * 11 | a b1 b2 c 12 | a b1 b2 c 13 | * * * * 14 | *- *- *- *- 15 | -------------------------------------------------------------------------------- /example/gettime/gettime-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract the tempo rather than the timings. 2 | !!!command: gettime %in -at > %out 3 | **kern **tempo 4 | * *u=sec 5 | *MM144 *MM144 6 | 4c 144 7 | 4d 144 8 | =2 =2 9 | 4e 144 10 | 4f 144 11 | =3 =3 12 | 8g 144 13 | 8a 144 14 | 4b 144 15 | =4 =4 16 | 2c 144 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/myank/myank-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract measure 2 to 6 from score. 2 | !!!command: myank -m 2-6 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =1- 10 | 1c 11 | =2 12 | 1d 13 | =3 14 | 1e 15 | =4 16 | 1f 17 | =5 18 | 1g 19 | =6 20 | 1a 21 | =7 22 | 1b 23 | =8 24 | 1cc 25 | == 26 | *- 27 | -------------------------------------------------------------------------------- /example/ottava/ottava-005.in: -------------------------------------------------------------------------------- 1 | !!!test: Mixed initial octave specifications into sounding pitch. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *8va/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8va/V 13 | = 14 | *8va 15 | 4cc 16 | 4dd 17 | 4ee 18 | 4ff 19 | 4gg 20 | 4aa 21 | 4bb 22 | *X8va 23 | *- 24 | -------------------------------------------------------------------------------- /example/ottava/ottava-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Mixed initial octave specifications into visual score format. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *8va/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8va/V 13 | = 14 | *8va/V 15 | 4c 16 | 4d 17 | 4e 18 | 4f 19 | 4g 20 | 4a 21 | 4b 22 | *X8va/V 23 | *- 24 | -------------------------------------------------------------------------------- /example/scaletype/scaletype-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the scale of a pentatonic example and list pitch classes used. 2 | !!!command: scaletype -DF -p %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *M2/4 7 | *MM60 8 | 4c 9 | 4d 10 | =2 11 | 4f 12 | 4g 13 | =3 14 | 8a 15 | 8cc 16 | 4dd 17 | =4 18 | 2ff 19 | == 20 | *- 21 | -------------------------------------------------------------------------------- /example/thrux/thrux-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Expand sections using the default label extracted in reverse order. 2 | !!!command: thrux %in > %out 3 | **letters 4 | *thru 5 | *>C 6 | c 7 | c 8 | c 9 | *>C 10 | c 11 | c 12 | c 13 | *>B 14 | b 15 | b 16 | *>B 17 | b 18 | b 19 | *>A 20 | a 21 | *>A 22 | a 23 | *- 24 | !! comment 25 | -------------------------------------------------------------------------------- /example/transpose/transpose-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose up a major 2nd from F lydian to G lydian. 2 | !!!command: transpose -k g -s 2 %in > %out 3 | **kern **kern 4 | * *Trd1c2 5 | *k[] *k[f#c#] 6 | *F:lyd *G:lyd 7 | 4f 4g 8 | 4g 4a 9 | 4a 4b 10 | 4b 4cc# 11 | 4cc 4dd 12 | 4dd 4ee 13 | 4ee 4ff# 14 | 4ff 4gg 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Trying to access a field greater than exists in the file will select the last spine. 2 | !!!command: zscores -f 1000 %in > %out 3 | **kern **numA **numB 4 | 4c 1 10 5 | 4d 2 20 6 | 4e 3 30 7 | 4f 4 40 8 | 4g 5 50 9 | 4a 6 60 10 | 4b 7 70 11 | 4cc 8 80 12 | 4dd 9 90 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/zscores/zscores-009.out: -------------------------------------------------------------------------------- 1 | !!!test: The shift (mean) and scale (standard deviation) comments can be suppressed. 2 | !!!command: zscores -a -S %in > %out 3 | **numA **numA 4 | 1 -1.54919 5 | 2 -1.1619 6 | 3 -0.774597 7 | 4 -0.387298 8 | 5 0 9 | 6 0.387298 10 | 7 0.774597 11 | 8 1.1619 12 | 9 1.54919 13 | *- *- 14 | -------------------------------------------------------------------------------- /example/extractx/extractx-027.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract two spines with splits and joins. 2 | !!!command: extractx -s 2,4 %in > %out 3 | **a **b **c **d 4 | a b c d 5 | a b c d 6 | * *^ * *^ 7 | a b1 b2 c d1 d2 8 | a b1 b2 c d1 d2 9 | a b1 b2 c d1 d2 10 | * *v *v * * * 11 | * * * *v *v 12 | a b c d 13 | a b c d 14 | *- *- *- *- 15 | -------------------------------------------------------------------------------- /example/myank/myank-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract music with clef change in middle of a previous measure 2 | !!!command: myank -m 2,5 %in > %out 3 | **kern 4 | *clefG2 5 | =1= 6 | 1c 7 | =2 8 | 1B 9 | =2 10 | 1A 11 | =3 12 | 1G 13 | =4 14 | 2F# 15 | *clefF4 16 | 2F 17 | =5 18 | 1E 19 | =6 20 | 1D 21 | =7 22 | 1C 23 | == 24 | *- 25 | -------------------------------------------------------------------------------- /example/ottava/ottava-005.out: -------------------------------------------------------------------------------- 1 | !!!test: Mixed initial octave specifications into sounding pitch. 2 | !!!command: ottava -s %in > %out 3 | **kern 4 | *8va 5 | 4cc 6 | 4dd 7 | 4ee 8 | 4ff 9 | 4gg 10 | 4aa 11 | 4bb 12 | *X8va 13 | = 14 | *8va 15 | 4cc 16 | 4dd 17 | 4ee 18 | 4ff 19 | 4gg 20 | 4aa 21 | 4bb 22 | *X8va 23 | *- 24 | -------------------------------------------------------------------------------- /example/ottava/ottava-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Mixed initial octave specifications into visual score format. 2 | !!!command: ottava -v %in > %out 3 | **kern 4 | *8va/V 5 | 4c 6 | 4d 7 | 4e 8 | 4f 9 | 4g 10 | 4a 11 | 4b 12 | *X8va/V 13 | = 14 | *8va 15 | 4cc 16 | 4dd 17 | 4ee 18 | 4ff 19 | 4gg 20 | 4aa 21 | 4bb 22 | *X8va 23 | *- 24 | -------------------------------------------------------------------------------- /example/extractx/extractx-023.out: -------------------------------------------------------------------------------- 1 | !!!test: Multiple copies of spines with *x manipulators will only preserve them if all repetitons of spines are paired to the left. 2 | !!!command: extractx -s 2,1,1,1,2 %in > %out 3 | **b **a **a **a **b 4 | b a a a b 5 | b a a a b 6 | *x *x * * * 7 | b a a a b 8 | b a a a b 9 | *- *- *- *- *- 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-026.in: -------------------------------------------------------------------------------- 1 | !!!test: Reversing spines will always preserve *x manipulators. 2 | !!!command: extractx -s '$0-1' %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *x *x * 10 | a b c 11 | a b c 12 | * *x *x 13 | a c b 14 | a c b 15 | * *x *x 16 | a b c 17 | a b c 18 | *- *- *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-026.out: -------------------------------------------------------------------------------- 1 | !!!test: Reversing spines will always preserve *x manipulators. 2 | !!!command: extractx -s '$0-1' %in > %out 3 | **c **b **a 4 | c b a 5 | c b a 6 | * *x *x 7 | c b a 8 | c b a 9 | * *x *x 10 | c b a 11 | c b a 12 | *x *x * 13 | c b a 14 | c b a 15 | *x *x * 16 | c b a 17 | c b a 18 | *- *- *- 19 | -------------------------------------------------------------------------------- /example/hum2abc/hum2abc-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Converting a melody into ABC plus. 2 | !!!command: hum2abc %in | grep -v "^%%abcx-conversion-date" > %out 3 | **kern 4 | *clefF4 5 | *M6/8 6 | 4.D 7 | 4.F 8 | = 9 | 4.B- 10 | *clefC1 11 | 4.c# 12 | = 13 | 4.f# 14 | 4.g 15 | = 16 | 8aL 17 | 8g 18 | 8f#J 19 | 8eTL 20 | 8d 21 | 8c#J 22 | *- 23 | -------------------------------------------------------------------------------- /example/myank/myank-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a range of measures in reversed order. 2 | !!!command: myank -m 6-2 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =1- 10 | 1c 11 | =2 12 | 1d 13 | =3 14 | 1e 15 | =4 16 | 1f 17 | =5 18 | 1g 19 | =6 20 | 1a 21 | =7 22 | 1b 23 | =8 24 | 1cc 25 | == 26 | *- 27 | -------------------------------------------------------------------------------- /example/myank/myank-004.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract non-consecutive list of measures. 2 | !!!command: myank -m 2,4,5-2 %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =1- 10 | 1c 11 | =2 12 | 1d 13 | =3 14 | 1e 15 | =4 16 | 1f 17 | =5 18 | 1g 19 | =6 20 | 1a 21 | =7 22 | 1b 23 | =8 24 | 1cc 25 | == 26 | *- 27 | -------------------------------------------------------------------------------- /example/transpose/transpose-010.out: -------------------------------------------------------------------------------- 1 | !!!test: Transposing only one spine, printing *Tr indication only in that spine. 2 | !!!command: transpose -b 17 -s2 %in > %out 3 | **kern **kern 4 | * *Trd3c5 5 | *k[] *k[b-] 6 | *C: *F: 7 | 4c 4f 8 | 4d 4g 9 | 4e 4a 10 | 4f 4b- 11 | 4g 4cc 12 | 4a 4dd 13 | 4b 4ee 14 | 4cc 4ff 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-005.out: -------------------------------------------------------------------------------- 1 | !!!test: The analysis data can be appended to the input data. 2 | !!!command: zscores -a %in > %out 3 | **numA **numA 4 | ! !shift=5 5 | ! !scale=2.58199 6 | 1 -1.54919 7 | 2 -1.1619 8 | 3 -0.774597 9 | 4 -0.387298 10 | 5 0 11 | 6 0.387298 12 | 7 0.774597 13 | 8 1.1619 14 | 9 1.54919 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/beat/beat-007.out: -------------------------------------------------------------------------------- 1 | !!!test: Sum the number of beats in each measure and append analysis to input data. 2 | !!!command: beat -sa %in > %out 3 | **kern **beatsum 4 | *M2/4 *M2/4 5 | *MM120 *MM120 6 | 4c 2 7 | 4d . 8 | =2 =2 9 | 4e 2 10 | 8.f . 11 | 16g . 12 | =3 =3 13 | 4a 2 14 | 4b . 15 | =4 =4 16 | 2cc 2 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/extractx/extractx-044.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a non-existant secondary sub-spine using rests without interpretation marking "yy". 2 | !!!command: extractx -Y -s 1,2b,3 -mr %in > %out 3 | **num **kern **dynam 4 | 1 {4c p 5 | . . . 6 | 1 4d p 7 | 1 4e p 8 | 1 4f;} p 9 | 1 {4g p 10 | 1 4a p 11 | 1 4b p 12 | 1 4cc;} p 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/extractx/extractx-044.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract a non-existant secondary sub-spine using rests without interpretation marking "yy". 2 | !!!command: extractx -Y -s 1,2b,3 -mr %in > %out 3 | **num **kern **dynam 4 | 1 {4r p 5 | . . . 6 | 1 4r p 7 | 1 4r p 8 | 1 4r;} p 9 | 1 {4r p 10 | 1 4r p 11 | 1 4r p 12 | 1 4r;} p 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/gettime/gettime-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music at 144 beats per minute. 2 | !!!command: gettime -p %in > %out 3 | **time **kern 4 | *u=sec * 5 | *MM144 *MM144 6 | 0 4c 7 | 0.417 4d 8 | =2 =2 9 | 0.833 4e 10 | 1.25 4f 11 | =3 =3 12 | 1.667 8g 13 | 1.875 8a 14 | 2.083 4b 15 | =4 =4 16 | 2.5 2c 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/myank/myank-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a measure, not including ending barline. 2 | !!!command: myank -m 5 -B %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =1- 10 | 1c 11 | =2 12 | 1d 13 | =3 14 | 1e 15 | =4 16 | 1f 17 | =5 18 | 1g 19 | =6 20 | 1a 21 | =7 22 | 1b 23 | =8 24 | 1cc 25 | == 26 | *- 27 | -------------------------------------------------------------------------------- /example/rscale/rscale-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Reduce the rhythmic values by 1/2 of their duration. 2 | !!!command: rscale -f 1/2 %in > %out 3 | **kern 4 | 000c 5 | 00d 6 | 0e 7 | 1f 8 | 2g 9 | 4a 10 | 8b 11 | 16cc 12 | 32dd 13 | 64ee 14 | 128ff 15 | 256gg 16 | 512aa 17 | 1024bb 18 | 2048ccc 19 | 4096ddd 20 | 8192eee 21 | 16384fff 22 | *- 23 | -------------------------------------------------------------------------------- /example/serialize/serialize-012.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract sub-spines after primary spine. 2 | !!!command: serialize -m -p -t X %in | ridx -i > %out 3 | **kern 4 | 4C 5 | 4D 6 | 4E 7 | 4F 8 | 4G 9 | 4A 10 | 4B 11 | X 12 | 4c 13 | 4d 14 | 4e 15 | 4f 16 | 4g 17 | 4a 18 | 4b 19 | X 20 | 4cc 21 | 4dd 22 | X 23 | 4ee 24 | 4ff 25 | X 26 | *- 27 | -------------------------------------------------------------------------------- /example/zscores/zscores-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Trying to access a field greater than exists in the file will select the last spine. 2 | !!!command: zscores -f 1000 %in > %out 3 | **numB 4 | !shift=50 5 | !scale=25.8199 6 | -1.54919 7 | -1.1619 8 | -0.774597 9 | -0.387298 10 | 0 11 | 0.387298 12 | 0.774597 13 | 1.1619 14 | 1.54919 15 | *- 16 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/grepinputv: -------------------------------------------------------------------------------- 1 | The quick brown 2 | fox jumps 3 | over the lazy dog. 4 | This time it jumps and jumps and jumps. 5 | This line contains \E and (regex) *meta* [characters]. 6 | The word is cat in this line 7 | The caterpillar sat on the mat 8 | The snowcat is not an animal 9 | A buried feline in the syndicate 10 | -------------------------------------------------------------------------------- /example/extractx/extractx-028.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract two spines with splits and joins which are not strictly allowed. 2 | !!!command: extractx -s 2,4 %in > %out 3 | **a **b **c **d 4 | a b c d 5 | a b c d 6 | * *^ * *^ 7 | a b1 b2 c d1 d2 8 | a b1 b2 c d1 d2 9 | a b1 b2 c d1 d2 10 | * *v *v * *v *v 11 | a b c d 12 | a b c d 13 | *- *- *- *- 14 | -------------------------------------------------------------------------------- /example/extractx/extractx-031.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting two partial spines, preserving their relative positions. 2 | !!!command: extractx -s 0,3,4 %in > %out 3 | **a **b 4 | a b 5 | a b 6 | * *+ 7 | * * **c 8 | a b c 9 | a b c 10 | * * *- 11 | a b 12 | a b 13 | * *+ 14 | * * **d 15 | a b d 16 | a b d 17 | * * *- 18 | a b 19 | a b 20 | *- *- 21 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Chord qualities with a root on C. 2 | !!!command: harm2kern %in > %out 3 | **harm 4 | *C: 5 | !major: 6 | I 7 | !minor: 8 | i 9 | !diminished: 10 | io 11 | !augmented 12 | I+ 13 | = 14 | ! seventh chords 15 | ! major major 16 | I7 17 | ! minor major 18 | i7 19 | ! major minor 20 | V7/IV 21 | *- 22 | -------------------------------------------------------------------------------- /example/ridx/ridx-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all null data records. 2 | !!!command: ridx -d %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | a1 8 | ! local comment 9 | *^ 10 | a2 a3 11 | ! ! 12 | !x !y 13 | = = 14 | a4 . 15 | . a5 16 | ! !z 17 | * * 18 | *v *v 19 | a6 20 | * 21 | = 22 | ! 23 | *- 24 | !!!bib: bibliographic record 25 | -------------------------------------------------------------------------------- /example/rscale/rscale-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Increase rhythmic values to twice their original duration. 2 | !!!command: rscale -f 2 %in > %out 3 | **kern 4 | 000c 5 | 00d 6 | 0e 7 | 1f 8 | 2g 9 | 4a 10 | 8b 11 | 16cc 12 | 32dd 13 | 64ee 14 | 128ff 15 | 256gg 16 | 512aa 17 | 1024bb 18 | 2048ccc 19 | 4096ddd 20 | 8192eee 21 | 16384fff 22 | *- 23 | -------------------------------------------------------------------------------- /example/zscores/zscores-015.out: -------------------------------------------------------------------------------- 1 | !!!test: Using sample standard deviation rather than population standard deviation. 2 | !!!command: zscores %in --sample > %out 3 | **num 4 | !shift=5 5 | !scale=2.73861 6 | -1.46059 7 | -1.09545 8 | -0.730297 9 | -0.365148 10 | 0 11 | 0.365148 12 | 0.730297 13 | 1.09545 14 | 1.46059 15 | *- 16 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testoutput24: -------------------------------------------------------------------------------- 1 | /-- Tests for the 16-bit library with UTF-16 support only */ 2 | 3 | < forbid W 4 | 5 | /bad/8 6 | \x{d800} 7 | Error -10 (bad UTF-16 string) offset=0 reason=1 8 | 9 | /short/8 10 | \P\P\x{d800} 11 | Error -25 (short UTF-16 string) offset=0 reason=1 12 | 13 | /-- End of testinput24 --/ 14 | -------------------------------------------------------------------------------- /example/gettime/gettime-003.out: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music in milliseconds rather than seconds. 2 | !!!command: gettime -pm %in > %out 3 | **time **kern 4 | *u=msec * 5 | *MM60 *MM60 6 | 0 4c 7 | 1000 4d 8 | =2 =2 9 | 2000 4e 10 | 3000 4f 11 | =3 =3 12 | 4000 8g 13 | 4500 8a 14 | 5000 4b 15 | =4 =4 16 | 6000 2c 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/gettime/gettime-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Measuring time in milliseconds with no rounding. 2 | !!!command: gettime %in -amR > %out 3 | **kern **time 4 | * *u=msec 5 | *MM144 *MM144 6 | 4c 0 7 | 4d 416.667 8 | =2 =2 9 | 4e 833.333 10 | 4f 1250 11 | =3 =3 12 | 8g 1666.67 13 | 8a 1875 14 | 4b 2083.33 15 | =4 =4 16 | 2c 2500 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/gettime/gettime-006.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music when a ritard mark is present. 2 | !!!command: gettime -a %in > %out 3 | **kern 4 | *M4/4 5 | *MM120 6 | 4c 7 | 4c 8 | 4c 9 | 4c 10 | = 11 | *rit 12 | 4c 13 | 4c 14 | 4c 15 | 4c 16 | = 17 | 4c 18 | 4c 19 | 4c 20 | 4c 21 | = 22 | *MM60 23 | 4c 24 | 4c 25 | 4c 26 | 4c 27 | *- 28 | -------------------------------------------------------------------------------- /example/gettime/gettime-007.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the tempo of music when a ritard mark is present. 2 | !!!command: gettime -at %in > %out 3 | **kern 4 | *M4/4 5 | *MM120 6 | 4c 7 | 4c 8 | 4c 9 | 4c 10 | = 11 | *rit 12 | 4c 13 | 4c 14 | 4c 15 | 4c 16 | = 17 | 4c 18 | 4c 19 | 4c 20 | 4c 21 | = 22 | *MM60 23 | 4c 24 | 4c 25 | 4c 26 | 4c 27 | *- 28 | -------------------------------------------------------------------------------- /example/myank/myank-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract multiple measures, not including ending barline. 2 | !!!command: myank -m 2,4,6 -B %in > %out 3 | **kern 4 | *clefG2 5 | *k[] 6 | *C: 7 | *M4/4 8 | *MM120 9 | =1- 10 | 1c 11 | =2 12 | 1d 13 | =3 14 | 1e 15 | =4 16 | 1f 17 | =5 18 | 1g 19 | =6 20 | 1a 21 | =7 22 | 1b 23 | =8 24 | 1cc 25 | == 26 | *- 27 | -------------------------------------------------------------------------------- /external/pcre2-10.42/testdata/testoutput23: -------------------------------------------------------------------------------- 1 | # This test is run when PCRE2 has been built with --enable-never-backslash-C, 2 | # which disables the use of \C. All we can do is check that it gives the 3 | # correct error message. 4 | 5 | /a\Cb/ 6 | Failed: error 185 at offset 3: using \C is disabled in this PCRE2 library 7 | 8 | # End of testinput23 9 | -------------------------------------------------------------------------------- /example/extractx/extractx-025.in: -------------------------------------------------------------------------------- 1 | !!!test: Extracting spines which don't have matching *x will remove unmatched *x's. 2 | !!!command: extractx -s 1,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | *x *x * 7 | b a c 8 | b a c 9 | *x *x * 10 | a b c 11 | a b c 12 | * *x *x 13 | a c b 14 | a c b 15 | * *x *x 16 | a b c 17 | a b c 18 | *- *- *- 19 | -------------------------------------------------------------------------------- /example/gettime/gettime-009.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music when an accelerando mark is present. 2 | !!!command: gettime -a %in > %out 3 | **kern 4 | *M4/4 5 | *MM60 6 | 4c 7 | 4c 8 | 4c 9 | 4c 10 | = 11 | *accel 12 | 4c 13 | 4c 14 | 4c 15 | 4c 16 | = 17 | 4c 18 | 4c 19 | 4c 20 | 4c 21 | = 22 | *MM120 23 | 4c 24 | 4c 25 | 4c 26 | 4c 27 | *- 28 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-013.out: -------------------------------------------------------------------------------- 1 | !!!test: Secondary dominants. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | C e g 6 | G b dd 7 | D f# a 8 | A cc# ee 9 | E g# b 10 | B dd# ff# 11 | = 12 | B dd ff 13 | F# a cc 14 | G# b dd 15 | = 16 | G b dd ff 17 | A cc# ee gg 18 | A cc# ee gg 19 | F a cc ee- 20 | G b dd ff 21 | E g# b dd 22 | *- 23 | -------------------------------------------------------------------------------- /example/hum2gmn/hum2gmn-001.out: -------------------------------------------------------------------------------- 1 | 2 | %%%test: D major scale with mixed rhythms. 3 | 4 | { [ \staff<1> 5 | \systemFormat 6 | \barFormat 7 | \set 8 | \meter<"4/4"> 9 | \key<2> 10 | d1/4 d/4. f#/8 g/4 11 | \bar a/2 b/4 c#2 12 | \bar d1 _/2. 13 | \endBar 14 | ] } 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /example/hum2gmn/hum2gmn-002.out: -------------------------------------------------------------------------------- 1 | 2 | %%%test: Adding barline numbers. 3 | 4 | { [ \staff<1> 5 | \systemFormat 6 | \barFormat 7 | \set 8 | \meter<"4/4"> 9 | \key<2> 10 | d1/4 d/4. f#/8 g/4 11 | \bar<2> a/2 b/4 c#2 12 | \bar<3> d1 _/2. 13 | \endBar 14 | ] } 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /example/ridx/ridx-009.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all tandem interpretations. 2 | !!!command: ridx -T %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | a1 7 | . 8 | ! local comment 9 | *^ 10 | a2 a3 11 | . . 12 | ! ! 13 | !x !y 14 | = = 15 | a4 . 16 | . a5 17 | ! !z 18 | *v *v 19 | a6 20 | . 21 | = 22 | ! 23 | . 24 | *- 25 | !!!bib: bibliographic record 26 | -------------------------------------------------------------------------------- /example/time2tempo/time2tempo-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Converting millisecond data to tempo, not rounding tempo values. 2 | !!!command: time2tempo -Ra %in > %out 3 | **kern **time 4 | * *u=msec 5 | *M3/4 * 6 | *MM144 * 7 | 4c 0 8 | 4d 417 9 | 4e 833 10 | = = 11 | 8d 1250 12 | 8f 1458 13 | 8.a 1667 14 | 16b 1979 15 | = = 16 | 2.cc 2083 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/tindex/tindex-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract diatonic musical intervals from two spines. 2 | !!!command: tindex -AD -E -f "INT" %in > %out 3 | **kern **kern 4 | *M2/4 *M2/4 5 | *MM120 *MM120 6 | =1- =1- 7 | 4c 4gg 8 | 4d 4ff 9 | =2 =2 10 | 4e 4cc 11 | 8.f 4b 12 | 16g . 13 | =3 =3 14 | 4a 4a 15 | 4b 4g 16 | =4 =4 17 | 2cc 2f 18 | == == 19 | *- *- 20 | -------------------------------------------------------------------------------- /external/pcre-8.35/libpcrecpp.pc: -------------------------------------------------------------------------------- 1 | # Package Information for pkg-config 2 | 3 | prefix=/usr/local 4 | exec_prefix=${prefix} 5 | libdir=${exec_prefix}/lib 6 | includedir=${prefix}/include 7 | 8 | Name: libpcrecpp 9 | Description: PCRECPP - C++ wrapper for PCRE 10 | Version: 8.35 11 | Libs: -L${libdir} -lpcre -lpcrecpp 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /example/barnum/barnum-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Basic test adding measure numbers to **kern data. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =- 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | = 13 | 4dd 14 | 4ee 15 | 4ff# 16 | 4gg 17 | = 18 | 4ff# 19 | 8ee 20 | 8dd 21 | 8cc 22 | 8b 23 | 8a 24 | 8g 25 | = 26 | 2f# 27 | 2g 28 | == 29 | *- 30 | -------------------------------------------------------------------------------- /example/barnum/barnum-002.in: -------------------------------------------------------------------------------- 1 | !!!test: Removing measure numbers from **kern data. 2 | !!!command: barnum -r %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =1- 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | =2 13 | 4dd 14 | 4ee 15 | 4ff# 16 | 4gg 17 | =3 18 | 4ff# 19 | 8ee 20 | 8dd 21 | 8cc 22 | 8b 23 | 8a 24 | 8g 25 | =4 26 | 2f# 27 | 2g 28 | == 29 | *- 30 | -------------------------------------------------------------------------------- /example/barnum/barnum-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Removing measure numbers from **kern data. 2 | !!!command: barnum -r %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =- 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | = 13 | 4dd 14 | 4ee 15 | 4ff# 16 | 4gg 17 | = 18 | 4ff# 19 | 8ee 20 | 8dd 21 | 8cc 22 | 8b 23 | 8a 24 | 8g 25 | = 26 | 2f# 27 | 2g 28 | == 29 | *- 30 | -------------------------------------------------------------------------------- /example/extractx/extractx-019.in: -------------------------------------------------------------------------------- 1 | !!!test: Extract a complex spine, duplicating it as well as adding a blank spine between the copies to preserve valid humdrum syntax. 2 | !!!command: extractx -s 2,0,2 %in > %out 3 | **a **b **c 4 | a b c 5 | a b c 6 | * *^ * 7 | a b1 b2 c 8 | a b1 b2 c 9 | a b1 b2 c 10 | * *v *v * 11 | a b c 12 | a b c 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/extractx/extractx-050.out: -------------------------------------------------------------------------------- 1 | !!!test: Extract co-spine information for the third spine of music. 2 | !!!command: extractx -s '3,$c' %in > %out 3 | **kern **serial 4 | *M4/4 * 5 | =1- =1- 6 | 4e 3 7 | . . 8 | 4e 10 9 | 4.e 14 10 | . . 11 | . . 12 | 8f# 20 13 | =2 =2 14 | 4g# 23 15 | 4a 27 16 | . . 17 | 4g#; 32 18 | 8aL 36 19 | 8g#J 39 20 | *- *- 21 | -------------------------------------------------------------------------------- /example/rscale/rscale-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Reduce the rhythmic values by 1/2 of their duration. 2 | !!!command: rscale -f 1/2 %in > %out 3 | **kern 4 | 00c 5 | 0d 6 | 1e 7 | 2f 8 | 4g 9 | 8a 10 | 16b 11 | 32cc 12 | 64dd 13 | 128ee 14 | 256ff 15 | 512gg 16 | 1024aa 17 | 2048bb 18 | 4096ccc 19 | 8192ddd 20 | 16384eee 21 | 32768fff 22 | *- 23 | !!!rscale: 1/2 24 | -------------------------------------------------------------------------------- /example/rscale/rscale-002.out: -------------------------------------------------------------------------------- 1 | !!!test: Increase rhythmic values to twice their original duration. 2 | !!!command: rscale -f 2 %in > %out 3 | **kern 4 | 1%16c 5 | 000d 6 | 00e 7 | 0f 8 | 1g 9 | 2a 10 | 4b 11 | 8cc 12 | 16dd 13 | 32ee 14 | 64ff 15 | 128gg 16 | 256aa 17 | 512bb 18 | 1024ccc 19 | 2048ddd 20 | 4096eee 21 | 8192fff 22 | *- 23 | !!!rscale: 2 24 | -------------------------------------------------------------------------------- /example/time2tempo/time2tempo-003.in: -------------------------------------------------------------------------------- 1 | !!!test: Converting millisecond data to tempo, with rounding of output tempo. 2 | !!!command: time2tempo -af %in > %out 3 | **kern **time 4 | * *u=msec 5 | *M3/4 * 6 | *MM144 * 7 | 4c 0 8 | 4d 417 9 | 4e 833 10 | = = 11 | 8d 1250 12 | 8f 1458 13 | 8.a 1667 14 | 16b 1979 15 | = = 16 | 2.cc 2083 17 | == == 18 | *- *- 19 | -------------------------------------------------------------------------------- /example/zscores/zscores-010.out: -------------------------------------------------------------------------------- 1 | !!!test: The original data can replace corresponding data from input. 2 | !!!command: zscores -S -f 3 %in --replace > %out 3 | **kern **numA **numB 4 | 4c 1 -1.54919 5 | 4d 2 -1.1619 6 | 4e 3 -0.774597 7 | 4f 4 -0.387298 8 | 4g 5 0 9 | 4a 6 0.387298 10 | 4b 7 0.774597 11 | 4cc 8 1.1619 12 | 4dd 9 1.54919 13 | *- *- *- 14 | -------------------------------------------------------------------------------- /example/barnum/barnum-001.out: -------------------------------------------------------------------------------- 1 | !!!test: Basic test adding measure numbers to **kern data. 2 | !!!command: barnum %in > %out 3 | **kern 4 | *k[f#] 5 | *M4/4 6 | *MM120 7 | =1- 8 | 4g 9 | 4a 10 | 4b 11 | 4cc 12 | =2 13 | 4dd 14 | 4ee 15 | 4ff# 16 | 4gg 17 | =3 18 | 4ff# 19 | 8ee 20 | 8dd 21 | 8cc 22 | 8b 23 | 8a 24 | 8g 25 | =4 26 | 2f# 27 | 2g 28 | == 29 | *- 30 | -------------------------------------------------------------------------------- /example/ridx/ridx-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all null local comments. 2 | !!!command: ridx -l %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | a1 8 | . 9 | ! local comment 10 | *^ 11 | a2 a3 12 | . . 13 | !x !y 14 | = = 15 | a4 . 16 | . a5 17 | ! !z 18 | * * 19 | *v *v 20 | a6 21 | * 22 | . 23 | = 24 | . 25 | *- 26 | !!!bib: bibliographic record 27 | -------------------------------------------------------------------------------- /example/ridx/ridx-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Remove all comments. 2 | !!!command: ridx -C %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | a1 8 | . 9 | ! local comment 10 | *^ 11 | a2 a3 12 | . . 13 | ! ! 14 | !x !y 15 | = = 16 | a4 . 17 | . a5 18 | ! !z 19 | * * 20 | *v *v 21 | a6 22 | * 23 | . 24 | = 25 | ! 26 | . 27 | *- 28 | !!!bib: bibliographic record 29 | -------------------------------------------------------------------------------- /example/transpose/transpose-008.out: -------------------------------------------------------------------------------- 1 | !!!test: Transpose up a major third using diatonic/chromatic binomial interval. 2 | !!!command: transpose -d 2 -c 4 %in > %out 3 | **kern **kern 4 | *Trd2c4 *Trd2c4 5 | *k[f#c#g#d#] *k[f#c#g#d#] 6 | *E: *E: 7 | 4e 4g# 8 | 4f# 4a 9 | 4g# 4b 10 | 4a 4cc# 11 | 4b 4dd# 12 | 4cc# 4ee 13 | 4dd# 4ff# 14 | 4ee 4gg# 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/transpose/transpose-012.in: -------------------------------------------------------------------------------- 1 | !!!test: Convert an instrumental written part without transposition information into concert pitch form. 2 | !!!command: transpose -I -s2 -b-6 %in > %out 3 | **kern **kern 4 | *Iflute *Iclars 5 | *k[] *k[f#c#] 6 | *C: *D: 7 | 4c 4d 8 | 4d 4e 9 | 4e 4f# 10 | 4f 4g 11 | 4g 4a 12 | 4a 4b 13 | 4b 4cc# 14 | 4cc 4dd 15 | *- *- 16 | -------------------------------------------------------------------------------- /example/zscores/zscores-002.out: -------------------------------------------------------------------------------- 1 | !!!test: By default, the first spine will be processed. Other spines can be selected with -f option. 2 | !!!command: zscores -f 2 %in > %out 3 | **numB 4 | !shift=50 5 | !scale=25.8199 6 | -1.54919 7 | -1.1619 8 | -0.774597 9 | -0.387298 10 | 0 11 | 0.387298 12 | 0.774597 13 | 1.1619 14 | 1.54919 15 | *- 16 | -------------------------------------------------------------------------------- /example/gettime/gettime-008.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the tempo of music when a ritard mark is present with no rounding. 2 | !!!command: gettime -atR %in > %out 3 | **kern 4 | *M4/4 5 | *MM120 6 | 4c 7 | 4c 8 | 4c 9 | 4c 10 | = 11 | *rit 12 | 4c 13 | 4c 14 | 4c 15 | 4c 16 | = 17 | 4c 18 | 4c 19 | 4c 20 | 4c 21 | = 22 | *MM60 23 | 4c 24 | 4c 25 | 4c 26 | 4c 27 | *- 28 | -------------------------------------------------------------------------------- /example/harm2kern/harm2kern-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Seventh chords and their inversions in C Major. 2 | !!!command: harm2kern %in > %out 3 | **kern 4 | *C: 5 | C e g b 6 | D f a cc 7 | E g b dd 8 | F a cc ee 9 | G b dd ff 10 | A cc ee gg 11 | B dd ff aa 12 | = 13 | C e g b 14 | d F a cc 15 | e g B dd 16 | f a cc E 17 | G b dd ff 18 | a C ee gg 19 | b dd F aa 20 | *- 21 | -------------------------------------------------------------------------------- /example/ridx/ridx-001.in: -------------------------------------------------------------------------------- 1 | !!!test: Remove all data records. 2 | !!!command: ridx -D %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | a1 8 | . 9 | ! local comment 10 | *^ 11 | a2 a3 12 | . . 13 | ! ! 14 | !x !y 15 | = = 16 | a4 . 17 | . a5 18 | ! !z 19 | * * 20 | *v *v 21 | a6 22 | * 23 | . 24 | = 25 | ! 26 | . 27 | *- 28 | !!!bib: bibliographic record 29 | -------------------------------------------------------------------------------- /example/ridx/ridx-004.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all null global comments. 2 | !!!command: ridx -g %in > %out 3 | !! global comment 4 | **a 5 | *bb 6 | a1 7 | . 8 | ! local comment 9 | *^ 10 | a2 a3 11 | . . 12 | ! ! 13 | !x !y 14 | = = 15 | a4 . 16 | . a5 17 | ! !z 18 | * * 19 | *v *v 20 | a6 21 | * 22 | . 23 | = 24 | ! 25 | . 26 | *- 27 | !!!bib: bibliographic record 28 | -------------------------------------------------------------------------------- /example/ridx/ridx-006.out: -------------------------------------------------------------------------------- 1 | !!!test: Remove all null interpretation records. 2 | !!!command: ridx -i %in > %out 3 | !! 4 | !! global comment 5 | **a 6 | *bb 7 | a1 8 | . 9 | ! local comment 10 | *^ 11 | a2 a3 12 | . . 13 | ! ! 14 | !x !y 15 | = = 16 | a4 . 17 | . a5 18 | ! !z 19 | *v *v 20 | a6 21 | . 22 | = 23 | ! 24 | . 25 | *- 26 | !!!bib: bibliographic record 27 | -------------------------------------------------------------------------------- /external/pcre-8.35/testdata/testinput23: -------------------------------------------------------------------------------- 1 | /-- Tests for the 16-bit library only */ 2 | 3 | < forbid 8W 4 | 5 | /-- Check maximum non-UTF character size --/ 6 | 7 | /\x{ffff}/ 8 | A\x{ffff}B 9 | 10 | /\x{10000}/ 11 | 12 | /\o{20000}/ 13 | 14 | /-- Check character ranges --/ 15 | 16 | /[\H]/BZSI 17 | 18 | /[\V]/BZSI 19 | 20 | /-- End of testinput23 --/ 21 | -------------------------------------------------------------------------------- /example/gettime/gettime-010.in: -------------------------------------------------------------------------------- 1 | !!!test: Measure the time of music when an accelerando mark is present with no rounding. 2 | !!!command: gettime -aR %in > %out 3 | **kern 4 | *M4/4 5 | *MM60 6 | 4c 7 | 4c 8 | 4c 9 | 4c 10 | = 11 | *accel 12 | 4c 13 | 4c 14 | 4c 15 | 4c 16 | = 17 | 4c 18 | 4c 19 | 4c 20 | 4c 21 | = 22 | *MM120 23 | 4c 24 | 4c 25 | 4c 26 | 4c 27 | *- 28 | --------------------------------------------------------------------------------