pull/1/head
Holger Wirtz 8 years ago
parent 2f09d42b12
commit fa55ed4ab6
  1. 159
      src/Dexed.ttl
  2. 10
      src/dexed.cpp
  3. 1
      src/dexed.h
  4. 159
      src/manifest.ttl
  5. 64
      src/presets.ttl

@ -1548,162 +1548,3 @@
doap:name "Dexed" ;
doap:maintainer [ foaf:name "dcoredump" ] .
<https://github.com/dcoredump/dexed.lv2/presets#BRASS____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BRASS____2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BRASS___3>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STRINGS_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STRINGS_2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STRINGS_3>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#ORCHESTRA>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIANO___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIANO___2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIANO___3>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#E.PIANO_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#GUITAR__1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#GUITAR__2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#SYN_LEAD_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BASS____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BASS____2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#E.ORGAN_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIPES___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#HARPSICH_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#CLAV____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#VIBE____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#MARIMBA>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#KOTO>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#FLUTE___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#ORCH_CHIME>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TUB_BELLS>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STEEL_DRUM>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TIMPANI>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#REFS_WHISL>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#VOICE___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TRAIN>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TAKE_OFF>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .

@ -16,12 +16,11 @@ Dexed::Dexed(double rate) : lvtk::Synth<DexedVoice, Dexed>(p_n_ports, p_midi_in)
{
TRACE("Hi");
add_voices(new DexedVoice(rate));
//add_voices(new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate),new DexedVoice(rate));
//add_voices(new DexedVoice(rate));
add_audio_outputs(p_audio_out);
init(rate);
_rate=rate;
TRACE("Bye");
}
@ -52,6 +51,7 @@ void Dexed::activate(void)
TRACE("Hi");
Plugin::activate();
init(_rate);
set_params();
refreshVoice=true;
@ -651,6 +651,8 @@ void Dexed::init(double rate)
Tanh::init();
Sin::init();
add_voices(new DexedVoice(rate));
normalizeDxVelocity = false;
memset(&voiceStatus, 0, sizeof(VoiceStatus));
@ -688,6 +690,8 @@ void Dexed::init(double rate)
extra_buf_size_ = 0;
_rate=rate;
}
//==============================================================================

@ -118,6 +118,7 @@ class Dexed : public lvtk::Synth<DexedVoice, Dexed>
private:
uint8_t _param_counter;
uint8_t data[156];
double _rate;
/* uint8_t data[156]={
95, 29, 20, 50, 99, 95, 00, 00, 41, 00, 19, 00, 00, 03, 00, 06, 79, 00, 01, 00, 14,
95, 20, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 99, 00, 01, 00, 00,

@ -44,3 +44,162 @@
] ;
] .
<https://github.com/dcoredump/dexed.lv2/presets#E.PIANO_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BRASS____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BRASS____2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BRASS___3>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STRINGS_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STRINGS_2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STRINGS_3>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#ORCHESTRA>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIANO___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIANO___2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIANO___3>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#GUITAR__1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#GUITAR__2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#SYN_LEAD_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BASS____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#BASS____2>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#E.ORGAN_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#PIPES___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#HARPSICH_1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#CLAV____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#VIBE____1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#MARIMBA>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#KOTO>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#FLUTE___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#ORCH_CHIME>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TUB_BELLS>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#STEEL_DRUM>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TIMPANI>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#REFS_WHISL>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#VOICE___1>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TRAIN>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .
<https://github.com/dcoredump/dexed.lv2/presets#TAKE_OFF>
a pset:Preset ;
lv2:appliesTo <https://github.com/dcoredump/dexed.lv2> ;
rdfs:seeAlso <presets.ttl> .

@ -17,7 +17,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -473,7 +473,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -929,7 +929,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -1385,7 +1385,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -1841,7 +1841,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -2297,7 +2297,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -2753,7 +2753,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -3209,7 +3209,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -3665,7 +3665,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -4121,7 +4121,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -4577,7 +4577,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -5033,7 +5033,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -5489,7 +5489,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -5945,7 +5945,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -6401,7 +6401,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -6857,7 +6857,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -7313,7 +7313,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -7769,7 +7769,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -8225,7 +8225,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -8681,7 +8681,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -9137,7 +9137,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -9593,7 +9593,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -10049,7 +10049,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -10505,7 +10505,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -10961,7 +10961,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -11417,7 +11417,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -11873,7 +11873,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -12329,7 +12329,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -12785,7 +12785,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -13241,7 +13241,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -13697,7 +13697,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0
@ -14153,7 +14153,7 @@
pset:value 1.0
] , [
lv2:symbol "engine" ;
pset:value 2.0
pset:value 1.0
] , [
lv2:symbol "unisono" ;
pset:value 0.0

Loading…
Cancel
Save