MAS is a sample player/live drum machine for Playdate.
Put your Playdate in Disc Mode (Settings > System) and add custom patches to /Disk/Data/orllewin.playdate.musikaussample/UserPatches. Custom patches must be in their own directory and include a config.json file. The samples array contains sample objects (see below), the array size must equal columns x rows.
{
"label": "Default Demo Patch",
"columns": 4,
"rows": 2,
"samples": [
...
]
}Example sample object:
{
"title": "011",
"path": "/Samples/Loops/100/Bonus Beat 08 (100BPM)",
"type": "sample",
"mode": "hit",
"image": "/Images/down",
"key": "down",
"volume": 0.75,
"rate": 1
}title: String. Not truncated so keep it shortpath: String, path to the sample within the .pda directory, or patchtype: String: see below.filetypes are streamed from disk. Usesamplefor anything but long audio files.mode: String, the initial mode, can be one ofhit,play,loop- see below for specs for eachimage: String optional - path to an image in the .pda directorykey: String optional - one ofleft,right,up,down,a,bvolume: Float optional - 0.0 to 1.0, default is 1.0rate: Float optional - playback rate in range 0.0 to 1.0, default is 1.0
empty- make the ui cell a spacer/placeholder, can still have text and/or an imagesample- stored in memory so use for drum hits and short loopsfile- audio streamed from disk, use for longer files and background musictransition- plays a file while loading in new player, see below
play- plays once, a second tap while playing stops, good for longer sampleshit- plays once, a second tap while playing restarts, good for drum hitsloop- loops forever, a second tap should stop playback
A transition is a special type that allows you to build up a full set with different sample sets/patches. When triggered an optional sample can be played once while the ui for the new patch is loaded, any other playing samples are stopped immediately, mode is ignored for this type.
{
"title": "011",
"path": "/UserPatches/set1/interlude",
"type": "transition",
"image": "/UserPatch/set1/transition_image",
"next": "/UserPatches/set2/"
}MAS can be controlled by an Android device connected via USB running Playdate Android Pads. This is an experimental feature and could break if Panic turn off the USB serial eval method in a future Playdate OS release.
thenounproject.com/coquet_adrien/
jellyfish.png, frequency.png, sine.png, rain_cloud.png, snow_cloud.png, censored.png, heartbeat.png, bomb.png, recycle.png, octopus.png, snail.png, happy_jellyfish1.png, happy_jellyfish2.png, coronavirus.png, joking.png, tease.png, laugh.png, concentrate.png, pirate.png, grasshopper.png, creature.png
The vast majority of audio samples come from MusicRadar: musicradar.com/news/tech/free-music-samples-royalty-free-loops-hits-and-multis-to-download
