Skip to content

Commit

Permalink
Prototyping (#3)
Browse files Browse the repository at this point in the history
* Add mock mid files for testing

* Implement new M4L device, `mpe player`

* Modify folder structure

* Minor changes

- Add comments
- - Button's purpose
- - Type annotations for interface
- Update dependency path
- Remove a mock which does not work

* Implement new M4L device `vst_loader`

* Modify mpe_player device

- Send midi flush when seq comes to its end
- Add `led` to indicate output

* Modify `vst_loader` device

- Add `live.gain` to indicate and control the output

* Implement new M4L device, `poly_oscillator`

* Remove some mock MPEs which do not work

* Implement new M4L device, `hello_world`

- Start server with `node.script` object
- UI in `jweb` object
- Floating window

* Reorganize test folder

- Clean up structure
- Add audio assets

* Minor change

Add comment

* Remove hello_world device

* Enhancement

- Update README
- .gitignore
- - Generate .gitignore with gibo
- Add npm scripts

* Implement new M4L device,  `mpe_out`

* Modify build configuration

* Fix issue about sending 2 byte midi message

* Refactor

- remove App class
- remove duplicate initialization

* Rename common maxpat

- from `distributer` to `send_mpe`
- from `receiver` to `receive_mpe`

* fix issue about `rm-cache.js`
- resolving `rimraf` module

* Enable `mpe_out` device to receive midi
from preceding mpe device
  • Loading branch information
szk2s authored May 28, 2019
1 parent 6fae7df commit 3027bc3
Show file tree
Hide file tree
Showing 48 changed files with 3,152 additions and 1 deletion.
90 changes: 90 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
config.json

### https://raw.github.com/github/gitignore/7eef17f37c63ce3cbddbdd154ff836f370d0ad70/Node.gitignore

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/


33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
# spectral-lab
# m4l-mpe-tools

## Project Docs
See [HERE!](https://scrapbox.io/frontier-of-music/Project_Starling_Docs_Main_Page)

## Development
### Project setup
```
yarn
```
### Build M4L devices
See [here](https://scrapbox.io/frontier-of-music/WIP:_How_to_build_M4L_devices).

### Remove all caches
Max automatically generates various cache files, which causes unwanted side effects.
To remove them, take the following step.

1. Make `config.json` file at root, and set the `cacheDirs` property as Array.
`config.json` will look like below.
```json
{
"cacheDirs": [
"/Users/UserName/Library/Application Support/Cycling '74/Max 8/Settings/temp64-live/mxt",
"/Users/UserName/Documents/Max 8/Max for Live Devices",
"/Users/UserName/.Trash",
]
}
```
2. Run script
```
yarn run rm-cache
```
Loading

0 comments on commit 3027bc3

Please sign in to comment.