This article describes how to record audio using the Web Audio API in JavaScript. The related resources are shown below.
import uuid | |
from datetime import datetime | |
import boto3 | |
from django.conf import settings | |
from mypy_boto3_s3 import S3Client | |
from rest_framework import serializers | |
from rest_framework.response import Response | |
from myproject.models import ProfilePhoto |
SuperDirt.start // start server
Server.killAll // kill server
Quarks.gui // open samples folder
// set inputs & outputs // you will need to kill the server and restart when changing the input / output
// list all devices:
#! /bin/bash | |
# Simple Utility Script for allowing debug of hardened macOS apps. | |
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off. | |
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg | |
app_path=$1 | |
if [ -z "$app_path" ]; | |
then | |
echo "You need to specify app to re-codesign!" | |
exit 0 |
# MIT License | |
# | |
# Copyright (c) 2019 Cristian Adam | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't really have SREs and they make engineers pretty much do everything,
#! /bin/bash | |
# Simple Utility Script for allowing debug of hardened macOS apps. | |
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off. | |
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg | |
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers. | |
# | |
# Please note: | |
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP. | |
# - Some hosts uses separate plug-in scanning or sandboxing. | |
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead. |
#apcPROG.rb | |
#Sonic Pi 3 automated parameter control for fx calls controlled by TouchOSC | |
#inspired by Martin Butz. Code developed by Robin Newman, November 2018 | |
#programatically controlled fadeing of fx opt levels | |
use_random_seed 886543 | |
#setup some starting values | |
set :kill,false | |
set :finishTime,120 #duration set for the piece | |
#start values for next input AFTER the initial fade of the 5 fx used |
#fxControlDemo.rb | |
#This program demonstrates the control of fx parameters to give smooth fades | |
#in their effects. Prompted by a thread https://in-thread.sonic-pi.net/t/smooth-parameter-automation/1626 | |
#started by Martin Butz | |
#Martin Butz's original fade function renamed, and simplified | |
#for only two fade types fade and wave | |
#fade up or down is selected automatically from the relation# | |
#between start and finish values | |
define :fadeSteps do |start, finish, len, type| |
# FFMPEG example of Blocking Mode Audio I/O https://people.csail.mit.edu/hubert/pyaudio/docs/ | |
"""PyAudio Example: Play a wave file.""" | |
import pyaudio | |
import wave | |
import sys | |
import subprocess | |
CHUNK = 1024 |