Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
12 changes: 6 additions & 6 deletions editor/TipPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,12 @@ export class TipPrompt implements Prompt {
p("The range of the pitch shift bar goes from -1 octave [-12 semitones] at the very left side of the bar, and +1 octave [+12 semitones] at the very right. The very middle of the bar is the default pitch. If you want to change the key of more than one of your instruments at once, try song key!"),
);
} break;
case "detune": {
message = div(
h2("Detune"),
p("This setting slightly adjusts the frequency of notes played by the instrument. You can use a little bit to add a shifting sound similar to the \"unison\" setting when combined with other instruments. If you use too much, then the instrument may sound unpleasantly out-of-tune. This setting can also, when appiled to the grand majority of instruments, change the feel of your song, even if ever so slightly."),
);
} break;
// case "detune": {
// message = div(
// h2("Detune"),
// p("This setting slightly adjusts the frequency of notes played by the instrument. You can use a little bit to add a shifting sound similar to the \"unison\" setting when combined with other instruments. If you use too much, then the instrument may sound unpleasantly out-of-tune. This setting can also, when appiled to the grand majority of instruments, change the feel of your song, even if ever so slightly."),
// );
// } break;
case "wavefold": {
message = div(
h2("Wavefolding"),
Expand Down
24 changes: 24 additions & 0 deletions live_editor_typeless.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
set -e

# Defaults to opening index_debug.html in a browser, but that can be disabled
# by passing the argument --headless, like this:
# npm run live-editor-fast-typeless -- --headless
open_browser_path=/index_debug.html
for arg in "$@"; do
case "$arg" in
'--headless') open_browser_path=false;;
esac
done

# This is similar to live_editor.sh, but instead of compiling with tsc and
# bundling with rollup, this uses esbuild for both. It uses less resources and
# is faster. However, this doesn't check type safety at all! Also, the generated
# JS output has some slight differences, so check the other build strategies
# before publishing updates.
npx concurrently \
"npx esbuild --format=iife --keep-names --global-name=beepbox --bundle ./synth/synth.js --outfile=website/beepbox_synth.js --sourcemap --watch" \
"npx esbuild --format=iife --keep-names --global-name=beepbox --bundle ./player/main.js --outfile=website/player/beepbox_player.min.js --sourcemap --watch" \
"npx esbuild --format=iife --keep-names --global-name=beepbox --bundle ./recovery_player/main.js --outfile=website/recovery_player/beepbox_recovery_player.min.js --sourcemap --watch" \
"npx esbuild --format=iife --keep-names --global-name=beepbox --bundle ./editor/main.js --outfile=website/beepbox_editor.js --sourcemap --watch" \
"npx five-server --wait=200 --watch=website --port=4100 --open=$open_browser_path website/"
Loading