July 2011
5 posts
9 tags
Daily DSP tip :-)
So, I played a bit with software synthesizers in the past and last week I took the project up for revision. Doing so, I came up with the following easy waveform generators: Sine: double wave_sine(double x) { return sin(x); } Square: double wave_square(double x) { return (abs(x)-floor(abs(x)))<0.5?-1.0:1.0; } Saw tooth: double wave_saw(double x) { return (abs(x)-floor(abs(x))); } Triangle:...
Jul 21st
6 notes
9 tags
Jul 8th
5 notes
9 tags
WatchWatch
I gathered a few of my PC Demos in a single play list on Youtube. Watch and enjoy :-)
Jul 4th
6 notes
5 tags
Jul 3rd
6 notes
8 tags
Easy Frame Buffer Object class
So, I’ve been fiddling a lot with frame buffer objects lately. And before you get to it - Yes, I know I’m several years behind :-) For those of you who don’t know what Frame Buffer Objects are - they are frame buffers stored in your video memory which can be used as any other texture in OpenGL. It replaces the insanely slow glCopyPixels which copy an area of the current context...
Jul 3rd
11 notes