Skip to content

Commit

Permalink
- updated Wavetable synth project
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-hart committed Jul 12, 2023
1 parent 11abcd3 commit e3ab4a1
Show file tree
Hide file tree
Showing 26 changed files with 155 additions and 301 deletions.
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,24 @@ EncryptedExpansionTutorial/Binaries/
ExpansionTutorial/Binaries/
FXWithMidi/Binaries/Builds/
FXWithMidi/Binaries/
PitchShifting/DspNetworks/Binaries/
PitchShifting/AdditionalSourceCode/nodes/
CustomSampleImport/Binaries/
CustomSampleImport/PooledResources/
MultichannelFXPlugin/Binaries/
MultichannelFXPlugin/DspNetworks/Binaries/
MultichannelFXPlugin/PooledResources/
WebViewTests/PooledResources/
WebViewTests/Binaries/
BasicSynth/PooledResources/
*.hiseproject
ConvolutionReverb/PooledResources/
*.hxi
DynamicsFX/PooledResources/
ModMatrixTutorial/Binaries/
ParametriqEQ/DspNetworks/Binaries/
ModMatrixTutorial/PooledResources/
ModMatrixTutorial/DspNetworks/Binaries/Builds/VisualStudio2017/ModMatrixTutorial_DynamicLibrary.vcxproj
ModMatrixTutorial/DspNetworks/Binaries/
WavetableSynth/Binaries/
WavetableSynth/PooledResources/
14 changes: 14 additions & 0 deletions DynamicsFX/project_info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,18 @@
<ExtraDefinitionsOSX value="ENABLE_ALL_PEAK_METERS=1" type="TEXT" description="Extra preprocessor definitions for OSX"/>
<ExtraDefinitionsIOS value="" type="TEXT" description="Extra preprocessor definitions for IOS"/>
<AppGroupID value="" type="TEXT" description="App Group ID (use this for shared resources on iOS"/>
<EmbedImageFiles value="Yes"/>
<SupportFullDynamicsHLAC value="No"/>
<ExtraDefinitionsLinux value=""/>
<RedirectSampleFolder value=""/>
<AAXCategoryFX value="AAX_ePlugInCategory_Modulation"/>
<SupportMonoFX value="No"/>
<EnableMidiInputFX value="No"/>
<EnableSoundGeneratorsFX value="No"/>
<VST3Support value="No"/>
<UseRawFrontend value="No"/>
<ExpansionType value="Full"/>
<EncryptionKey value="1234"/>
<LinkExpansionsToProject value="No"/>
<ReadOnlyFactoryPresets value="No"/>
</ProjectSettings>
6 changes: 3 additions & 3 deletions ModMatrixTutorial/XmlPresetBackups/ModMatrixTutorial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Control type="ScriptSlider" id="Knob1" value="0.1000014916062355"/>
<Control type="ScriptSlider" id="Knob2" value="0.0"/>
<Control type="ScriptSlider" id="Knob3" value="0.0"/>
<Control type="ScriptSlider" id="Knob4" value="0.0"/>
<Control type="ScriptSlider" id="Knob4" value="0.5199999809265137"/>
<Control type="ScriptSlider" id="Knob5" value="969.1000366210938"/>
<Control type="ScriptedViewport" id="Viewport1" value="JSON[&quot;28.nT6K8CxDYB..M8FY0wVXzk1at0TXzIWZ3A....&quot;]"/>
<Control type="ScriptedViewport" id="Viewport2" value="0.0"/>
Expand Down Expand Up @@ -305,8 +305,8 @@
</ChildProcessors>
</Processor>
<Processor Type="SimpleReverb" ID="OSC 1 Reverb" Bypassed="0" RoomSize="0.800000011920929"
Damping="0.6000000238418579" WetLevel="0.0" DryLevel="1.0" Width="0.7400000095367432"
FreezeMode="0.1000000014901161">
Damping="0.6000000238418579" WetLevel="0.5099999904632568" DryLevel="0.4900000095367432"
Width="0.7400000095367432" FreezeMode="0.1000000014901161">
<ChildProcessors/>
<RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/>
</Processor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
height="71.0" width="713.0" parentComponent="Panel2"/>
<Component type="ScriptPanel" id="TableBG" x="33.0" y="270.0" parentComponent="Panel2"
width="729.0" height="350.0" bgColour="0" itemColour2="0" borderSize="0.0"
borderRadius="0.0" itemColour="0" textColour="0" visible="0">
borderRadius="0.0" itemColour="0" textColour="0">
<Component type="ScriptedViewport" id="Viewport1" x="8.0" y="2.0" width="715.0"
height="280.0" bgColour="16777215" itemColour="3355443" parentComponent="TableBG"
itemColour2="1276186897" tooltip="Edit the modulation connections"/>
</Component>
<Component type="ScriptPanel" id="MatrixBG" x="40.0" y="270.0" parentComponent="Panel2"
width="700.0" height="350.0" bgColour="0" itemColour2="0" borderSize="0.0"
borderRadius="0.0" itemColour="0" textColour="0">
borderRadius="0.0" itemColour="0" textColour="0" visible="0">
<Component type="ScriptedViewport" id="Viewport2" x="2.0" y="0.0" width="715.0"
height="234.0" itemColour="3355443" bgColour="16777215" parentComponent="MatrixBG"
itemColour2="1276186897" tooltip="Edit the intensity of each connection"/>
Expand Down
Binary file added WavetableSynth/AudioFiles/FM_Synth.hwt
Binary file not shown.
Binary file added WavetableSynth/AudioFiles/FilteredSaw.hwt
Binary file not shown.
Binary file added WavetableSynth/AudioFiles/Guitar.hwt
Binary file not shown.
8 changes: 0 additions & 8 deletions WavetableSynth/SampleMaps/FM_AB.xml

