Code Monkey home page Code Monkey logo

po-33's Introduction

PO-33

A drum sample loader for my Pocket Operator K.O.

Usage

Drag and drop an audio file onto a pad. Click to play the sample. Once you've loaded a few, plug in your K.O. and click “Play all” to record the samples into a drum bank.

Adding multiple samples at the same time

You can drag in multiple files at the same time. The first sample is assigned to whichever pad you dragged to. The rest of the files fill subsequent pads. Anything after Pad 16 gets cut off.

Listening to samples

By default, samples will play once when you load them. To listen to them again, click the corresponding pad.

If you want to try your setup before loading it to the K.O., the following keyboard shortcuts map to pads:

1 2 3 4
Q W E R
A S D F
Z X C V

Reordering / deleting samples

You can reorder samples by dragging them. If you drag a sample out of the container, it's deleted.

Settings

Click the nut icon in the top right to access a settings panel.

  • Speed: Control the playback rate of samples. A value of 2 will play at double speed. 0.5 will play at half speed. Expects a number > 0.
    • Note: This is useful for preserving device memory. Set speed=2 and pitch-shift the sample down by an octave on the K.O. to fit twice as much data.
  • Max sample length (ms): Cuts off samples after a specified maximum duration, in milliseconds. Useful for kick and crash samples that just. never. end.
  • Gap between samples (ms): If your K.O. is having trouble auto-slicing each drum sample, increasing the milliseconds between sample playback might help. Defaults to no gap, since I tend to trim it manually anyway.
  • Pad names: I try to keep a specific layout with my kits, but you probably have a different style! You can tweak the text on each pad from 1–16, separated by dashes.

Default settings

If you want to start the sampler with different settings, bookmark the link generated on the settings pane. For example, the following URL:

https://rileyjshaw.com/po-33/?speed=2&maxMs=2000&gapMs=20&padNames=1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16

…will start you off at 2x speed, with a max duration of 2s, a gap of 20s, and pads renamed to their numbers.

File types

This works with whatever file types your browser supports. It should work well with .wav, .mp3, .ogg, etc.

To do

v1 (now released 🎉)

  • Reorder samples done
  • Delete sample done
  • Keyboard control done
  • Show total sample time done
  • Configurable maximum sample length limit done
  • Configurable gap between samples done
  • Configurable speed / pitch control (eg. save memory by playing samples at 2x speed and slowing them down on the device) done
  • Remove the URL search params, add a settings menu done
  • Upload files on click done

Future, maybe?

  • Default sounds (808?)
  • Other tools than just drums?

FAQ

Does this upload my samples somewhere?

No! This app works 100% locally, so your private samples remain private.

Will this make sure the samples get trimmed to pads?

Increasing the milliseconds between sample playback from the settings page might help.

See also

License

GNU GPLv3

po-33's People

Contributors

rileyjshaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

po-33's Issues

App hangs when dragging and dropping too much

It seems the drag and drop functionality hangs up at some point, when used to extensivley.

Also the sound you want to pull out to be delete does not get deleted but another one instead.

Here's an image of the app hanging
image

Order of "Play All" is messed up, after drag and drop

Hey there,

thank you for your awesome utility tool.

It seems that it messes up the order of playing the samples when pressing "play all" after changing the order via drag and drop on the phone (tested on chrome mobile)

EDIT: Also happens on Chrome on Windows 10 (Version 87.0.4280.88 (64-Bit))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.