Revision 213:5e3397af978f

View differences:

json/examples/extractorstaticdata.json
1
{"basic": {"description": "Detect percussive note onsets by identifying broadband energy rises", "identifier": "percussiononsets", "name": "Simple Percussion Onset Detector"}, "basicOutputInfo": [{"description": "Percussive note onset locations", "identifier": "onsets", "name": "Onsets"}, {"description": "Broadband energy rise detection function", "identifier": "detectionfunction", "name": "Detection Function"}], "category": ["Time", "Onsets"], "rights": "Code copyright 2006 Queen Mary, University of London, after Dan Barry et al 2005.  Freely redistributable (BSD license)", "inputDomain": "FrequencyDomain", "key": "vamp-example-plugins:percussiononsets", "maker": "Vamp SDK Example Plugins", "maxChannelCount": 1, "minChannelCount": 1, "parameters": [{"basic": {"description": "Energy rise within a frequency bin necessary to count toward broadband total", "identifier": "threshold", "name": "Energy rise threshold"}, "defaultValue": 3, "extents": {"max": 20, "min": 0}, "unit": "dB", "valueNames": []}, {"basic": {"description": "Sensitivity of peak detector applied to broadband detection function", "identifier": "sensitivity", "name": "Sensitivity"}, "defaultValue": 40, "extents": {"max": 100, "min": 0}, "unit": "%", "valueNames": []}], "programs": [], "staticOutputInfo": {"onsets": {"typeURI": "http://purl.org/ontology/af/Onset"}, "detectionfunction": {"typeURI": "http://purl.org/ontology/af/OnsetDetectionFunction"}}, "version": 2}
1
{"basic": {"description": "Detect percussive note onsets by identifying broadband energy rises", "identifier": "percussiononsets", "name": "Simple Percussion Onset Detector"}, "basicOutputInfo": [{"description": "Percussive note onset locations", "identifier": "onsets", "name": "Onsets"}, {"description": "Broadband energy rise detection function", "identifier": "detectionfunction", "name": "Detection Function"}], "category": ["Time", "Onsets"], "rights": "Code copyright 2006 Queen Mary, University of London, after Dan Barry et al 2005.  Freely redistributable (BSD license)", "inputDomain": "FrequencyDomain", "key": "vamp-example-plugins:percussiononsets", "maker": "Vamp SDK Example Plugins", "maxChannelCount": 1, "minChannelCount": 1, "parameters": [{"basic": {"description": "Energy rise within a frequency bin necessary to count toward broadband total", "identifier": "threshold", "name": "Energy rise threshold"}, "defaultValue": 3, "extents": {"max": 20, "min": 0}, "unit": "dB", "valueNames": []}, {"basic": {"description": "Sensitivity of peak detector applied to broadband detection function", "identifier": "sensitivity", "name": "Sensitivity"}, "defaultValue": 40, "extents": {"max": 100, "min": 0}, "unit": "%", "valueNames": []}], "programs": ["program1"], "programParameters": {"program1": {"threshold": 10, "sensitivity": 0}, "program2": {"threshold": 0}}, "staticOutputInfo": {"onsets": {"typeURI": "http://purl.org/ontology/af/Onset"}, "detectionfunction": {"typeURI": "http://purl.org/ontology/af/OnsetDetectionFunction"}}, "version": 2}
json/schema/extractorstaticdata.json
37 37
	    "type": "array",
38 38
	    "items": { "type": "string" }
39 39
	},
40
        "programParameters": {
41
            "type": "object",
42
            "patternProperties": {
43
		"^[a-zA-Z0-9_-]+$": {
44
	            "type": "object",
45
	            "patternProperties": {
46
		        "^[a-zA-Z0-9_-]+$": {
47
		            "type": "number"
48
		        }
49
                    }
50
                }
51
            }
52
        },
40 53
	"inputDomain": {
41 54
	    "$ref": "http://vamp-plugins.org/piper/json/schema/enums#/definitions/input_domain"
42 55
	},
json/schema/outputdescriptor.json
1 1
{
2 2
    "id": "http://vamp-plugins.org/piper/json/schema/outputdescriptor#",
3 3
    "$schema": "http://json-schema.org/draft-04/schema#",
4
    "description": "schema for an output descriptor belonging to a feature extractor",
4
    "description": "schema for metadata about an output of a feature extractor",
5 5
    "type": "object",
6 6
    "properties": {
7 7
	"basic": {
json/schema/parameterdescriptor.json
1 1
{
2 2
    "id": "http://vamp-plugins.org/piper/json/schema/parameterdescriptor#",
3 3
    "$schema": "http://json-schema.org/draft-04/schema#",
4
    "description": "schema for a metadata about an adjustable parameter of a feature extractor",
4
    "description": "schema for metadata about an adjustable parameter of a feature extractor",
5 5
    "type": "object",
6 6
    "properties": {
7 7
	"basic": {

Also available in: Unified diff