Mercurial > hg > beaglert
diff examples/08-PureData/customRender/render.cpp @ 555:5ef33a8c9702 prerelease
customRender example: added note to render files, added settings.json
author | chnrx <chris.heinrichs@gmail.com> |
---|---|
date | Fri, 24 Jun 2016 17:20:23 +0100 |
parents | f8bb6186498d |
children |
line wrap: on
line diff
--- a/examples/08-PureData/customRender/render.cpp Fri Jun 24 17:14:24 2016 +0100 +++ b/examples/08-PureData/customRender/render.cpp Fri Jun 24 17:20:23 2016 +0100 @@ -1,8 +1,33 @@ /* - * render.cpp - * - * Created on: Oct 24, 2014 - * Author: parallels + ____ _____ _ _ +| __ )| ____| | / \ +| _ \| _| | | / _ \ +| |_) | |___| |___ / ___ \ +|____/|_____|_____/_/ \_\ + +The platform for ultra-low latency audio and sensor processing + +http://bela.io + +A project of the Augmented Instruments Laboratory within the +Centre for Digital Music at Queen Mary University of London. +http://www.eecs.qmul.ac.uk/~andrewm + +(c) 2016 Augmented Instruments Laboratory: Andrew McPherson, + Astrid Bin, Liam Donovan, Christian Heinrichs, Robert Jack, + Giulio Moro, Laurel Pardue, Victor Zappi. All rights reserved. + +The Bela software is distributed under the GNU Lesser General Public License +(LGPL 3.0), available here: https://www.gnu.org/licenses/lgpl-3.0.txt +*/ + +/* + * USING A CUSTOM RENDER.CPP FILE FOR PUREDATA PATCHES - LIBPD + * =========================================================== + * || || + * || OPEN THE ENCLOSED _main.pd PATCH FOR MORE INFORMATION || + * || ----------------------------------------------------- || + * =========================================================== */ #include <Bela.h> @@ -433,7 +458,7 @@ gPhase -= 2.0 * M_PI; /*********/ - + for (k = 0, p1 = p0; k < context->audioOutChannels; k++, p1 += gLibpdBlockSize) { audioWrite(context, audioFrameBase + j, k, *p1 * lfo); // MODIFICATION (* lfo) }