Fixed ttl files

pull/1/head
Holger Wirtz 8 years ago
parent 07e5c475ac
commit f93e2d9a44
  1. 1
      src/.gitignore
  2. 12
      src/Dexed.ttl
  3. 10
      src/dexed.cpp
  4. 1539
      src/dexed.lv2/Dexed.ttl
  5. 11
      src/dexed.lv2/manifest.ttl
  6. 3
      src/manifest.ttl

1
src/.gitignore vendored

@ -1 +1,2 @@
*.peg *.peg
dexed.lv2/

@ -5,18 +5,10 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ll: <http://ll-plugins.nongnu.org/lv2/namespace#>. @prefix ll: <http://ll-plugins.nongnu.org/lv2/namespace#>.
@prefix pg: <http://ll-plugins.nongnu.org/lv2/ext/portgroups#>. @prefix pg: <http://ll-plugins.nongnu.org/lv2/ext/portgroups#>.
@prefix ev: <http://lv2plug.in/ns/ext/event#>.
<https://github.com/asb2m10/dexed> <https://github.com/dcoredump/dexed>
a lv2:InstrumentPlugin, lv2:Plugin ; a lv2:InstrumentPlugin, lv2:Plugin ;
lv2:requiredFeature <http://lv2plug.in/ns/ext/buf-size#boundedBlockLength> , lv2:binary <dexed.so> ;
<http://lv2plug.in/ns/ext/urid#map> ;
lv2:extensionData <http://lv2plug.in/ns/ext/options#interface> ,
<http://lv2plug.in/ns/ext/state#interface> ,
<http://kxstudio.sf.net/ns/lv2ext/programs#Interface> ;
ui:ui <https://github.com/asb2m10/dexed#ExternalUI> ,
<https://github.com/asb2m10/dexed#ParentUI> ;
ll:pegName "p"; ll:pegName "p";
lv2:port [ lv2:port [

@ -8,6 +8,7 @@
#include "msfa/exp2.h" #include "msfa/exp2.h"
#include "msfa/sin.h" #include "msfa/sin.h"
#include "msfa/freqlut.h" #include "msfa/freqlut.h"
#include "msfa/controllers.h"
DexedVoice::DexedVoice(double rate) : m_key(LV2::INVALID_KEY), m_rate(rate) DexedVoice::DexedVoice(double rate) : m_key(LV2::INVALID_KEY), m_rate(rate)
{ {
@ -16,7 +17,7 @@ DexedVoice::DexedVoice(double rate) : m_key(LV2::INVALID_KEY), m_rate(rate)
void DexedVoice::on(unsigned char key, unsigned char velocity) void DexedVoice::on(unsigned char key, unsigned char velocity)
{ {
voice.dx7_note->init(data, key, velocity, 11); voice.dx7_note->init(data, key, velocity, feedback_bitdepth);
} }
void DexedVoice::off(unsigned char velocity) void DexedVoice::off(unsigned char velocity)
@ -57,9 +58,10 @@ Dexed::Dexed(double rate) : LV2::Synth<DexedVoice, Dexed>(p_n_ports, p_lv2_event
PitchEnv::init(rate); PitchEnv::init(rate);
Env::init_sr(rate); Env::init_sr(rate);
feedback_bitdepth=11; Controllers controllers;
engineType=DEXED_ENGINE_MARKI;
core=&engineMkI; //controllers.engineType=DEXED_ENGINE_MARKI;
controllers.core=&engineMkI;
for(uint i=0;i<sizeof(init_voice);i++) { for(uint i=0;i<sizeof(init_voice);i++) {
data[i] = init_voice[i]; data[i] = init_voice[i];

File diff suppressed because it is too large Load Diff

@ -1,11 +0,0 @@
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ui: <http://lv2plug.in/ns/extensions/ui#> .
@prefix mdap: <http://moddevices.com/plugins/mda/presets#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
<https://github.com/dcoredump/dexed>
a lv2:Plugin ;
lv2:binary <Dexed.so> ;
rdfs:seeAlso <Dexed.ttl> .

@ -4,8 +4,9 @@
@prefix ui: <http://lv2plug.in/ns/extensions/ui#> . @prefix ui: <http://lv2plug.in/ns/extensions/ui#> .
@prefix mdap: <http://moddevices.com/plugins/mda/presets#> . @prefix mdap: <http://moddevices.com/plugins/mda/presets#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> . @prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
<https://github.com/dcoredump/dexed> <https://github.com/dcoredump/dexed>
a lv2:Plugin ; a lv2:Plugin ;
lv2:binary <Dexed.so> ; doap:name "Dexed";
rdfs:seeAlso <Dexed.ttl> . rdfs:seeAlso <Dexed.ttl> .

Loading…
Cancel
Save