Skip to content

Commit

Permalink
Loading the project's 1st version
Browse files Browse the repository at this point in the history
  • Loading branch information
myQwil committed May 6, 2018
1 parent e3f57eb commit 7bc8609
Show file tree
Hide file tree
Showing 151 changed files with 296,833 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PCH.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "stdafx.h"

// This is a dummy source code file that just generates the precompiled header (PCH) file for use when compiling the rest of the source code, to speed compilation up.
46 changes: 46 additions & 0 deletions PdObject.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#include "stdafx.h"
/*
* Copyright (c) 2012 Dan Wilcox <[email protected]>
*
* BSD Simplified License.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
* See https://github.com/libpd/libpd for documentation
*
* This file was adapted from the ofxPd openFrameworks addon example:
* https://github.com/danomatika/ofxPd
*
*/
#include "PdObject.h"

#include <iostream>

using namespace std;
using namespace pd;

//--------------------------------------------------------------
void PdObject::print(const std::string& message) {
console::print(message.c_str());
}

//--------------------------------------------------------------
void PdObject::receiveBang(const std::string& dest) {
if (dest == "stop") stop = true;
}

void PdObject::receiveFloat(const std::string& dest, float num) {
console::printf("CPP: float %s: %g", dest, num);
}

void PdObject::receiveSymbol(const std::string& dest, const std::string& symbol) {
console::printf("CPP: symbol %s: %s", dest, symbol);
}

void PdObject::receiveList(const std::string& dest, const List& list) {
console::printf("CPP: list %s: %s%s", dest, list.toString(), list.types());
}

void PdObject::receiveMessage(const std::string& dest, const std::string& msg, const List& list) {
console::printf("CPP: message %s: %s %s%s", dest, msg, list.toString(), list.types());
}
30 changes: 30 additions & 0 deletions PdObject.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright (c) 2012 Dan Wilcox <[email protected]>
*
* BSD Simplified License.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
* See https://github.com/libpd/libpd for documentation
*
* This file was adapted from the ofxPd openFrameworks addon example:
* https://github.com/danomatika/ofxPd
*
*/
#pragma once

#include "PdBase.hpp"

