Re: [LAU] getting sound out Ingen

From: M Watts <zwy648rct@email-addr-hidden>
Date: Sun May 10 2009 - 04:59:33 EEST

Grammostola Rosea wrote:
> Ah, I had to put the engine 'on' when reloading the patch... (see
> attach.)

If you run the command

ingen -eg &

the engine starts automatically

>
> mmh don't have sound yet..
>
> \r

The attached patch didn't have all the connections made. Sometimes it's
hard to know what to connections to make.

Try this one.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix ingen: <http://drobilla.net/ns/ingen#> .
@prefix ingenuity: <http://drobilla.net/ns/ingenuity#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix lv2ev: <http://lv2plug.in/ns/ext/event#> .
@prefix lv2midi: <http://lv2plug.in/ns/ext/midi> .
@prefix lv2var: <http://lv2plug.in/ns/ext/instance-var#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<allpass>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 2049.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1208.0
    ] ;
    lv2:port <allpass/Cutoff>, <allpass/In>, <allpass/Out> ;
    lv2:symbol "allpass" ;
    rdf:instanceOf <http://calf.sourceforge.net/small_plugins/allpass> ;
    a ingen:Node .

<allpass/Cutoff>
    ingen:polyphonic true ;
    ingen:value 1000.0 ;
    lv2:symbol "Cutoff" ;
    a lv2:ControlPort, lv2:InputPort .

<allpass/In>
    ingen:polyphonic true ;
    lv2:symbol "In" ;
    a lv2:AudioPort, lv2:InputPort .

<allpass/Out>
    ingen:polyphonic true ;
    lv2:symbol "Out" ;
    a lv2:AudioPort, lv2:OutputPort .

<amp>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 2270.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1211.0
    ] ;
    lv2:port <amp/gain>, <amp/input>, <amp/output> ;
    lv2:symbol "amp" ;
    rdf:instanceOf <http://plugin.org.uk/swh-plugins/amp> ;
    a ingen:Node .

<amp/gain>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2:symbol "gain" ;
    a lv2:ControlPort, lv2:InputPort .

<amp/input>
    ingen:polyphonic true ;
    lv2:symbol "input" ;
    a lv2:AudioPort, lv2:InputPort .

<amp/output>
    ingen:polyphonic true ;
    lv2:symbol "output" ;
    a lv2:AudioPort, lv2:OutputPort .

<audio_output_1>
    ingen:polyphonic false ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 2406.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1103.0
    ] ;
    lv2:index 1 ;
    lv2:name "audio_output_1" ;
    lv2:symbol "audio_output_1" ;
    a lv2:AudioPort, lv2:OutputPort .

<audio_output_2>
    ingen:polyphonic false ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 2423.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1170.0
    ] ;
    lv2:index 2 ;
    lv2:name "audio_output_2" ;
    lv2:symbol "audio_output_2" ;
    a lv2:AudioPort, lv2:OutputPort .

<dahdsr_g_t_control>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1622.0958
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1061.759
    ] ;
    lv2:port <dahdsr_g_t_control/Attack_Time>, <dahdsr_g_t_control/Decay_Time>, <dahdsr_g_t_control/Delay_Time>, <dahdsr_g_t_control/Envelope_Out>, <dahdsr_g_t_control/Gate>, <dahdsr_g_t_control/Hold_Time>, <dahdsr_g_t_control/Release_Time>, <dahdsr_g_t_control/Sustain_Level>, <dahdsr_g_t_control/Trigger> ;
    lv2:symbol "dahdsr_g_t_control" ;
    rdf:instanceOf <ladspa:2022> ;
    a ingen:Node .

<dahdsr_g_t_control/Attack_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Attack_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control/Decay_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Decay_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control/Delay_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Delay_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control/Envelope_Out>
    ingen:polyphonic true ;
    lv2:symbol "Envelope_Out" ;
    a lv2:AudioPort, lv2:OutputPort .

<dahdsr_g_t_control/Gate>
    ingen:polyphonic true ;
    lv2:symbol "Gate" ;
    a lv2:AudioPort, lv2:InputPort .

<dahdsr_g_t_control/Hold_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Hold_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control/Release_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Release_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control/Sustain_Level>
    ingen:polyphonic true ;
    ingen:value 1.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 1.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 1.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Sustain_Level" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control/Trigger>
    ingen:polyphonic true ;
    lv2:symbol "Trigger" ;
    a lv2:AudioPort, lv2:InputPort .