This file was deleted.

7 changes: 4 additions & 3 deletions WavetableSynth/SampleMaps/Guitar.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<samplemap ID="Guitar" SaveMode="1" RRGroupAmount="1" MicPositions=";">
<samplemap ID="Guitar" SaveMode="1" RRGroupAmount="1.0" MicPositions=";"
CrossfadeGamma="1.0">
<sample ID="0" FileName="{PROJECT_FOLDER}Guitar_D#3.wav" Root="51" HiKey="51"
LoKey="51" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0"
Normalized="0" Pitch="0" SampleStart="17243" SampleEnd="113772"
Expand Down Expand Up @@ -63,8 +64,8 @@
SampleState="0" NormalizedPeak="-1" Duplicate="0"/>
<sample ID="10" FileName="{PROJECT_FOLDER}Guitar_A#3.wav" Root="58" HiKey="58"
LoKey="58" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0"
Normalized="0" Pitch="0" SampleStart="17042" SampleEnd="113772"
SampleStartMod="0" LoopStart="0" LoopEnd="113773" LoopXFade="0"
Normalized="0" Pitch="0" SampleStart="16818" SampleEnd="113772"
SampleStartMod="0" LoopStart="17042" LoopEnd="113773" LoopXFade="0"
LoopEnabled="0" LowerVelocityXFade="0" UpperVelocityXFade="0"
SampleState="0" NormalizedPeak="-1" Duplicate="0"/>
<sample ID="11" FileName="{PROJECT_FOLDER}Guitar_A3.wav" Root="57" HiKey="57"
Expand Down
14 changes: 0 additions & 14 deletions WavetableSynth/SampleMaps/MultiVelocityWavetable.xml

This file was deleted.

Binary file removed WavetableSynth/Samples/00.wav
Binary file not shown.
Binary file removed WavetableSynth/Samples/01.wav
Binary file not shown.
Binary file removed WavetableSynth/Samples/02.wav
Binary file not shown.
Binary file removed WavetableSynth/Samples/03.wav
Binary file not shown.
Binary file removed WavetableSynth/Samples/04.wav
Binary file not shown.
Binary file added WavetableSynth/Samples/FM_Synth.wav
Binary file not shown.
Binary file added WavetableSynth/Samples/FilteredSaw.wav
Binary file not shown.
Binary file removed WavetableSynth/Samples/high_fm/00.wav
Binary file not shown.
Binary file removed WavetableSynth/Samples/high_fm/01.wav
Binary file not shown.
Binary file added WavetableSynth/Samples/wavetables.hwm
Binary file not shown.
32 changes: 27 additions & 5 deletions WavetableSynth/Scripts/ScriptProcessors/WavetableDemo/Interface.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
Content.makeFrontInterface(1024, 768);function onNoteOn()
Content.makeFrontInterface(1024, 768);

const var WavetableSelector = Content.getComponent("WavetableSelector");

WavetableSelector.set("items", Engine.getWavetableList().join("\n"));

const var WavetableSynthesiser1 = Synth.getChildSynth("Wavetable Synthesiser1");

inline function onWavetableSelectorControl(component, value)
{
if(value > 0)
{
WavetableSynthesiser1.setAttribute(WavetableSynthesiser1.LoadedBankIndex, value);
}
};

Content.getComponent("WavetableSelector").setControlCallback(onWavetableSelectorControl);




function onNoteOn()
{

}
function onNoteOff()
function onNoteOff()
{

}
function onController()
function onController()
{

}
function onTimer()
function onTimer()
{

}
function onControl(number, value)
function onControl(number, value)
{

}

Loading

0 comments on commit e3ab4a1

Please sign in to comment.