Note: macOS users where you see Alt press Option / ⌥
| Action | Shortcut |
|---|---|
| Open search bar | Alt + F |
| Open bookmarks | Alt + B |
| /* | |
| MattsAudioHeader.h | |
| A single header #include to start experimenting with audio output in C++ | |
| Current Functionality | |
| - Sample rate fixed at 44100 | |
| - bit depth fixed at 16-bit | |
| - Channel config fixed to mono | |
| */ |
| BEGIN:VCALENDAR | |
| METHOD:PUBLISH | |
| VERSION:2.0 | |
| PRODID:Ted | |
| X-APPLE-CALENDAR-COLOR:#63DA38 | |
| X-WR-TIMEZONE:Europe/London | |
| CALSCALE:GREGORIAN | |
| BEGIN:VTIMEZONE | |
| TZID:Europe/London | |
| BEGIN:DAYLIGHT |
| NSDictionary* bleUUIDs = | |
| @{ | |
| @"service": | |
| @{ | |
| @"1800": @"Generic Access", | |
| @"1801": @"Generic Attribute", | |
| @"1802": @"Immediate Alert", | |
| @"1803": @"Link Loss", | |
| @"1804": @"Tx Power", | |
| @"1805": @"Current Time", |
| filename=$(basename $1 .png) | |
| for res in 1024 512 256 128 64 32 16 | |
| do | |
| convert $1 -resize "${res}x${res}" "${filename}-${res}.png" | |
| done |
| import struct | |
| import wave | |
| import os | |
| from math import sin, tau | |
| sample_rate = 44100.0 | |
| duration = 2.0 | |
| frequency = 440.0 | |
| num_samples = int(sample_rate * duration) | |
| bit_depth = 16 |