@prefix : . @prefix swh: . @prefix foaf: . @prefix doap: . @prefix swhext: . @prefix pg: . @prefix epp: . swh:inv a :Plugin ; a :UtilityPlugin ; doap:name "Inverter" ; doap:maintainer [ foaf:name "Steve Harris"; foaf:homepage ; foaf:mbox ; ] ; doap:license ; :documentation ; :pluginProperty :hardRtCapable ; :port [ a :InputPort, :AudioPort ; :name "Input" ; :index 0 ; :symbol "input" ; ] ; :port [ a :OutputPort, :AudioPort ; :name "Output" ; :index 1 ; :symbol "output" ; ] ; swhext:callback [ swhext:event "run" ; swhext:code """ unsigned long pos; for (pos = 0; pos < sample_count; pos++) { output[pos] = -input[pos]; } """ ; ] ; swhext:createdBy .