Skip to content

Commit 9f10632

Browse files
author
falkTX
committed
Import PdPulp code
1 parent 7e4d108 commit 9f10632

File tree

151 files changed

+79131
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+79131
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
This is the header file that your files should include in order to get all the
7+
JUCE library headers. You should avoid including the JUCE headers directly in
8+
your own source files, because that wouldn't pick up the correct configuration
9+
options for your app.
10+
11+
*/
12+
13+
#ifndef __APPHEADERFILE_EDFSFF__
14+
#define __APPHEADERFILE_EDFSFF__
15+
16+
#include "JucePluginMain.h"
17+
18+
#if ! DONT_SET_USING_JUCE_NAMESPACE
19+
// If your code uses a lot of JUCE classes, then this will obviously save you
20+
// a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE.
21+
using namespace juce;
22+
#endif
23+
24+
#if ! JUCE_DONT_DECLARE_PROJECTINFO
25+
namespace ProjectInfo
26+
{
27+
const char* const projectName = "Pd Pulp";
28+
const char* const versionString = "1.0.0";
29+
const int versionNumber = 0x10000;
30+
}
31+
#endif
32+
33+
#endif // __APPHEADERFILE_EDFSFF__
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
There's a section below where you can add your own custom code safely, and the
7+
Introjucer will preserve the contents of that block, but the best way to change
8+
any of these definitions is by using the Introjucer's project settings.
9+
10+
Any commented-out settings will assume their default values.
11+
12+
*/
13+
14+
#ifndef __JUCE_APPCONFIG_LIBPDPL__
15+
#define __JUCE_APPCONFIG_LIBPDPL__
16+
17+
//==============================================================================
18+
// Audio plugin settings..
19+
20+
#if PULP_SYNTH
21+
#define JucePlugin_Name "Pd Pulp"
22+
#define JucePlugin_MaxNumInputChannels 2
23+
#define JucePlugin_MaxNumOutputChannels 2
24+
#define JucePlugin_PreferredChannelConfigurations {0, 1}, {0, 2}
25+
#define JucePlugin_IsSynth 1
26+
#define JucePlugin_WantsMidiInput 1
27+
#define JucePlugin_VSTCategory kPlugCategSynth
28+
#define JucePlugin_PluginCode 'PDLP'
29+
#else
30+
#define JucePlugin_Name "Pd Pulp FX"
31+
#define JucePlugin_MaxNumInputChannels 2
32+
#define JucePlugin_MaxNumOutputChannels 2
33+
#define JucePlugin_PreferredChannelConfigurations {1, 1}, {2, 2}
34+
#define JucePlugin_IsSynth 0
35+
#define JucePlugin_WantsMidiInput 0
36+
#define JucePlugin_VSTCategory kPlugCategEffect
37+
#define JucePlugin_PluginCode 'PDLF'
38+
#endif
39+
40+
#ifndef JucePlugin_Desc
41+
#define JucePlugin_Desc "a pure data audio plugin runtime environment"
42+
#endif
43+
#ifndef JucePlugin_Manufacturer
44+
#define JucePlugin_Manufacturer "Audiosalt"
45+
#endif
46+
#ifndef JucePlugin_ManufacturerWebsite
47+
#define JucePlugin_ManufacturerWebsite "audiosalt.com"
48+
#endif
49+
#ifndef JucePlugin_ManufacturerEmail
50+
#define JucePlugin_ManufacturerEmail ""
51+
#endif
52+
#ifndef JucePlugin_ManufacturerCode
53+
#define JucePlugin_ManufacturerCode 'ASLT'
54+
#endif
55+
#ifndef JucePlugin_ProducesMidiOutput
56+
#define JucePlugin_ProducesMidiOutput 0
57+
#endif
58+
#ifndef JucePlugin_SilenceInProducesSilenceOut
59+
#define JucePlugin_SilenceInProducesSilenceOut 0
60+
#endif
61+
#ifndef JucePlugin_EditorRequiresKeyboardFocus
62+
#define JucePlugin_EditorRequiresKeyboardFocus 1
63+
#endif
64+
#ifndef JucePlugin_Version
65+
#define JucePlugin_Version 1.0.0
66+
#endif
67+
#ifndef JucePlugin_VersionCode
68+
#define JucePlugin_VersionCode 0x10000
69+
#endif
70+
#ifndef JucePlugin_VersionString
71+
#define JucePlugin_VersionString "1.0.0"
72+
#endif
73+
#ifndef JucePlugin_VSTUniqueID
74+
#define JucePlugin_VSTUniqueID JucePlugin_PluginCode
75+
#endif
76+
#ifndef JucePlugin_AUMainType
77+
#define JucePlugin_AUMainType kAudioUnitType_MusicDevice
78+
#endif
79+
#ifndef JucePlugin_AUSubType
80+
#define JucePlugin_AUSubType JucePlugin_PluginCode
81+
#endif
82+
#ifndef JucePlugin_AUExportPrefix
83+
#define JucePlugin_AUExportPrefix PdPulpAU
84+
#endif
85+
#ifndef JucePlugin_AUExportPrefixQuoted
86+
#define JucePlugin_AUExportPrefixQuoted "PdPulpAU"
87+
#endif
88+
#ifndef JucePlugin_AUManufacturerCode
89+
#define JucePlugin_AUManufacturerCode JucePlugin_ManufacturerCode
90+
#endif
91+
#ifndef JucePlugin_CFBundleIdentifier
92+
#define JucePlugin_CFBundleIdentifier com.audiosalt.pdpulp
93+
#endif
94+
#ifndef JucePlugin_RTASCategory
95+
#define JucePlugin_RTASCategory ePlugInCategory_SWGenerators
96+
#endif
97+
#ifndef JucePlugin_RTASManufacturerCode
98+
#define JucePlugin_RTASManufacturerCode JucePlugin_ManufacturerCode
99+
#endif
100+
#ifndef JucePlugin_RTASProductId
101+
#define JucePlugin_RTASProductId JucePlugin_PluginCode
102+
#endif
103+
#ifndef JucePlugin_RTASDisableBypass
104+
#define JucePlugin_RTASDisableBypass 0
105+
#endif
106+
#ifndef JucePlugin_RTASDisableMultiMono
107+
#define JucePlugin_RTASDisableMultiMono 0
108+
#endif
109+
#ifndef JucePlugin_AAXIdentifier
110+
#define JucePlugin_AAXIdentifier com.audiosalt.pdpulp
111+
#endif
112+
#ifndef JucePlugin_AAXManufacturerCode
113+
#define JucePlugin_AAXManufacturerCode JucePlugin_ManufacturerCode
114+
#endif
115+
#ifndef JucePlugin_AAXProductId
116+
#define JucePlugin_AAXProductId JucePlugin_PluginCode
117+
#endif
118+
#ifndef JucePlugin_AAXCategory
119+
#define JucePlugin_AAXCategory AAX_ePlugInCategory_Dynamics
120+
#endif
121+
#ifndef JucePlugin_AAXDisableBypass
122+
#define JucePlugin_AAXDisableBypass 0
123+
#endif
124+
#ifndef JucePlugin_AAXDisableMultiMono
125+
#define JucePlugin_AAXDisableMultiMono 0
126+
#endif
127+
128+
#define JucePlugin_LV2URI "http://pdpulp.audiosalt.com"
129+
130+
#define JucePlugin_WantsLV2Presets 0
131+
#define JucePlugin_WantsLV2State 1
132+
#define JucePlugin_WantsLV2TimePos 0
133+
#define JucePlugin_WantsLV2FixedBlockSize 1
134+
135+
#endif // __JUCE_APPCONFIG_LIBPDPL__

