Skip to content

Commit

Permalink
added feat to inc/dec bmp by one using arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
indiebubbler committed Oct 28, 2021
1 parent 9271be2 commit b059f25
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Uses ReactJS and Tone.js (https://tonejs.github.io/) - amazing javascript sound

Contact: [email protected]

Changes in version 2.2.1:
- modified keyboard bindings, arrows up/down changes bpm by 1, shift+up/down changes bmp by 10

Changes in version 2.2:
- added file import/export of user's presets
- added ability to enter value for desired BPM and BPM range
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metro",
"version": "2.2.0",
"version": "2.2.1",
"homepage": ".",
"dependencies": {
"bootstrap": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class App extends Component {
<Row>
<Col>
<SimplePanel title={Tr("Keyboard controls")} className="about">
<div><code>{Tr("arrow up/down")}</code> - {Tr("higher/lower BPM")}</div>
<div><code>{Tr("(shift) arrow up/down")}</code> - {Tr("higher/lower BPM")}</div>
<div><code>{Tr("arrow left/right")}</code> - {Tr("previous/next step according to plan")}</div>
<div><code>space, s</code> - {Tr("start/stop")}</div>
<div><code>esc</code> - {Tr("stop")}</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/SoundLibrary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SoundLibrary {
use(idx, instrumentKey, file) {
const instrument = InstrumentsByKey[instrumentKey];

console.log('process', process)
// console.log('process', process)
this.players.add('player_' + idx, './audio/' + instrumentKey + '/' + file);// (player) => this.onLoad(player));

let player = this.players.get('player_' + idx);
Expand Down
2 changes: 1 addition & 1 deletion src/localization/pl-pl.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const pl = {
/* App */
"arrow up/down": "strzałki góra/dół",
"(shift) arrow up/down": "(shift) strzałki góra/dół",
"higher/lower BPM": "zwiększ/zmniejsz BPM",
"arrow left/right": "strzałki lewa/prawa",
"previous/next step according to plan": "poprzedni/następny krok wg planu",
Expand Down

0 comments on commit b059f25

Please sign in to comment.