aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg04-sampler.lv2/sampler.ttl
blob: e008de0eefa22feba5a82f960d8ca98b2f4f8920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# LV2 Sampler Example Plugin
# Copyright 2011-2012 David Robillard <d@drobilla.net>
# Copyright 2011 Gabriel M. Beddingfield <gabriel@teuton.org>
# Copyright 2011 James Morris <jwm.art.net@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

@prefix atom:  <http://lv2plug.in/ns/ext/atom#> .
@prefix doap:  <http://usefulinc.com/ns/doap#> .
@prefix lv2:   <http://lv2plug.in/ns/lv2core#> .
@prefix patch: <http://lv2plug.in/ns/ext/patch#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix ui:    <http://lv2plug.in/ns/extensions/ui#> .
@prefix urid:  <http://lv2plug.in/ns/ext/urid#> .
@prefix work:  <http://lv2plug.in/ns/ext/worker#> .

<http://lv2plug.in/plugins/eg-sampler#sample>
	a lv2:Parameter ;
	rdfs:label "sample" ;
	rdfs:range atom:Path .

<http://lv2plug.in/plugins/eg-sampler>
	a lv2:Plugin ;
	doap:name "Example Sampler" ;
	doap:license <http://opensource.org/licenses/isc> ;
	lv2:project <http://lv2plug.in/ns/lv2> ;
	lv2:requiredFeature urid:map ,
		work:schedule ;
	lv2:optionalFeature lv2:hardRTCapable ,
		state:loadDefaultState ;
	lv2:extensionData state:interface ,
		work:interface ;
	ui:ui <http://lv2plug.in/plugins/eg-sampler#ui> ;
	patch:writable <http://lv2plug.in/plugins/eg-sampler#sample> ;
	lv2:port [
		a lv2:InputPort ,
			atom:AtomPort ;
		atom:bufferType atom:Sequence ;
		atom:supports <http://lv2plug.in/ns/ext/midi#MidiEvent> ,
			patch:Message ;
		lv2:designation lv2:control ;
		lv2:index 0 ;
		lv2:symbol "control" ;
		lv2:name "Control"
	] , [
		a lv2:OutputPort ,
			atom:AtomPort ;
		atom:bufferType atom:Sequence ;
		atom:supports patch:Message ;
		lv2:designation lv2:control ;
		lv2:index 1 ;
		lv2:symbol "notify" ;
		lv2:name "Notify"
	] , [
		a lv2:AudioPort ,
			lv2:OutputPort ;
		lv2:index 2 ;
		lv2:symbol "out" ;
		lv2:name "Out"
	] ;
	state:state [
		<http://lv2plug.in/plugins/eg-sampler#sample> <click.wav>
	] .

<http://lv2plug.in/plugins/eg-sampler#ui>
	a ui:GtkUI ;
	lv2:requiredFeature urid:map ;
	ui:portNotification [
		ui:plugin <http://lv2plug.in/plugins/eg-sampler> ;
		lv2:symbol "notify" ;
		ui:notifyType atom:Blank
	] .