update README.md

This commit is contained in:
[poww10s]
2020-09-11 02:38:44 -04:00
parent a699d69e0c
commit 19d907f14a
3 changed files with 28 additions and 107 deletions
+2 -1
View File
@@ -21,4 +21,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
debug.log
debug.log
React_README.md
+11 -64
View File
@@ -1,68 +1,15 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
# Alapatch
## Available Scripts
Alapatch is a Patch Editor for the KORG microKorg Synthesizer, that allows you to design patches in a web editor with an easy to use GUI.
In the project directory, you can run:
Alapatch currently only supports loading and saving patch files in the .SYSEX format used internally in the microKORG, however future support for the .plg format may be a possibility. (because it needs to be reverse engineered still.)
### `npm start`
# Development Status
Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br />
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
### Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
### Making a Progressive Web App
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
### Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
### Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
### `npm run build` fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
- [x] Sysex File Loading
- [x] Binary Parsing to Object
- [ ] Object to Binary Serialising (In Progress, Current Focus)
- [x] UI Design
- [ ] UI Implementation (In Progress)
- [ ] Editor Implementation (In Progress)
- [ ] Send Sysex to Machine via Midi Message (In Progress)
+15 -42
View File
@@ -158,39 +158,15 @@ function parse(binary) {
.nest("timbre2", { type: timbre })
.seek(56);
// make a vocoder timbre instead of ignoring it LMAO
console.log(parser.parse(unpaddedBinary));
// do stuff with the parsed object
}
function PatchEditor() {
const defaultPatch = {
name: "",
arpeggio: { length: 8, pattern: [0, 0, 0, 0, 0, 0, 0, 0] },
arpeggio2: {
tempo: 20,
seq: 0,
on: false,
latch: false,
target: 0,
keySync: false,
type: 0, // 0 - 5
range: 0, // 0 - 4
gate: 0, // 0 - 100
resolution: 0,
swing: 0,
},
voiceMode: 0,
scaleKey: 0, // C
scaleType: 0, // Equal Temperment
delayFX: { sync: false, timeBase: 5, delayTime: 0, depth: 0, type: 0 },
modFX: { lfoSpeed: 0, depth: 0, type: 0 },
eq: { hiFreq: 0, hiGain: 0, lowFreq: 0, lowGain: 0 },
octave: 0, // this is a 7 bit number so -1 is 127 and -3 is 125
synthParameter1: {}, // only use this one in single voice mode
synthParameter2: {}, // use this and the previous in multi voice mode
synthParameter3: {}, // this is for vocoder mode
};
const [patch, setPatch] = useState(defaultPatch);
const [patch, setPatch] = useState();
return (
<div>
@@ -204,19 +180,16 @@ function PatchEditor() {
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<div>
<PatchEditor />
</div>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer">
Learn React
</a>
</header>
<div>
<PatchEditor />
</div>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer">
Learn React
</a>
</div>
);
}