@prefix atom:  <http://lv2plug.in/ns/ext/atom#> .
@prefix doap:  <http://usefulinc.com/ns/doap#> .
@prefix lv2:   <http://lv2plug.in/ns/lv2core#> .
@prefix param: <http://lv2plug.in/ns/ext/parameters#> .
@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#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .

<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 "Exampler" ;
	doap:license <http://opensource.org/licenses/isc> ;
	lv2:project <http://lv2plug.in/ns/lv2> ;
	lv2:requiredFeature state:loadDefaultState ,
		urid:map ,
		work:schedule ;
	lv2:optionalFeature lv2:hardRTCapable ,
		state:threadSafeRestore ;
	lv2:extensionData state:interface ,
		work:interface ;
	ui:ui <http://lv2plug.in/plugins/eg-sampler#ui> ;
	patch:writable <http://lv2plug.in/plugins/eg-sampler#sample> ,
		param:gain ;
	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> ;
		param:gain "0.0"^^xsd:float
	] .

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