"Post Window" -> "Post window" prevents it being seen as two separate
[supercollider.git] / include / lang / PyrSignalPrim.h
blob7d1a5b3d368df8dc0e4b380c2683a2b9c37e2e3a
1 /*
2 SuperCollider real time audio synthesis system
3 Copyright (c) 2002 James McCartney. All rights reserved.
4 http://www.audiosynth.com
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef _PYRSIGNALPRIM_H_
23 #define _PYRSIGNALPRIM_H_
25 extern PyrSymbol *s_wavetable;
26 extern struct PyrClass *class_wavetable;
28 void initSignalPrimitives();
30 int prSignalCat(VMGlobals *g, int numArgsPushed);
31 int prSignalFill(VMGlobals *g, int numArgsPushed);
32 int prSignalRamp(VMGlobals *g, int numArgsPushed);
33 int prSignalScale(VMGlobals *g, int numArgsPushed);
34 int prSignalOffset(VMGlobals *g, int numArgsPushed);
35 int prSignalString(VMGlobals *g, int numArgsPushed);
37 int prSignalPeak(VMGlobals *g, int numArgsPushed);
38 int prSignalNormalize(VMGlobals *g, int numArgsPushed);
39 int prSignalNormalizeTransferFn(VMGlobals *g, int numArgsPushed);
40 int prSignalIntegral(VMGlobals *g, int numArgsPushed);
42 int prSignalOverDub(VMGlobals *g, int numArgsPushed);
43 int prSignalOverWrite(VMGlobals *g, int numArgsPushed);
44 int prSignalFade(VMGlobals *g, int numArgsPushed);
45 int prSignalAddHarmonic(VMGlobals *g, int numArgsPushed);
46 int prSignalAsWavetable(VMGlobals *g, int numArgsPushed);
47 int prWavetableAsSignal(VMGlobals *g, int numArgsPushed);
49 int prSignalInvert(VMGlobals *g, int numArgsPushed);
50 int prSignalReverse(VMGlobals *g, int numArgsPushed);
51 int prSignalRotate(VMGlobals *g, int numArgsPushed);
53 void signalAsWavetable(float *signal, float *wavetable, int size);
54 void wavetableAsSignal(float *wavetable, float *signal, int size);
56 #endif