This commit is contained in:
mtkennerly 2019-07-16 04:55:29 -04:00
parent 434ef7a36a
commit 359b56ad62
5 changed files with 18 additions and 18 deletions

@ -1,6 +1,6 @@
# Bosca Coeil JS
# Bosca Ceoil JS
This project is an HTML/CSS/JavaScript (TypeScript) rewrite of
[Bosca Coeil](https://github.com/TerryCavanagh/boscaceoil) using samples
[Bosca Ceoil](https://github.com/TerryCavanagh/boscaceoil) using samples
of the preset instruments from [SiON](https://github.com/keim/SiON)
(rather than a port of SiON itself).
@ -10,7 +10,7 @@ It is still a prototype, so significant functionality is missing.
This was how the SiON samples were recorded:
* 100% system volume.
* Create a Bosca Coeil song with 18 patterns, where every even pattern
* Create a Bosca Ceoil song with 18 patterns, where every even pattern
is blank. Every odd pattern is a single, full-measure note, starting
from C1 and going up to C9.
* Record the song in Audacity and use the Sound Finder function to split

@ -1,18 +1,18 @@
<html>
<head>
<script src="/bosca-coeil-js/assets/index.js"></script>
<script src="/bosca-ceoil-js/assets/index.js"></script>
<link rel="stylesheet" href="/bosca-coeil-js/assets/md-icons.css">
<link rel="stylesheet" href="/bosca-coeil-js/assets/material.indigo-pink.min.css">
<script defer src="/bosca-coeil-js/assets/material.min.js"></script>
<link rel="stylesheet" href="/bosca-ceoil-js/assets/md-icons.css">
<link rel="stylesheet" href="/bosca-ceoil-js/assets/material.indigo-pink.min.css">
<script defer src="/bosca-ceoil-js/assets/material.min.js"></script>
<link rel="stylesheet" href="/bosca-coeil-js/assets/mdl-selectfield.min.css">
<script defer src="/bosca-coeil-js/assets/mdl-selectfield.min.js"></script>
<link rel="stylesheet" href="/bosca-ceoil-js/assets/mdl-selectfield.min.css">
<script defer src="/bosca-ceoil-js/assets/mdl-selectfield.min.js"></script>
<link rel="stylesheet" href="/bosca-coeil-js/assets/dialog-polyfill.min.css">
<link rel="stylesheet" href="/bosca-ceoil-js/assets/dialog-polyfill.min.css">
<link rel="stylesheet" href="/bosca-coeil-js/index.css">
<link rel="stylesheet" href="/bosca-ceoil-js/index.css">
</head>
<body>

2
package-lock.json generated

@ -1,5 +1,5 @@
{
"name": "bosca-coeil-js",
"name": "bosca-ceoil-js",
"version": "0.1.0",
"lockfileVersion": 1,
"requires": true,

@ -1,5 +1,5 @@
{
"name": "bosca-coeil-js",
"name": "bosca-ceoil-js",
"version": "0.1.0",
"description": "TypeScript port of SiON",
"main": "out/index.js",
@ -8,7 +8,7 @@
"compile": "tsc -p ./",
"deploy": "node task-deploy.js",
"dev": "concurrently npm:watch npm:webpack-dev npm:serve",
"serve": "ws --rewrite \"/bosca-coeil-js/(.*) -> /$1\"",
"serve": "ws --rewrite \"/bosca-ceoil-js/(.*) -> /$1\"",
"start": "node out/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "tsc -watch -p ./",
@ -17,14 +17,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/mtkennerly/bosca-coeil-js.git"
"url": "git+https://github.com/mtkennerly/bosca-ceoil-js.git"
},
"author": "Matthew T. Kennerly",
"license": "MIT",
"bugs": {
"url": "https://github.com/mtkennerly/bosca-coeil-js/issues"
"url": "https://github.com/mtkennerly/bosca-ceoil-js/issues"
},
"homepage": "https://github.com/mtkennerly/bosca-coeil-js#readme",
"homepage": "https://github.com/mtkennerly/bosca-ceoil-js#readme",
"dependencies": {
"dialog-polyfill": "^0.5.0",
"tone": "^13.4.9"

@ -5,7 +5,7 @@ const notes = ["C1", "C2", "C3", "C4", "C5", "C6", "C7", "C8", "C9"];
export function getSampler(
instrument: string,
extension: string = "flac",
baseUrl: string = "/bosca-coeil-js/audio/"
baseUrl: string = "/bosca-ceoil-js/audio/"
): tone.Sampler {
let samples: { [key: string]: string } = {};
for (const note of notes) {