-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
109 changed files
with
2,636 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Objective Caml source | ||
".*\\.ml[l]?" -> frame open:"(*" line:"*" close:"*)" | ||
# We add '_' in mli to comply with [ppx_js_style -check-doc-comments]. | ||
| ".*\\.mli" -> frame open:"(*_" line:"*" close:"*)" | ||
| ".*\\.fml[i]?" -> frame open:"(*" line:"*" close:"*)" | ||
| ".*\\.mly" -> frame open:"/*" line:"*" close:"*/" | ||
# C source | ||
| ".*\\.[chy]" -> frame open:"/*" line:"*" close:"*/" | ||
# Latex | ||
| ".*\\.tex" -> frame open:"%" line:"%" close:"%" | ||
# Misc | ||
| ".*Makefile.*" -> frame open:"#" line:"#" close:"#" | ||
| ".*README.*" -> frame open:"*" line:"*" close:"*" | ||
| ".*LICENSE.*" -> frame open:"*" line:"*" close:"*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Fingerboard - a microtonal geography of the cello fingerboard | ||
Copyright (C) 2022-2024 Mathieu Barbin <mathieu.barbin@gmail.com> | ||
|
||
This file is part of Fingerboard. | ||
|
||
Fingerboard is free software: you can redistribute it and/or modify it under | ||
the terms of the GNU Affero General Public License as published by the Free | ||
Software Foundation, either version 3 of the License, or any later version. | ||
|
||
Fingerboard is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License | ||
for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with Fingerboard. If not, see <https://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# License | ||
|
||
Fingerboard is released under the terms of the `AGPL-3.0-or-later` license. | ||
|
||
This notice file contains more details, as well as document the organization of files and headers that relate to licenses. | ||
|
||
## License, copyright & notices | ||
|
||
- **COPYING.HEADER** contains the copyright and license notices. It is added as a header to every file in the project. | ||
|
||
- **COPYING** contains a copy of the full [AGPL-3.0 license](https://www.gnu.org/licenses/agpl-3.0.txt) | ||
|
||
- **NOTICE.md** (this file) documents the project licensing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash -e | ||
|
||
dirs=( | ||
"src" | ||
"test" | ||
"systems/cello/e12" | ||
"systems/cello/e53" | ||
"systems/cello/e55" | ||
"systems/cello/just" | ||
"systems/cello/pythagorean" | ||
# add more directories here | ||
) | ||
|
||
for dir in "${dirs[@]}"; do | ||
# Apply headache to .ml files | ||
headache -c .headache.config -h COPYING.HEADER ${dir}/*.ml | ||
|
||
# Check if .mli files exist in the directory, if so apply headache | ||
if ls ${dir}/*.mli 1> /dev/null 2>&1; then | ||
headache -c .headache.config -h COPYING.HEADER ${dir}/*.mli | ||
fi | ||
done | ||
|
||
dune fmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
(*_*********************************************************************************) | ||
(*_ Fingerboard - a microtonal geography of the cello fingerboard *) | ||
(*_ Copyright (C) 2022-2024 Mathieu Barbin <mathieu.barbin@gmail.com> *) | ||
(*_ *) | ||
(*_ This file is part of Fingerboard. *) | ||
(*_ *) | ||
(*_ Fingerboard is free software: you can redistribute it and/or modify it under *) | ||
(*_ the terms of the GNU Affero General Public License as published by the Free *) | ||
(*_ Software Foundation, either version 3 of the License, or any later version. *) | ||
(*_ *) | ||
(*_ Fingerboard is distributed in the hope that it will be useful, but WITHOUT *) | ||
(*_ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *) | ||
(*_ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License *) | ||
(*_ for more details. *) | ||
(*_ *) | ||
(*_ You should have received a copy of the GNU Affero General Public License *) | ||
(*_ along with Fingerboard. If not, see <https://www.gnu.org/licenses/>. *) | ||
(*_*********************************************************************************) | ||
|
||
type t = float | ||
|
||
val to_string_nearest : t -> string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.