Skip to content

Instantly share code, notes, and snippets.

@pklaus
pklaus / play.pyaudio.py
Created July 11, 2014 09:00
Examples for playing audio files with different Python media libraries
#!/usr/bin/env python
"""
PyAudio Example: Play a wave file.
http://people.csail.mit.edu/hubert/pyaudio/
Mac OS X:
brew install portaudio
@nolanlawson
nolanlawson / index.html
Created October 12, 2014 13:41
Create an image/png blob, then fetch it with XHR
<html>
<body>
<h1>Create an image/png blob, then fetch it with XHR</h1>
<pre id="display"></pre>
<script src="index.js"></script>
</body>
</html>
@asus4
asus4 / lut_maker.py
Created April 3, 2016 11:43
Make LUT Texture
#!/usr/bin/env python
# coding: UTF-8
import cv2
import numpy as np
def make_lut256x16(exportPath):
''' 256 x 16 LUT '''
colors = []