<dahdsr_g_t_control_2>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1608.1771
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1365.6052
    ] ;
    lv2:port <dahdsr_g_t_control_2/Attack_Time>, <dahdsr_g_t_control_2/Decay_Time>, <dahdsr_g_t_control_2/Delay_Time>, <dahdsr_g_t_control_2/Envelope_Out>, <dahdsr_g_t_control_2/Gate>, <dahdsr_g_t_control_2/Hold_Time>, <dahdsr_g_t_control_2/Release_Time>, <dahdsr_g_t_control_2/Sustain_Level>, <dahdsr_g_t_control_2/Trigger> ;
    lv2:symbol "dahdsr_g_t_control_2" ;
    rdf:instanceOf <ladspa:2022> ;
    a ingen:Node .

<dahdsr_g_t_control_2/Attack_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Attack_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control_2/Decay_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Decay_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control_2/Delay_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Delay_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control_2/Envelope_Out>
    ingen:polyphonic true ;
    lv2:symbol "Envelope_Out" ;
    a lv2:AudioPort, lv2:OutputPort .

<dahdsr_g_t_control_2/Gate>
    ingen:polyphonic true ;
    lv2:symbol "Gate" ;
    a lv2:AudioPort, lv2:InputPort .

<dahdsr_g_t_control_2/Hold_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Hold_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control_2/Release_Time>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Release_Time" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control_2/Sustain_Level>
    ingen:polyphonic true ;
    ingen:value 1.0 ;
    lv2var:variable [
        rdf:predicate lv2:default ;
        rdf:value 1.0
    ], [
        rdf:predicate lv2:maximum ;
        rdf:value 1.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Sustain_Level" ;
    a lv2:ControlPort, lv2:InputPort .

<dahdsr_g_t_control_2/Trigger>
    ingen:polyphonic true ;
    lv2:symbol "Trigger" ;
    a lv2:AudioPort, lv2:InputPort .

<event_input_1>
    ingen:polyphonic false ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1321.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1071.0
    ] ;
    lv2:index 0 ;
    lv2:name "event_input_1" ;
    lv2:symbol "event_input_1" ;
    a lv2ev:EventPort, lv2:InputPort .

<>
    ingen:connection [
        ingen:destination <sum_iaic_oa/First_Input> ;
        ingen:source <note/frequency>
    ], [
        ingen:destination <sum_iaic_oa_2/First_Input> ;
        ingen:source <note/frequency>
    ], [
        ingen:destination <sine_faaa/Frequency> ;
        ingen:source <sum_iaic_oa/Summed_Output>
    ], [
        ingen:destination <sine_faaa_2/Frequency> ;
        ingen:source <sum_iaic_oa_2/Summed_Output>
    ], [
        ingen:destination <allpass/In> ;
        ingen:source <sine_faaa/Output>
    ], [
        ingen:destination <allpass/In> ;
        ingen:source <sine_faaa_2/Output>
    ], [
        ingen:destination <amp/input> ;
        ingen:source <allpass/Out>
    ], [
        ingen:destination <audio_output_1> ;
        ingen:source <amp/output>
    ], [
        ingen:destination <audio_output_2> ;
        ingen:source <amp/output>
    ], [
        ingen:destination <note/input> ;
        ingen:source <event_input_1>
    ], [
        ingen:destination <dahdsr_g_t_control/Gate> ;
        ingen:source <note/gate>
    ], [
        ingen:destination <dahdsr_g_t_control/Trigger> ;
        ingen:source <note/trigger>
    ], [
        ingen:destination <dahdsr_g_t_control_2/Gate> ;
        ingen:source <note/gate>
    ], [
        ingen:destination <dahdsr_g_t_control_2/Trigger> ;
        ingen:source <note/trigger>
    ], [
        ingen:destination <sine_faaa/Amplitude> ;
        ingen:source <dahdsr_g_t_control/Envelope_Out>
    ], [
        ingen:destination <sine_faaa_2/Amplitude> ;
        ingen:source <dahdsr_g_t_control_2/Envelope_Out>
    ] ;
    ingen:enabled true ;
    ingen:node <allpass>, <amp>, <dahdsr_g_t_control>, <dahdsr_g_t_control_2>, <note>, <sine_faaa>, <sine_faaa_2>, <sum_iaic_oa>, <sum_iaic_oa_2> ;
    ingen:polyphonic true ;
    ingen:polyphony 1 ;
    lv2:port <audio_output_1>, <audio_output_2>, <event_input_1> ;
    a ingen:Patch, lv2:Plugin .

<note>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1469.1074
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1077.5966
    ] ;
    lv2:port <note/frequency>, <note/gate>, <note/input>, <note/trigger>, <note/velocity> ;
    lv2:symbol "note" ;
    rdf:instanceOf <http://drobilla.net/ns/ingen-internals#Note> ;
    a ingen:Node .

<note/frequency>
    ingen:polyphonic true ;
    lv2:symbol "frequency" ;
    a lv2:AudioPort, lv2:OutputPort .

