# 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 foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix lv2:   <http://lv2plug.in/ns/lv2core#> .
@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>
	a lv2:Plugin ;
	doap:name "Example Sampler" ;
	doap:license <http://opensource.org/licenses/isc> ;
	lv2:requiredFeature urid:map ,
		work:schedule ;
	lv2:optionalFeature lv2:hardRTCapable ;
	lv2:extensionData state:interface ,
		work:interface ;
	ui:ui <http://lv2plug.in/plugins/eg-sampler#ui> ;
	lv2:port [
		a lv2:InputPort ,
			atom:AtomPort ;
		atom:bufferType atom:Sequence ;
		atom:supports <http://lv2plug.in/ns/ext/midi#MidiEvent> ,
			<http://lv2plug.in/ns/ext/patch#Message> ;
		lv2:index 0 ;
		lv2:symbol "control" ;
		lv2:name "Control"
	] , [
		a lv2:OutputPort ,
			atom:AtomPort ;
		atom:bufferType atom:Sequence ;
		atom:supports <http://lv2plug.in/ns/ext/patch#Message> ;
		lv2:index 1 ;
		lv2:symbol "notify" ;
		lv2:name "Notify"
	] , [
		a lv2:AudioPort ,
			lv2:OutputPort ;
		lv2:index 2 ;
		lv2:symbol "out" ;
		lv2:name "Out"
	] .

<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
	] .