ports/PdPulp/LV2-fx/premake.lua

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
2+
dofile("../../../scripts/make-project.lua")
3+
4+
package = make_juce_lv2_project("PdPulpFX")
5+
6+
package.buildoptions = {
7+
package.buildoptions,
8+
"-Wno-unused",
9+
"-Wno-unused-parameter",
10+
"-Wno-parentheses",
11+
"-Wno-switch"
12+
}
13+
14+
package.defines = {
15+
package.defines,
16+
"PULP_SYNTH=0",
17+
"USEAPI_DUMMY",
18+
"PD",
19+
"HAVE_LIBDL",
20+
"HAVE_UNISTD_H",
21+
"HAVE_ALLOCA_H",
22+
"_LARGEFILE64_SOURCE"
23+
}
24+
25+
package.includepaths = {
26+
package.includepaths,
27+
"../Source",
28+
"../JuceLibraryCode",
29+
"../libpd/libpd_wrapper",
30+
"../libpd/pure-data/src"
31+
}
32+
33+
package.files = {
34+
matchfiles (
35+
"../Source/*.c",
36+
"../Source/*.cpp",
37+
"../libpd/pure-data/src/g_canvas.c",
38+
"../libpd/pure-data/src/g_graph.c",
39+
"../libpd/pure-data/src/g_text.c",
40+
"../libpd/pure-data/src/g_rtext.c",
41+
"../libpd/pure-data/src/g_array.c",
42+
"../libpd/pure-data/src/g_template.c",
43+
"../libpd/pure-data/src/g_io.c",
44+
"../libpd/pure-data/src/g_scalar.c",
45+
"../libpd/pure-data/src/g_traversal.c",
46+
"../libpd/pure-data/src/g_guiconnect.c",
47+
"../libpd/pure-data/src/g_readwrite.c",
48+
"../libpd/pure-data/src/g_editor.c",
49+
"../libpd/pure-data/src/g_all_guis.c",
50+
"../libpd/pure-data/src/g_bang.c",
51+
"../libpd/pure-data/src/g_hdial.c",
52+
"../libpd/pure-data/src/g_hslider.c",
53+
"../libpd/pure-data/src/g_mycanvas.c",
54+
"../libpd/pure-data/src/g_numbox.c",
55+
"../libpd/pure-data/src/g_toggle.c",
56+
"../libpd/pure-data/src/g_vdial.c",
57+
"../libpd/pure-data/src/g_vslider.c",
58+
"../libpd/pure-data/src/g_vumeter.c",
59+
"../libpd/pure-data/src/m_pd.c",
60+
"../libpd/pure-data/src/m_class.c",
61+
"../libpd/pure-data/src/m_obj.c",
62+
"../libpd/pure-data/src/m_atom.c",
63+
"../libpd/pure-data/src/m_memory.c",
64+
"../libpd/pure-data/src/m_binbuf.c",
65+
"../libpd/pure-data/src/m_conf.c",
66+
"../libpd/pure-data/src/m_glob.c",
67+
"../libpd/pure-data/src/m_sched.c",
68+
"../libpd/pure-data/src/s_main.c",
69+
"../libpd/pure-data/src/s_inter.c",
70+
"../libpd/pure-data/src/s_file.c",
71+
"../libpd/pure-data/src/s_print.c",
72+
"../libpd/pure-data/src/s_loader.c",
73+
"../libpd/pure-data/src/s_path.c",
74+
"../libpd/pure-data/src/s_audio.c",
75+
"../libpd/pure-data/src/s_audio_dummy.c",
76+
"../libpd/pure-data/src/s_utf8.c",
77+
"../libpd/pure-data/src/s_audio_paring.c",
78+
"../libpd/pure-data/src/d_ugen.c",
79+
"../libpd/pure-data/src/d_ctl.c",
80+
"../libpd/pure-data/src/d_arithmetic.c",
81+
"../libpd/pure-data/src/d_osc.c",
82+
"../libpd/pure-data/src/d_filter.c",
83+
"../libpd/pure-data/src/d_dac.c",
84+
"../libpd/pure-data/src/d_misc.c",
85+
"../libpd/pure-data/src/d_math.c",
86+
"../libpd/pure-data/src/d_fft.c",
87+
"../libpd/pure-data/src/d_fft_fftsg.c",
88+
"../libpd/pure-data/src/d_array.c",
89+
"../libpd/pure-data/src/d_global.c",
90+
"../libpd/pure-data/src/d_delay.c",
91+
"../libpd/pure-data/src/d_resample.c",
92+
"../libpd/pure-data/src/d_soundfile.c",
93+
"../libpd/pure-data/src/x_arithmetic.c",
94+
"../libpd/pure-data/src/x_connective.c",
95+
"../libpd/pure-data/src/x_interface.c",
96+
"../libpd/pure-data/src/x_midi.c",
97+
"../libpd/pure-data/src/x_misc.c",
98+
"../libpd/pure-data/src/x_time.c",
99+
"../libpd/pure-data/src/x_acoustics.c",
100+
"../libpd/pure-data/src/x_net.c",
101+
"../libpd/pure-data/src/x_text.c",
102+
"../libpd/pure-data/src/x_gui.c",
103+
"../libpd/pure-data/src/x_list.c",
104+
"../libpd/pure-data/src/x_array.c",
105+
"../libpd/pure-data/src/x_scalar.c",
106+
"../libpd/libpd_wrapper/*.c",
107+
"../../../libs/juce-plugin/JucePluginMain.cpp"
108+
)
109+
}