<note/gate>
    ingen:polyphonic true ;
    lv2:symbol "gate" ;
    lv2:toggled true ;
    a lv2:AudioPort, lv2:OutputPort .

<note/input>
    ingen:polyphonic true ;
    lv2:symbol "input" ;
    a lv2ev:EventPort, lv2:InputPort .

<note/trigger>
    ingen:polyphonic true ;
    lv2:symbol "trigger" ;
    lv2:toggled true ;
    a lv2:AudioPort, lv2:OutputPort .

<note/velocity>
    ingen:polyphonic true ;
    lv2:maximum 1.0 ;
    lv2:minimum 0.0 ;
    lv2:symbol "velocity" ;
    a lv2:AudioPort, lv2:OutputPort .

<sine_faaa>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1846.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1162.0
    ] ;
    lv2:port <sine_faaa/Amplitude>, <sine_faaa/Frequency>, <sine_faaa/Output> ;
    lv2:symbol "sine_faaa" ;
    rdf:instanceOf <ladspa:1044> ;
    a ingen:Node .

<sine_faaa/Amplitude>
    ingen:polyphonic true ;
    lv2:symbol "Amplitude" ;
    a lv2:AudioPort, lv2:InputPort .

<sine_faaa/Frequency>
    ingen:polyphonic true ;
    lv2:symbol "Frequency" ;
    a lv2:AudioPort, lv2:InputPort .

<sine_faaa/Output>
    ingen:polyphonic true ;
    lv2:symbol "Output" ;
    a lv2:AudioPort, lv2:OutputPort .

<sine_faaa_2>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1848.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1299.0
    ] ;
    lv2:port <sine_faaa_2/Amplitude>, <sine_faaa_2/Frequency>, <sine_faaa_2/Output> ;
    lv2:symbol "sine_faaa_2" ;
    rdf:instanceOf <ladspa:1044> ;
    a ingen:Node .

<sine_faaa_2/Amplitude>
    ingen:polyphonic true ;
    lv2:symbol "Amplitude" ;
    a lv2:AudioPort, lv2:InputPort .

<sine_faaa_2/Frequency>
    ingen:polyphonic true ;
    lv2:symbol "Frequency" ;
    a lv2:AudioPort, lv2:InputPort .

<sine_faaa_2/Output>
    ingen:polyphonic true ;
    lv2:symbol "Output" ;
    a lv2:AudioPort, lv2:OutputPort .

<sum_iaic_oa>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1633.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 941.0
    ] ;
    lv2:port <sum_iaic_oa/First_Input>, <sum_iaic_oa/Second_Input>, <sum_iaic_oa/Summed_Output> ;
    lv2:symbol "sum_iaic_oa" ;
    rdf:instanceOf <ladspa:1666> ;
    a ingen:Node .

<sum_iaic_oa/First_Input>
    ingen:polyphonic true ;
    lv2:symbol "First_Input" ;
    a lv2:AudioPort, lv2:InputPort .

<sum_iaic_oa/Second_Input>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Second_Input" ;
    a lv2:ControlPort, lv2:InputPort .

<sum_iaic_oa/Summed_Output>
    ingen:polyphonic true ;
    lv2:symbol "Summed_Output" ;
    a lv2:AudioPort, lv2:OutputPort .

<sum_iaic_oa_2>
    ingen:polyphonic true ;
    lv2var:variable [
        rdf:predicate ingenuity:canvas-x ;
        rdf:value 1628.0
    ], [
        rdf:predicate ingenuity:canvas-y ;
        rdf:value 1249.0
    ] ;
    lv2:port <sum_iaic_oa_2/First_Input>, <sum_iaic_oa_2/Second_Input>, <sum_iaic_oa_2/Summed_Output> ;
    lv2:symbol "sum_iaic_oa_2" ;
    rdf:instanceOf <ladspa:1666> ;
    a ingen:Node .

<sum_iaic_oa_2/First_Input>
    ingen:polyphonic true ;
    lv2:symbol "First_Input" ;
    a lv2:AudioPort, lv2:InputPort .

<sum_iaic_oa_2/Second_Input>
    ingen:polyphonic true ;
    ingen:value 0.0 ;
    lv2var:variable [
        rdf:predicate lv2:maximum ;
        rdf:value 0.0
    ], [
        rdf:predicate lv2:minimum ;
        rdf:value 0.0
    ] ;
    lv2:symbol "Second_Input" ;
    a lv2:ControlPort, lv2:InputPort .

<sum_iaic_oa_2/Summed_Output>
    ingen:polyphonic true ;
    lv2:symbol "Summed_Output" ;
    a lv2:AudioPort, lv2:OutputPort .

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun May 10 08:15:02 2009

This archive was generated by hypermail 2.1.8 : Sun May 10 2009 - 08:15:02 EEST