Skip to content

Instantly share code, notes, and snippets.

View crashingbooth's full-sized avatar

Jeff Holtzkener crashingbooth

  • Toronto, Canada
View GitHub Profile
@mbigatti
mbigatti / UIColor+RGB.swift
Last active February 14, 2021 07:22
UIColor extension that add a whole bunch of utility functions.
//
// UIColor+RGB.swift
// Copyright (c) 2014 Massimiliano Bigatti. All rights reserved.
//
import Foundation
import UIKit
/**
UIColor extension that add a whole bunch of utility functions like:
@Pash237
Pash237 / CreateMIDI.swift
Last active December 30, 2019 10:08
Creating MIDI file with AudioKit's AKSequencer
let sequencer = AKSequencer()
let track = sequencer.newTrack()
sequencer.setLength(AKDuration(seconds: 2.0))
track?.add(noteNumber: MIDINoteNumber(60),
velocity: MIDIVelocity(100),
position: AKDuration(seconds: 1, tempo: 120),
duration: AKDuration(seconds: 0.5, tempo: 120))
try! sequencer.genData()!.write(to: url)
@cemolcay
cemolcay / ABLLinkManager.swift
Last active December 2, 2018 21:42
Swift 4.0 port for LinkKit iOS of Ableton Link
//
// ABLLinkManager.swift
//
// Created by Cem Olcay on 5.03.2018.
// Copyright © 2018 cemolcay. All rights reserved.
//
import Foundation
import AVFoundation
@mxactvtd
mxactvtd / TidalCyclesQuickReferenceStub.tidal
Last active March 8, 2024 21:19
TidalCycles Quick Reference compiled and partially rewritten documentation from various sources
---- TidalCycles QUICK REFERENCE ----
----------------------------------------------------------------
-- To use in your editor after or alongside your code for quick reference
-- Work in progress, mostly to be used as basis for further documnentation work, sorry for the errors and omissions
-- designed with atom - monokai one dark vivid as theme
-- https://gist.github.com/mxactvtd/bf3fb357a419c7f063b98dfd9a66cf78 - check for update, I keep updating this quite often atm
----------------------------------------------------------------
-- Some sources of Documentation --
-- https://tidalcycles.org/patterns.html
-- https://tidalcycles.org/functions.html