Skip to content

Instantly share code, notes, and snippets.

View dotherightthing's full-sized avatar

Dan Smith dotherightthing

  • Do The Right Thing
  • Wellington, New Zealand
View GitHub Profile
@dotherightthing
dotherightthing / symlink-vs-alias.md
Last active May 10, 2023 21:57
[Symlink vs Alias] Symlinks and Aliases both display as a folder with a redirect arrow. But there are key differences in the way that they behave. #macos #terminal
@dotherightthing
dotherightthing / exporting-korg-gadget-to-ableton-live-with-samples.md
Last active April 20, 2023 06:07
[Exporting Korg Gadget (iPad) to Ableton Live (MacOS) - with samples!] #ipados #macos #music #panoramica

Exporting Korg Gadget (iPad) to Ableton Live (MacOS) - with samples!

Korg Gadget is a great tool for jamming ideas within a touch environment, with mixer automation and a capable sequencer. Its samplers, Bilbao and Vancouver, fall far short of the standard set by Beatmaker 3, particularly where sample length is concerned, but the app is far more mature and stable, meaning less lost work and stress!

As I prefer to edit tracks in Ableton Live, I purchased the KORG Gadget 2 Plugins for Mac/PC for USD 199 (NZD 318). This allows me to export a Gadget set in Ableton Live format, so I can continue developing my musical ideas within a more familiar DAW.

Unfortunately, there's a major hole in Gadget's export functionality - samples are not exported with the project! I find this suprising given the cost of the KORG Gadget 2 Plugins for Mac/PC, and my use case for them.

The steps below are my approach to saving samples w

@dotherightthing
dotherightthing / README.md
Last active March 22, 2023 17:57
ClyphX Pro: match state of controller LED to state in Ableton Live

SelectedTrackLedStates.py

This file has moved to:

@dotherightthing
dotherightthing / etrex20.md
Created February 27, 2023 18:16
Garmin e-trex 20 setup 2023

Garmin e-trex 20 setup 2023

Create an Explore account

Garmin Basecamp is no longer supported.

Create an account on https://explore.garmin.com/ instead.

Tutorials

@dotherightthing
dotherightthing / slice-long-audio-sample.md
Last active February 21, 2023 07:00
Slice Found Sound samples in Ableton Live

Slice a long audio sample

  1. Load a sample into Simpler
    1. Open Ableton Live, turn on Push2
    2. Add Track > MIDI track > Collections > Favourites > _Found Sound > (Select a sample) > Load
  2. Choose a colour that's visible on Push2's screen
    1. Shift + (Track Name)
  3. Save the set in the SAMPLE CHOPPING folder
  4. Slice the sample
  5. MODE > Slicing

Old tour to TrackMyTour

  1. Open Dropbox on iPad
  2. Browse to a tour day
  3. Tap the tick icon at top right of left hand pane
  4. Tap to check each of the images
  5. Choose share (?)
  6. Save Images
  7. Use Google and RideWithGPS to find image locations
  8. Use Hashphotos to geotag images

TrackMyTour to MapOut

TrackMyTour

  1. On-demand manual addition of waypoints during or after a ride (current location / hand picked location / photo geotags)
  2. Basic diary features (text/emoji, status icons) which supports some Markdown
  3. Data can be exported as KML or CSV, including links to original photo uploads (geotags are stripped but could be re-embedded)
  4. Offline map option

MapOut

RideWithGPS to lat/long and timestamp

  1. Open route in RWGPS web app, remember to get the Ride (ridden) not the Route (planned)
  2. More > Export as file > GPX
  3. If you have the Basic membership (USD 7.99/month, cancel when no longer requiring this feature as account and maps are retained) you can also export POIs you've added. For me it also seemed to export the whole route rather than just the segment to the nearest town
  4. Open in Google Earth (macOS)
  5. Places > Open the latest "GPS device" (at the bottom of the list)
  6. Tracks item > Uncheck arrow icon
  7. Points set > Leave as is
  8. Preferences > Navigation > Check "Do not automatically til while zooming" > OK
@dotherightthing
dotherightthing / decompile-pyc.sh
Created September 22, 2022 04:12
Decompile .pyc files in a directory and any sub-directores
pip install uncompyle6
find . -name "*.pyc" -exec bash -c 'uncompyle6 $1 > $1.py' _ {} \;
@dotherightthing
dotherightthing / maschine-mk1-macos-10-15-7.md
Last active May 11, 2022 17:51
Setup instructions for the Maschine Mk1 controller with Maschine 2 on macOS Catalina 10.15.7

Setup instructions for the Maschine Mk1 controller with Maschine 2 on macOS Catalina 10.15.7

Background

I wanted to open my old Maschine projects created prior to travel in 2015. I picked up a second hand Maschine Mk1 for a good price.

There are compatability issues between Maschine Mk1 and macOS Catalina 10.15.7

Onboarding