This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGET := out.exe | |
SRC := main.cpp | |
# INCLUDE = -ID:/Libraries/portaudio/include | |
# LIBS = -LD:/Libraries/portaudio/build | |
# LIBS += -lportaudio | |
CXX := g++ | |
FLAGS := -pthread -Wall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ringbuffer.h" | |
#include "stdlib.h" | |
size_t rb_push(RingBuffer* r, short* data, size_t num){ | |
size_t written = 0; | |
while((r->head+1) % r->size != r->tail && written != num){ | |
r->buffer[r->head] = *data++; | |
r->head = (r->head+1) % r->size; | |
written++; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright (c) 1997-1999 Miller Puckette. | |
* For information on usage and redistribution, and for a DISCLAIMER OF ALL | |
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ | |
/* scheduling stuff */ | |
#include "m_pd.h" | |
#include "m_imp.h" | |
#include "s_stuff.h" | |
#ifdef _WIN32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem webpage downloader: wget and sed for windows required | |
wget -k -E --default-page=webdl.html %1 | |
setlocal enableDelayedExpansion | |
if exist webdl.html ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGET = out | |
SRC = main.cpp | |
SRC2 = D:/Libraries/glad/src | |
SRC += $(SRC2)/glad.c | |
INCLUDE = -I D:/Libraries/glad/include | |
INCLUDE += -I D:/Libraries/glfw/include | |
LIBS = -L D:/Libraries/glfw/lib-mingw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from sklearn.datasets import load_digits | |
from sklearn.linear_model import LogisticRegression | |
digits = load_digits() | |
fig, ax = plt.subplots(2, 5) | |
plt.gray() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
figure out glslviewer | |
try jucetestbed | |
finish SAR | |
test glsl primitive shapes/colors shaders | |
comtinue learnopegl glm/camera/lighting/buffers | |
test ffmpeg filtering | |
learn pd object api, make pd object | |
make value/perlin object | |
revisit soundlib, try c sruct based interface, compare to juce/stk, naysaer | |
soudlib subpatch compiler/scheduler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#N canvas 721 331 450 300 10; | |
#N canvas 114 82 474 324 bandanalysis 0; | |
#X obj 198 130 bp~; | |
#X obj 197 168 bp~; | |
#X obj 155 92 inlet~; | |
#X obj 217 74 inlet; | |
#X obj 199 192 env~ 1024; | |
#X obj 198 245 line~; | |
#X obj 197 272 outlet~; | |
#X obj 234 109 r q; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
; SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; #NoTrayIcon | |
#Persistent | |
Menu, Tray, Tip ,alt-l nightlight`nctl-alt-b hidebar`nctl-alt-up winontop |
OlderNewer