Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCallis committed Dec 29, 2020
0 parents commit 05ce943
Show file tree
Hide file tree
Showing 52 changed files with 12,208 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.nyc_output
coverage
73 changes: 73 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"extends": [
"airbnb",
"plugin:ava/recommended",
"plugin:node/recommended",
"plugin:optimize-regex/all",
"plugin:ramda/recommended",
"plugin:security/recommended",
"plugin:unicorn/recommended"
],
"plugins": [
"ava",
"jsdoc",
"no-inferred-method-name",
"node",
"optimize-regex",
"ramda",
"security",
"unicorn",
"xss"
],
"env": {
"es6": true,
"browser": true,
"mocha": true
},
"globals": {
"sinon": false,
"mocha": true,
"expect": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": ["**/*.test.js", "**/test/**/*.js"],
"optionalDependencies": true,
"peerDependencies": false
}
],
"ava/no-only-test": 0,
"camelcase": 0,
"class-methods-use-this": 0,
"consistent-return": ["warn", { "treatUndefinedAsUnspecified": false }],
"global-require": 0,
"import/no-dynamic-require": 0,
"max-classes-per-file": 0,
"max-len": 0,
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-inferred-method-name/no-inferred-method-name": "error",
"no-param-reassign": 0,
"no-plusplus": 0,
"no-restricted-syntax": 0,
"no-underscore-dangle": 0,
"no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_", "caughtErrors": "none" }],
"node/no-unpublished-require": 0,
"object-curly-newline": 0,
"optimize-regex/optimize-regex": "warn",
"security/detect-non-literal-fs-filename": 0,
"security/detect-non-literal-require": 0,
"security/detect-object-injection": 0,
"unicorn/catch-error-name": 0,
"unicorn/filename-case": 0,
"unicorn/no-for-loop": 0,
"unicorn/no-fn-reference-in-iterator": 0,
"unicorn/no-null": 0,
"unicorn/no-reduce": 0,
"unicorn/no-useless-undefined": 0,
"unicorn/prevent-abbreviations": 0
}
}
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "13:00"
open-pull-requests-limit: 99
versioning-strategy: increase
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
.DS_Store

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

# 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 (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

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

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://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

# Electron Builds
dist/
Empty file added .nojekyll
Empty file.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.15.3
23 changes: 23 additions & 0 deletions .tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"test/**/*.js"
],
"compilerOptions": {
"allowJs": true,
"checkJs": false,
"declaration": true,
"emitDeclarationOnly": true,
"extendedDiagnostics": true,
"moduleResolution": "node",
"noEmit": false,
"outFile": "types/index.d.ts",
"removeComments": true,
"strict": false,
"target": "esnext",
"skipLibCheck": true
}
}
Binary file added Art/SP404SX.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Art/Super Pads Icon.psd
Binary file not shown.
1 change: 1 addition & 0 deletions Art/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Art/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2020 Matthew Callis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
52 changes: 52 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Super Pads / スーパーパッド

![Super Pads](https://raw.githubusercontent.com/MatthewCallis/super-pads/master/example.png)

Super Pads helps manage samples on a SP-404SX. Open the app, select a SD Card root directory and adjust parameters and drag and drop files to be converted to wave with [FFmpeg](https://ffmpeg.org/) behind the scenes.

Makes use of two libraries I wrote to play with my own SP-404SX, [uttori-audio-padinfo](https://github.com/uttori/uttori-audio-padinfo) for parsing and writing the `PAD_INFO.BIN` file and [uttori-audio-wave](https://github.com/uttori/uttori-audio-wave) for adding the `RLND` header to the Wave files out of FFmpeg, and an Electron wrapper to make it easier to use.

_Note:_ I do not have an OG SP-404 or SP-404A but this could easily support those if someone is willing to help debug issues.

If you would like to suggest something or have found an issue please file a bug or message me on Twitter [@superfamicom](https://twitter.com/superfamicom).

If you would like to support development, listen to my songs, follow me, or playlist my songs 😏

- [Spotify](https://open.spotify.com/artist/0FYTwSXr4Q7Ujml4wW7Y97)
- [SoundCloud](https://soundcloud.com/superfamicom)
- [Bandcamp](https://matthewcallis.bandcamp.com/)
- [Audius](https://audius.co/superfamicom)

## Roadmap

Features I have planned to work on as time permits and there are others using the app. Roughly in order:

- Copy & Paste between pads to move one pad to another or copy one pad to another.
- Investigate alternatives to Electron like [Tauri](https://github.com/tauri-apps/tauri).
- Saved Sets for easier and fast switching of arrangements.
- Preview sounds.

## Change Log

## [1.0.0](https://github.com/MatthewCallis/super-pads) - 2020-12-27

- 🧰 Released

## Contributors

- [Matthew Callis](https://github.com/MatthewCallis)

## Thanks

- [Paul Battley](https://github.com/threedaymonk) - His [Roland SP-404SX sample file format](https://gist.github.com/threedaymonk/701ca30e5d363caa288986ad972ab3e0) was a huge help.
- [Colin Espinas](https://codepen.io/Call_in/pen/pMYGbZ) - Weather App Design was the original basis for the app layout and made me think of making the app.
- [Himalaya Singh](https://codepen.io/himalayasingh/pen/EdVzNL) - The beautiful switches you see in the app.
- [Envato Tuts+](https://codepen.io/tutsplus/details/WROvdG) -The simple and effective tooltips.
- [David A.](https://codepen.io/meodai/pen/jVpwbP) - The trippy perin loading screen.
- [alphardex](https://codepen.io/alphardex) - The rainbow drop area background.

![Super Pads Loading Screen](https://raw.githubusercontent.com/MatthewCallis/super-pads/master/loading.png)

## License

- [MIT](LICENSE)
8 changes: 8 additions & 0 deletions build-resources/entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>
Binary file added build-resources/icons/icon.icns
Binary file not shown.
Binary file added build-resources/icons/icon.ico
Binary file not shown.
Binary file added build-resources/icons/png/1024x1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build-resources/icons/png/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/montserrat-bold-webfont.eot
Binary file not shown.
Loading

0 comments on commit 05ce943

Please sign in to comment.