// custom receiver class
class PdObject : public pd::PdReceiver {

public:
void print(const std::string& message);
void receiveBang(const std::string& dest);
void receiveFloat(const std::string& dest, float num);
void receiveSymbol(const std::string& dest, const std::string& symbol);
void receiveList(const std::string& dest, const pd::List& list);
void receiveMessage(const std::string& dest, const std::string& msg, const pd::List& list);

bool stop = false;
};
Binary file added components/foo_pd.dll
Binary file not shown.
Binary file added components/libpd.dll
Binary file not shown.
24 changes: 24 additions & 0 deletions components/pd/ad.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#N canvas 719 355 450 300 12;
#X obj 180 36 inlet;
#X obj 180 62 t b b;
#X obj 197 94 \$1;
#X obj 231 62 inlet;
#X obj 232 94 \$2;
#X obj 282 62 inlet;
#X msg 186 154 1 \$1;
#X obj 232 131 pipe;
#X msg 232 154 0 \$1;
#X obj 205 204 line;
#X obj 205 230 outlet;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 1 1 2 0;
#X connect 2 0 6 0;
#X connect 2 0 7 1;
#X connect 3 0 2 1;
#X connect 4 0 7 0;
#X connect 5 0 4 1;
#X connect 6 0 9 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
7 changes: 7 additions & 0 deletions components/pd/adac~.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#N canvas 719 355 450 300 12;
#X obj 147 115 inlet~;
#X obj 147 151 throw~ L;
#X obj 260 115 inlet~;
#X obj 260 151 throw~ R;
#X connect 0 0 1 0;
#X connect 2 0 3 0;
34 changes: 34 additions & 0 deletions components/pd/ad~.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#N canvas 719 355 450 300 12;
#X obj 204 14 inlet;
#X obj 204 40 route z;
#X obj 204 66 t b f;
#X obj 204 101 del;
#X msg 144 101 0 \$1;
#X obj 204 132 t b b;
#X obj 250 101 b, f 1;
#X obj 236 164 \$2;
#X obj 293 132 inlet;
#X obj 204 164 \$1;
#X obj 249 132 inlet;
#X obj 204 189 pack;
#X msg 204 215 1 \$1 \, 0 \$2 \$1;
#X obj 193 246 vline~;
#X obj 193 272 outlet~;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 1 6 0;
#X connect 2 0 3 0;
#X connect 2 1 3 1;
#X connect 2 1 4 0;
#X connect 3 0 5 0;
#X connect 4 0 13 0;
#X connect 5 0 9 0;
#X connect 5 1 7 0;
#X connect 6 0 5 0;
#X connect 7 0 11 1;
#X connect 8 0 7 1;
#X connect 9 0 11 0;
#X connect 10 0 9 1;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
20 changes: 20 additions & 0 deletions components/pd/count.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#N canvas 245 395 450 300 10;
#X obj 51 24 inlet;
#X obj 63 144 f 0;
#X obj 64 180 + 1;
#X obj 99 144 mod \$1;
#X msg 75 108 0;
#X obj 41 246 outlet;
#X obj 44 66 route reset;
#X msg 13 109 bang;
#X obj 161 20 inlet;
#X connect 0 0 6 0;
#X connect 1 0 2 0;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 4 0 1 1;
#X connect 6 0 4 0;
#X connect 6 1 7 0;
#X connect 7 0 1 0;
#X connect 8 0 3 1;
19 changes: 19 additions & 0 deletions components/pd/cpt.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#N canvas 719 355 450 300 12;
#X obj 177 55 inlet;
#X obj 177 83 f;
#X obj 239 211 outlet;
#X obj 222 83 + 1;
#X obj 222 111 % \$1;
#X obj 254 83 inlet;
#X obj 177 185 sel \$2;
#X obj 229 152 inlet;
#X obj 177 211 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 3 0;
#X connect 1 0 6 0;
#X connect 3 0 4 0;
#X connect 4 0 1 1;
#X connect 5 0 4 1;
#X connect 6 0 8 0;
#X connect 7 0 6 1;
22 changes: 22 additions & 0 deletions components/pd/cupq.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#N canvas 719 355 450 300 12;
#X text 205 61 cup_qake;
#X obj 147 89 inlet;
#X obj 147 137 f;
#X obj 147 160 - 1;
#X obj 275 89 inlet;
#X obj 275 137 f;
#X obj 275 160 + 1;
#X obj 212 89 inlet;
#X obj 217 148 f;
#X obj 217 195 outlet;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 8 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 8 0;
#X connect 7 0 2 1;
#X connect 7 0 5 1;
#X connect 8 0 2 1;
#X connect 8 0 5 1;
#X connect 8 0 9 0;
31 changes: 31 additions & 0 deletions components/pd/cupqb.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#N canvas 719 355 450 300 10;
#X text 201 236 cup-qube;
#X obj 201 49 inlet;
#X obj 201 71 route - +;
#X obj 142 172 f;
#X obj 142 192 - 1;
#X obj 286 172 f;
#X obj 286 192 + 1;
#X obj 210 213 inlet;
#X floatatom 210 112 5 0 0 0 - - -;
#X obj 210 128 bng 16 250 50 0 empty empty empty 17 7 0 10 -243850
-75900 -1;
#X obj 226 128 bng 16 250 50 0 empty empty empty 17 7 0 10 -243850
-75900 -1;
#X obj 210 172 outlet;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 5 0;
#X connect 2 2 8 0;
#X connect 3 0 4 0;
#X connect 4 0 8 0;
#X connect 5 0 6 0;
#X connect 6 0 8 0;
#X connect 7 0 4 1;
#X connect 7 0 6 1;
#X connect 8 0 3 1;
#X connect 8 0 5 1;
#X connect 8 0 11 0;
#X connect 9 0 3 0;
#X connect 10 0 5 0;
#X coords 0 -1 1 1 32 32 2 210 112;
31 changes: 31 additions & 0 deletions components/pd/cupqbl.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#N canvas 719 355 450 300 12;
#X text 201 236 cup-qube;
#X obj 201 46 inlet;
#X obj 201 71 route - +;
#X obj 142 172 f;
#X obj 142 197 - 1;
#X obj 286 172 f;
#X obj 286 197 + 1;
#X obj 210 213 inlet;
#X floatatom 210 112 5 0 0 0 - - -;
#X obj 210 131 bng 18 250 50 0 empty empty empty 17 7 0 10 -243850
-75900 -1;
#X obj 229 131 bng 18 250 50 0 empty empty empty 17 7 0 10 -243850
-75900 -1;
#X obj 210 172 outlet;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 5 0;
#X connect 2 2 8 0;
#X connect 3 0 4 0;
#X connect 4 0 8 0;
#X connect 5 0 6 0;
#X connect 6 0 8 0;
#X connect 7 0 4 1;
#X connect 7 0 6 1;
#X connect 8 0 3 1;
#X connect 8 0 5 1;
#X connect 8 0 11 0;
#X connect 9 0 3 0;
#X connect 10 0 5 0;
#X coords 0 -1 1 1 37 37 2 210 112;
36 changes: 36 additions & 0 deletions components/pd/fkick~.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#N canvas 718 293 450 425 10;
#X text 255 263 efficient kick drum;
#X text 306 285 ajf;
#X obj 170 49 inlet;
#X obj 170 71 b;
#X obj 170 93 \$1;
#X obj 197 93 inlet;
#X obj 170 115 t f f;
#X obj 170 150 / \$2;
#X obj 203 150 inlet;
#X obj 155 228 *~;
#X obj 155 252 *~;
#X obj 155 275 *~;
#X obj 155 298 cos~;
#X msg 214 172 1 \, 0 \$1;
#X obj 214 194 vline~;
#X obj 199 330 *~;
#X obj 199 357 outlet~;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 6 0;
#X connect 5 0 4 1;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 1;
#X connect 8 0 7 1;
#X connect 9 0 10 1;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 13 0 14 0;
#X connect 14 0 15 1;
#X connect 14 0 9 0;
#X connect 14 0 11 1;
#X connect 15 0 16 0;
14 changes: 14 additions & 0 deletions components/pd/fmbloc~.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#N canvas 719 355 450 300 12;
#X obj 196 81 inlet~;
#X obj 196 106 *~;
#X obj 227 106 inlet~;
#X obj 196 132 +~;
#X obj 238 132 inlet~;
#X obj 196 158 osc~;
#X obj 196 183 outlet~;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 1 1;
#X connect 3 0 5 0;
#X connect 4 0 3 1;
#X connect 5 0 6 0;
16 changes: 16 additions & 0 deletions components/pd/freqm~.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#N canvas 719 355 450 300 12;
#X obj 194 72 inlet~;
#X obj 194 98 osc~;
#X obj 194 123 *~;
#X obj 238 123 inlet~;
#X obj 194 149 +~;
#X obj 250 149 inlet~;
#X obj 194 175 osc~;
#X obj 194 200 outlet~;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 2 1;
#X connect 4 0 6 0;
#X connect 5 0 4 1;
#X connect 6 0 7 0;
41 changes: 41 additions & 0 deletions components/pd/lp2c_dp~.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#N canvas 400 218 417 389 10;
#X obj 22 42 inlet~;
#X obj 56 63 inlet;
#X obj 22 194 outlet~;
#X text 62 42 ~signal_in~;
#X text 93 64 <float> cutoff_frequency [Hz];
#X obj 91 87 inlet;
#X text 195 136 <float> interpolation_time [ms];
#X text 32 176 ~filtered signal_out~;
#X obj 126 111 inlet;
#X text 77 8 lowpass 2.order for filter-cascades;
#X obj 161 136 inlet;
#X text 127 87 <float> damping [-];
#X text 162 111 <float> frequency-shift [-];
#X obj 56 211 outlet;
#X obj 88 236 outlet;
#X obj 119 255 outlet;
#X obj 161 274 outlet;
#X text 129 235 dummy;
#X text 159 254 dummy;
#X text 128 190 1.arg: <float> cutoff_frequency [Hz];
#X text 128 199 2.arg: <float> damping [-];
#X text 128 208 3.arg: <float> frequency-shift [-];
#X text 128 218 4.arg: <float> interpolation_time [ms] (opt.);
#X text 176 325 IEM KUG;
#X text 154 313 musil;
#X text 190 313 @;
#X text 198 313 iem.at;
#X text 159 335 Graz \, Austria;
#X obj 22 157 filter~ dlp2c \$1 \$2 \$3 \$4;
#X text 12 8 lp2c_dp~;
#X text 129 23 with double precision;
#X text 111 302 (c) Thomas Musil 2000 - 2010;
#X connect 0 0 28 0;
#X connect 1 0 13 0;
#X connect 1 0 28 1;
#X connect 5 0 28 2;
#X connect 8 0 28 3;
#X connect 10 0 16 0;
#X connect 10 0 28 4;
#X connect 28 0 2 0;
Loading

0 comments on commit 7bc8609

Please sign in to comment.