Skip to content

Instantly share code, notes, and snippets.

View gwio's full-sized avatar

Christian Gwiozda gwio

View GitHub Profile
@gwio
gwio / disco-diffusion-v5-6-portrait-costum.ipynb
Created September 22, 2022 22:49
disco-diffusion-v5-6-portrait-costum.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Some general ignore patterns
build/
obj/
*.o
Debug*/
Release*/
*.mode*
*.app/
*.pyc
.svn/
@gwio
gwio / SoundOutputStream.h
Created January 22, 2019 22:33
OF_AudioBus_Link_Template 2019
//
// SoundOutputStream.h
// Created by Lukasz Karluk on 13/06/13.
// http://julapy.com/blog
//
#pragma once
#import "SoundStream.h"
#import "ABLLink.h"
@gwio
gwio / ofApp.cpp
Created May 13, 2018 20:21
Smooth line drawing, glsl, shader, openframeworks, sketch
/* I draw the lines as one big vboMesh, each line has 2 polygons, they are constructed from the same vertex position and
and extruded later in the vertex shader */
lineMesh.addVertex(lineStart);
lineMesh.addVertex(lineEnd);
lineMesh.addVertex(lineEnd);
lineMesh.addVertex(lineStart);
//... lineMesh.addIndex(..)... adding the index order
#include "polyMap.h"
//2.15
#define LINE_SIMPLIFY 3.55
#define CV_BLUR 3
PolyMap::PolyMap() {
}
void PolyMap::loadMap(ofImage& terrain_, int steps_) {
//
// SoundOutputStream.h
// Created by Lukasz Karluk on 13/06/13.
// http://julapy.com/blog
//
#pragma once
#import "SoundStream.h"
#import "ABLLink.h"
@gwio
gwio / gc_manual.md
Last active November 29, 2016 13:49
Grid Composer App, short manual

Grid Composer (Beta) - Short Reference

This app is a kind of musical toy to explore and play around with harmonies and rhythms. The three layers or tracks are synchronised to a global harmony and tempo, so its easy to create "good" sounding patterns without musical knowledge. This is the default setting, but its possible to adjust most of this stuff to get some more interesting and directed results.

In general it works a bit like an arpeggiator. You define a scale and octave range and rhythm (or just use the defaults), create some visual shapes on the grid and the notes are assigned semi randomly.

Start Screen

alt text

Tapping on the grids activates the build mode for one layer.