This came about thanks to Mark on the Renoise forum. Thanks for finally pointing me in the right direction for this.
http://forum.renoise.com/index.php?/topic/38738-renoise-linux-and-pulseaudio/
| Some possible implementations of the Bresenham Algorithms in C. | |
| The Bresenham line algorithm is an algorithm which determines which points in an | |
| n-dimensional raster should be plotted in order to form a close approximation | |
| to a straight line between two given points. | |
| It is commonly used to draw lines on a computer screen, as it uses only integer | |
| addition, subtraction and bit shifting, all of which are very cheap operations | |
| in standard computer architectures. | |
| It is one of the earliest algorithms developed in the field of computer graphics. | |
| A minor extension to the original algorithm also deals with drawing circles. |
This came about thanks to Mark on the Renoise forum. Thanks for finally pointing me in the right direction for this.
http://forum.renoise.com/index.php?/topic/38738-renoise-linux-and-pulseaudio/
| #include <iostream> | |
| #ifdef __linux__ | |
| #include <SDL2/SDL.h> | |
| #elif defined(_WIN32) | |
| #include <SDL.h> | |
| #endif | |
| const int WIN_WIDTH = 640; | |
| const int WIN_HEIGHT = 480; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| ---------------- Old Version : | |
| vol_dB = 20 * ( math.log( vol_log, 10 ) ) | |
| vol_log = math.exp( vol_dB * 0.115129254 ) | |
| ---------------- New Version : | |
| -- Mod from SPK77 | |
| -- http://forum.cockos.com/showpost.php?p=1608719&postcount=6 |
| GCC security related flags reference. | |
| Source material: | |
| http://security.stackexchange.com/questions/24444/what-is-the-most-hardened-set-of-options-for-gcc-compiling-c-c | |
| https://wiki.gentoo.org/wiki/Hardened_Gentoo | |
| https://wiki.debian.org/Hardening | |
| =================================================================================== | |
| GCC Security related flags and options: |
| function Vector2(x, y) { | |
| this.x = (x === undefined) ? 0 : x; | |
| this.y = (y === undefined) ? 0 : y; | |
| } | |
| Vector2.prototype = { | |
| set: function(x, y) { | |
| this.x = x || 0; | |
| this.y = y || 0; | |
| }, |
Here are some alternatives to RTV that are worth checking out!