ports/PdPulp/LV2-ins/premake.lua

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
2+
dofile("../../../scripts/make-project.lua")
3+
4+
package = make_juce_lv2_project("PdPulp")
5+
6+
package.buildoptions = {
7+
package.buildoptions,
8+
"-Wno-unused",
9+
"-Wno-unused-parameter",
10+
"-Wno-parentheses",
11+
"-Wno-switch"
12+
}
13+
14+
package.defines = {
15+
package.defines,
16+
"PULP_SYNTH=1",
17+
"USEAPI_DUMMY",
18+
"PD",
19+
"HAVE_LIBDL",
20+
"HAVE_UNISTD_H",
21+
"HAVE_ALLOCA_H",
22+
"_LARGEFILE64_SOURCE"
23+
}
24+
25+
package.includepaths = {
26+
package.includepaths,
27+
"../Source",
28+
"../JuceLibraryCode",
29+
"../libpd/libpd_wrapper",
30+
"../libpd/pure-data/src"
31+
}
32+
33+
package.files = {
34+
matchfiles (
35+
"../Source/*.c",
36+
"../Source/*.cpp",
37+
"../libpd/pure-data/src/g_canvas.c",
38+
"../libpd/pure-data/src/g_graph.c",
39+
"../libpd/pure-data/src/g_text.c",
40+
"../libpd/pure-data/src/g_rtext.c",
41+
"../libpd/pure-data/src/g_array.c",
42+
"../libpd/pure-data/src/g_template.c",
43+
"../libpd/pure-data/src/g_io.c",
44+
"../libpd/pure-data/src/g_scalar.c",
45+
"../libpd/pure-data/src/g_traversal.c",
46+
"../libpd/pure-data/src/g_guiconnect.c",
47+
"../libpd/pure-data/src/g_readwrite.c",
48+
"../libpd/pure-data/src/g_editor.c",
49+
"../libpd/pure-data/src/g_all_guis.c",
50+
"../libpd/pure-data/src/g_bang.c",
51+
"../libpd/pure-data/src/g_hdial.c",
52+
"../libpd/pure-data/src/g_hslider.c",
53+
"../libpd/pure-data/src/g_mycanvas.c",
54+
"../libpd/pure-data/src/g_numbox.c",
55+
"../libpd/pure-data/src/g_toggle.c",
56+
"../libpd/pure-data/src/g_vdial.c",
57+
"../libpd/pure-data/src/g_vslider.c",
58+
"../libpd/pure-data/src/g_vumeter.c",
59+
"../libpd/pure-data/src/m_pd.c",
60+
"../libpd/pure-data/src/m_class.c",
61+
"../libpd/pure-data/src/m_obj.c",
62+
"../libpd/pure-data/src/m_atom.c",
63+
"../libpd/pure-data/src/m_memory.c",
64+
"../libpd/pure-data/src/m_binbuf.c",
65+
"../libpd/pure-data/src/m_conf.c",
66+
"../libpd/pure-data/src/m_glob.c",
67+
"../libpd/pure-data/src/m_sched.c",
68+
"../libpd/pure-data/src/s_main.c",
69+
"../libpd/pure-data/src/s_inter.c",
70+
"../libpd/pure-data/src/s_file.c",
71+
"../libpd/pure-data/src/s_print.c",
72+
"../libpd/pure-data/src/s_loader.c",
73+
"../libpd/pure-data/src/s_path.c",
74+
"../libpd/pure-data/src/s_audio.c",
75+
"../libpd/pure-data/src/s_audio_dummy.c",
76+
"../libpd/pure-data/src/s_utf8.c",
77+
"../libpd/pure-data/src/s_audio_paring.c",
78+
"../libpd/pure-data/src/d_ugen.c",
79+
"../libpd/pure-data/src/d_ctl.c",
80+
"../libpd/pure-data/src/d_arithmetic.c",
81+
"../libpd/pure-data/src/d_osc.c",
82+
"../libpd/pure-data/src/d_filter.c",
83+
"../libpd/pure-data/src/d_dac.c",
84+
"../libpd/pure-data/src/d_misc.c",
85+
"../libpd/pure-data/src/d_math.c",
86+
"../libpd/pure-data/src/d_fft.c",
87+
"../libpd/pure-data/src/d_fft_fftsg.c",
88+
"../libpd/pure-data/src/d_array.c",
89+
"../libpd/pure-data/src/d_global.c",
90+
"../libpd/pure-data/src/d_delay.c",
91+
"../libpd/pure-data/src/d_resample.c",
92+
"../libpd/pure-data/src/d_soundfile.c",
93+
"../libpd/pure-data/src/x_arithmetic.c",
94+
"../libpd/pure-data/src/x_connective.c",
95+
"../libpd/pure-data/src/x_interface.c",
96+
"../libpd/pure-data/src/x_midi.c",
97+
"../libpd/pure-data/src/x_misc.c",
98+
"../libpd/pure-data/src/x_time.c",
99+
"../libpd/pure-data/src/x_acoustics.c",
100+
"../libpd/pure-data/src/x_net.c",
101+
"../libpd/pure-data/src/x_text.c",
102+
"../libpd/pure-data/src/x_gui.c",
103+
"../libpd/pure-data/src/x_list.c",
104+
"../libpd/pure-data/src/x_array.c",
105+
"../libpd/pure-data/src/x_scalar.c",
106+
"../libpd/libpd_wrapper/*.c",
107+
"../../../libs/juce-plugin/JucePluginMain.cpp"
108+
)
109+
}

0 commit comments

Comments
 (0)