Csound Csound-dev Csound-tekno Search About

[Csnd] recording, midi

Date2012-01-02 15:24
FromStefan Thomas
Subject[Csnd] recording, midi
Dear community,
I think I've asked a similar quetion a longer time ago but maybee things have changed.
I wanted to ask You which sequencer-program can be used in conjunction with csound.
Is it possible to create ladspa-plugins with csound that I can use in rosegarden or muse?
I think Cabbage writes only vst-instruments and those can't be used on a linux-sequencer, or am I wrong?
Or are they other possibilities to use csound in sequencer program?
Looking forward to another exciting year with csound
Stefan

Date2012-01-02 15:34
FromRory Walsh
SubjectRe: [Csnd] recording, midi
Cabbage will create linux plugins too but I'm not quite ready yet to
release the linux package just yet. You can create LADSPA plugins on
all platforms using csLADSPA. Alternatively you can use jack to route
audio/midi from a sequencer to Csound.



On 2 January 2012 16:24, Stefan Thomas  wrote:
> Dear community,
> I think I've asked a similar quetion a longer time ago but maybee things
> have changed.
> I wanted to ask You which sequencer-program can be used in conjunction with
> csound.
> Is it possible to create ladspa-plugins with csound that I can use in
> rosegarden or muse?
> I think Cabbage writes only vst-instruments and those can't be used on a
> linux-sequencer, or am I wrong?
> Or are they other possibilities to use csound in sequencer program?
> Looking forward to another exciting year with csound
> Stefan


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2012-01-02 18:29
FromTarmo Johannes
SubjectRe: [Csnd] recording, midi
Hello!

csLADSPA is a great concept. I have tried it once but did not understand it completely, but now the post was good reason to go it thorough once again.

What I needed to do was:

1)  write a plugin in a csound editor
CsoundQt has a nice feature "Insert/update CsLADSPA text" and it will create all the fields necessary for writing a plugin.

For example I wrote a very simple bandpass filter:



Name=Bandpass filter
Maker=Tarmo Johannes
UniqueID=1986692731
Copyright=none
ControlPort="Central frequency"|c_freq
Range=20|10000
ControlPort="Band"|band
Range=10|4000






sr = 44100
nchnls = 2
0dbfs = 1
ksmps = 64


instr 1 ; simple stereo bandpass filter

	ainL,ainR inch 1,2
	kcenter chnget "c_freq"
	kband chnget "band"
	aL butterbp ainL , kcenter, kband
	aR butterbp ainR , kcenter, kband
	outs aL,aR

endin




i1 0 10000



So basically you define the names and ranges of the control channels in the ladspa header and treat them with chnget ( i don't know it is possible send some info to plugin interface with chnset. could be interesting though... ) and otherwise write a notmal csound instrument

2) save your file somewhere you want to keep your csd-ladspa plugins. Export  the part as a environment variable like:
export LADSPA_PATH=/home/tarmo/src/csLADSPA/
It is wise to add the line to your .bashrc file in you home directory (logout - login to make the variable accessible to all programs in the session, otherwise you should start your audio program from the same terminal where you entered the export command)

3) Copy or link file libcsladspa.so ( or .dll in windows) in you csound installation directory (like /usr/local/lib/csound/plugins64/ ) to that directory. Perhaps it is not necessary but at least in my system without that step my audio host did not find the cs-plugins.

4) start your audio host like ardour, rosegarden, audacity or other, look for the new plugin, insert it and if everything went well you should be able to enjoy your new plugin.

it is wise to run at first you audio host in a terminal, so you can see feedback from csound, if it reports any errors or problems.

and: youno limits any more! if you don't have a plugin, you can always write one and join the power of csound with the comfort of your DAW.

and: you don't need to buy MaxMSP and AbletonLive and put up Csound4Live, if you prefer not to.

greetings,
tarmo





On Monday 02 January 2012 17:34:21 Rory Walsh wrote:
> Cabbage will create linux plugins too but I'm not quite ready yet to
> release the linux package just yet. You can create LADSPA plugins on
> all platforms using csLADSPA. Alternatively you can use jack to route
> audio/midi from a sequencer to Csound.
> 
> 
> 
> On 2 January 2012 16:24, Stefan Thomas  wrote:
> > Dear community,
> > I think I've asked a similar quetion a longer time ago but maybee things
> > have changed.
> > I wanted to ask You which sequencer-program can be used in conjunction with
> > csound.
> > Is it possible to create ladspa-plugins with csound that I can use in
> > rosegarden or muse?
> > I think Cabbage writes only vst-instruments and those can't be used on a
> > linux-sequencer, or am I wrong?
> > Or are they other possibilities to use csound in sequencer program?
> > Looking forward to another exciting year with csound
> > Stefan
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2012-01-02 21:25
FromStefan Thomas
SubjectRe: [Csnd] recording, midi
Dear Tarmo,
thanks very much for Your detailed explanations!
But nevertheless, I wasn't able to try Your bandpassfilter.
I saved it as bandpassfilter.csd in /home/stefan/computermusik/ladspa
Before I followed Your instructions.
Unfortunately I couldn't find the file libcsladspa.so
I thought ./usr/lib/ladspa/csladspa.so
could be the right one ( on my ubuntu machine). I linked this file to  /home/stefan/computermusik/ladspa and then I started audacity.
Unfortunately I couldn't find there a effect bandpassfilter
qutecsound and csladspa
2012/1/2 Tarmo Johannes <tarmo@otsakool.edu.ee>
Hello!

csLADSPA is a great concept. I have tried it once but did not understand it completely, but now the post was good reason to go it thorough once again.

What I needed to do was:

1)  write a plugin in a csound editor
CsoundQt has a nice feature "Insert/update CsLADSPA text" and it will create all the fields necessary for writing a plugin.

For example I wrote a very simple bandpass filter:

<CsoundSynthesizer>
<csLADSPA>
Name=Bandpass filter
Maker=Tarmo Johannes
UniqueID=1986692731
Copyright=none
ControlPort="Central frequency"|c_freq
Range=20|10000
ControlPort="Band"|band
Range=10|4000
</csLADSPA>

<CsOptions>
</CsOptions>
<CsInstruments>

sr = 44100
nchnls = 2
0dbfs = 1
ksmps = 64


instr 1 ; simple stereo bandpass filter

       ainL,ainR inch 1,2
       kcenter chnget "c_freq"
       kband chnget "band"
       aL butterbp ainL , kcenter, kband
       aR butterbp ainR , kcenter, kband
       outs aL,aR

endin


</CsInstruments>
<CsScore>
i1 0 10000
</CsScore>
</CsoundSynthesizer>

So basically you define the names and ranges of the control channels in the ladspa header and treat them with chnget ( i don't know it is possible send some info to plugin interface with chnset. could be interesting though... ) and otherwise write a notmal csound instrument

2) save your file somewhere you want to keep your csd-ladspa plugins. Export  the part as a environment variable like:
export LADSPA_PATH=/home/tarmo/src/csLADSPA/
It is wise to add the line to your .bashrc file in you home directory (logout - login to make the variable accessible to all programs in the session, otherwise you should start your audio program from the same terminal where you entered the export command)

3) Copy or link file libcsladspa.so ( or .dll in windows) in you csound installation directory (like /usr/local/lib/csound/plugins64/ ) to that directory. Perhaps it is not necessary but at least in my system without that step my audio host did not find the cs-plugins.

4) start your audio host like ardour, rosegarden, audacity or other, look for the new plugin, insert it and if everything went well you should be able to enjoy your new plugin.

it is wise to run at first you audio host in a terminal, so you can see feedback from csound, if it reports any errors or problems.

and: youno limits any more! if you don't have a plugin, you can always write one and join the power of csound with the comfort of your DAW.

and: you don't need to buy MaxMSP and AbletonLive and put up Csound4Live, if you prefer not to.

greetings,
tarmo





On Monday 02 January 2012 17:34:21 Rory Walsh wrote:
> Cabbage will create linux plugins too but I'm not quite ready yet to
> release the linux package just yet. You can create LADSPA plugins on
> all platforms using csLADSPA. Alternatively you can use jack to route
> audio/midi from a sequencer to Csound.
>
>
>
> On 2 January 2012 16:24, Stefan Thomas <kontrapunktstefan@googlemail.com> wrote:
> > Dear community,
> > I think I've asked a similar quetion a longer time ago but maybee things
> > have changed.
> > I wanted to ask You which sequencer-program can be used in conjunction with
> > csound.
> > Is it possible to create ladspa-plugins with csound that I can use in
> > rosegarden or muse?
> > I think Cabbage writes only vst-instruments and those can't be used on a
> > linux-sequencer, or am I wrong?
> > Or are they other possibilities to use csound in sequencer program?
> > Looking forward to another exciting year with csound
> > Stefan
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-01-03 11:20
FromTarmo Johannes
SubjectRe: [Csnd] recording, midi
Hello,

can you check if LADSPA_PATH was set correctly. Type
echo $LADSPA_PATH
in a terminal and it should report /home/stefan/computermusik/ladspa (if you set it)

if you did not or it does not try once again 
 export LADSPA_PATH=/home/stefan/computermusik/ladspa
and try to start audacity in the same terminal

audacity should report something like in the terminal

attempting to load plugin index: 1
cSLADSPA plugin found: 

Name=Bandpass filter
Maker=Tarmo Johannes
UniqueID=1986692731
Copyright=none
ControlPort="Central frequency"|c_freq
ControlPort="Band"|band

PLUGIN LOADED

I hope it helps.

greetings,
tarmo



On Monday 02 January 2012 23:25:23 Stefan Thomas wrote:
> Dear Tarmo,
> thanks very much for Your detailed explanations!
> But nevertheless, I wasn't able to try Your bandpassfilter.
> I saved it as bandpassfilter.csd in /home/stefan/computermusik/ladspa
> Before I followed Your instructions.
> Unfortunately I couldn't find the file libcsladspa.so
> I thought ./usr/lib/ladspa/csladspa.so
> could be the right one ( on my ubuntu machine). I linked this file to
> /home/stefan/computermusik/ladspa and then I started audacity.
> Unfortunately I couldn't find there a effect bandpassfilter
> qutecsound and csladspa
> 2012/1/2 Tarmo Johannes 
> 
> > Hello!
> >
> > csLADSPA is a great concept. I have tried it once but did not understand
> > it completely, but now the post was good reason to go it thorough once
> > again.
> >
> > What I needed to do was:
> >
> > 1)  write a plugin in a csound editor
> > CsoundQt has a nice feature "Insert/update CsLADSPA text" and it will
> > create all the fields necessary for writing a plugin.
> >
> > For example I wrote a very simple bandpass filter:
> >
> > 
> > 
> > Name=Bandpass filter
> > Maker=Tarmo Johannes
> > UniqueID=1986692731
> > Copyright=none
> > ControlPort="Central frequency"|c_freq
> > Range=20|10000
> > ControlPort="Band"|band
> > Range=10|4000
> > 
> >
> > 
> > 
> > 
> >
> > sr = 44100
> > nchnls = 2
> > 0dbfs = 1
> > ksmps = 64
> >
> >
> > instr 1 ; simple stereo bandpass filter
> >
> >        ainL,ainR inch 1,2
> >        kcenter chnget "c_freq"
> >        kband chnget "band"
> >        aL butterbp ainL , kcenter, kband
> >        aR butterbp ainR , kcenter, kband
> >        outs aL,aR
> >
> > endin
> >
> >
> > 
> > 
> > i1 0 10000
> > 
> > 
> >
> > So basically you define the names and ranges of the control channels in
> > the ladspa header and treat them with chnget ( i don't know it is possible
> > send some info to plugin interface with chnset. could be interesting
> > though... ) and otherwise write a notmal csound instrument
> >
> > 2) save your file somewhere you want to keep your csd-ladspa plugins.
> > Export  the part as a environment variable like:
> > export LADSPA_PATH=/home/tarmo/src/csLADSPA/
> > It is wise to add the line to your .bashrc file in you home directory
> > (logout - login to make the variable accessible to all programs in the
> > session, otherwise you should start your audio program from the same
> > terminal where you entered the export command)
> >
> > 3) Copy or link file libcsladspa.so ( or .dll in windows) in you csound
> > installation directory (like /usr/local/lib/csound/plugins64/ ) to that
> > directory. Perhaps it is not necessary but at least in my system without
> > that step my audio host did not find the cs-plugins.
> >
> > 4) start your audio host like ardour, rosegarden, audacity or other, look
> > for the new plugin, insert it and if everything went well you should be
> > able to enjoy your new plugin.
> >
> > it is wise to run at first you audio host in a terminal, so you can see
> > feedback from csound, if it reports any errors or problems.
> >
> > and: youno limits any more! if you don't have a plugin, you can always
> > write one and join the power of csound with the comfort of your DAW.
> >
> > and: you don't need to buy MaxMSP and AbletonLive and put up Csound4Live,
> > if you prefer not to.
> >
> > greetings,
> > tarmo
> >
> >
> >
> >
> >
> > On Monday 02 January 2012 17:34:21 Rory Walsh wrote:
> > > Cabbage will create linux plugins too but I'm not quite ready yet to
> > > release the linux package just yet. You can create LADSPA plugins on
> > > all platforms using csLADSPA. Alternatively you can use jack to route
> > > audio/midi from a sequencer to Csound.
> > >
> > >
> > >
> > > On 2 January 2012 16:24, Stefan Thomas 
> > wrote:
> > > > Dear community,
> > > > I think I've asked a similar quetion a longer time ago but maybee
> > things
> > > > have changed.
> > > > I wanted to ask You which sequencer-program can be used in conjunction
> > with
> > > > csound.
> > > > Is it possible to create ladspa-plugins with csound that I can use in
> > > > rosegarden or muse?
> > > > I think Cabbage writes only vst-instruments and those can't be used on
> > a
> > > > linux-sequencer, or am I wrong?
> > > > Or are they other possibilities to use csound in sequencer program?
> > > > Looking forward to another exciting year with csound
> > > > Stefan
> > >
> > >
> > > Send bugs reports to the Sourceforge bug tracker
> > >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > > Discussions of bugs and features can be posted here
> > > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe csound"
> > >
> > >
> >
> >
> > Send bugs reports to the Sourceforge bug tracker
> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> >
> >
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2012-01-03 13:56
FromStefan Thomas
SubjectRe: [Csnd] recording, midi
Dear Tarmo,
thanks very much (again!) for Your explanation.
It must have been a mistake with path.
I've corrected it now.
Is it also possible to generate instruments, that can be played with midi, like the hexter plugins in rosegarden?

2012/1/3 Tarmo Johannes <tarmo@otsakool.edu.ee>
Hello,

can you check if LADSPA_PATH was set correctly. Type
echo $LADSPA_PATH
in a terminal and it should report /home/stefan/computermusik/ladspa (if you set it)

if you did not or it does not try once again
 export LADSPA_PATH=/home/stefan/computermusik/ladspa
and try to start audacity in the same terminal

audacity should report something like in the terminal

attempting to load plugin index: 1
cSLADSPA plugin found:
<csLADSPA>
Name=Bandpass filter
Maker=Tarmo Johannes
UniqueID=1986692731
Copyright=none
ControlPort="Central frequency"|c_freq
ControlPort="Band"|band
</csLADSPA>
PLUGIN LOADED

I hope it helps.

greetings,
tarmo



On Monday 02 January 2012 23:25:23 Stefan Thomas wrote:
> Dear Tarmo,
> thanks very much for Your detailed explanations!
> But nevertheless, I wasn't able to try Your bandpassfilter.
> I saved it as bandpassfilter.csd in /home/stefan/computermusik/ladspa
> Before I followed Your instructions.
> Unfortunately I couldn't find the file libcsladspa.so
> I thought ./usr/lib/ladspa/csladspa.so
> could be the right one ( on my ubuntu machine). I linked this file to
> /home/stefan/computermusik/ladspa and then I started audacity.
> Unfortunately I couldn't find there a effect bandpassfilter
> qutecsound and csladspa
> 2012/1/2 Tarmo Johannes <tarmo@otsakool.edu.ee>
>
> > Hello!
> >
> > csLADSPA is a great concept. I have tried it once but did not understand
> > it completely, but now the post was good reason to go it thorough once
> > again.
> >
> > What I needed to do was:
> >
> > 1)  write a plugin in a csound editor
> > CsoundQt has a nice feature "Insert/update CsLADSPA text" and it will
> > create all the fields necessary for writing a plugin.
> >
> > For example I wrote a very simple bandpass filter:
> >
> > <CsoundSynthesizer>
> > <csLADSPA>
> > Name=Bandpass filter
> > Maker=Tarmo Johannes
> > UniqueID=1986692731
> > Copyright=none
> > ControlPort="Central frequency"|c_freq
> > Range=20|10000
> > ControlPort="Band"|band
> > Range=10|4000
> > </csLADSPA>
> >
> > <CsOptions>
> > </CsOptions>
> > <CsInstruments>
> >
> > sr = 44100
> > nchnls = 2
> > 0dbfs = 1
> > ksmps = 64
> >
> >
> > instr 1 ; simple stereo bandpass filter
> >
> >        ainL,ainR inch 1,2
> >        kcenter chnget "c_freq"
> >        kband chnget "band"
> >        aL butterbp ainL , kcenter, kband
> >        aR butterbp ainR , kcenter, kband
> >        outs aL,aR
> >
> > endin
> >
> >
> > </CsInstruments>
> > <CsScore>
> > i1 0 10000
> > </CsScore>
> > </CsoundSynthesizer>
> >
> > So basically you define the names and ranges of the control channels in
> > the ladspa header and treat them with chnget ( i don't know it is possible
> > send some info to plugin interface with chnset. could be interesting
> > though... ) and otherwise write a notmal csound instrument
> >
> > 2) save your file somewhere you want to keep your csd-ladspa plugins.
> > Export  the part as a environment variable like:
> > export LADSPA_PATH=/home/tarmo/src/csLADSPA/
> > It is wise to add the line to your .bashrc file in you home directory
> > (logout - login to make the variable accessible to all programs in the
> > session, otherwise you should start your audio program from the same
> > terminal where you entered the export command)
> >
> > 3) Copy or link file libcsladspa.so ( or .dll in windows) in you csound
> > installation directory (like /usr/local/lib/csound/plugins64/ ) to that
> > directory. Perhaps it is not necessary but at least in my system without
> > that step my audio host did not find the cs-plugins.
> >
> > 4) start your audio host like ardour, rosegarden, audacity or other, look
> > for the new plugin, insert it and if everything went well you should be
> > able to enjoy your new plugin.
> >
> > it is wise to run at first you audio host in a terminal, so you can see
> > feedback from csound, if it reports any errors or problems.
> >
> > and: youno limits any more! if you don't have a plugin, you can always
> > write one and join the power of csound with the comfort of your DAW.
> >
> > and: you don't need to buy MaxMSP and AbletonLive and put up Csound4Live,
> > if you prefer not to.
> >
> > greetings,
> > tarmo
> >
> >
> >
> >
> >
> > On Monday 02 January 2012 17:34:21 Rory Walsh wrote:
> > > Cabbage will create linux plugins too but I'm not quite ready yet to
> > > release the linux package just yet. You can create LADSPA plugins on
> > > all platforms using csLADSPA. Alternatively you can use jack to route
> > > audio/midi from a sequencer to Csound.
> > >
> > >
> > >
> > > On 2 January 2012 16:24, Stefan Thomas <kontrapunktstefan@googlemail.com>
> > wrote:
> > > > Dear community,
> > > > I think I've asked a similar quetion a longer time ago but maybee
> > things
> > > > have changed.
> > > > I wanted to ask You which sequencer-program can be used in conjunction
> > with
> > > > csound.
> > > > Is it possible to create ladspa-plugins with csound that I can use in
> > > > rosegarden or muse?
> > > > I think Cabbage writes only vst-instruments and those can't be used on
> > a
> > > > linux-sequencer, or am I wrong?
> > > > Or are they other possibilities to use csound in sequencer program?
> > > > Looking forward to another exciting year with csound
> > > > Stefan
> > >
> > >
> > > Send bugs reports to the Sourceforge bug tracker
> > >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > > Discussions of bugs and features can be posted here
> > > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe csound"
> > >
> > >
> >
> >
> > Send bugs reports to the Sourceforge bug tracker
> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> >
> >
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-01-03 17:53
FromRory Walsh
SubjectRe: [Csnd] recording, midi
This is not possible with csLADSPA. For this you would need a DSSI
interface for Csound. I will be back at work in a few weeks, then I
can prepare you a beta version of Cabbage for Linux.

On 3 January 2012 14:56, Stefan Thomas  wrote:
> Dear Tarmo,
> thanks very much (again!) for Your explanation.
> It must have been a mistake with path.
> I've corrected it now.
> Is it also possible to generate instruments, that can be played with midi,
> like the hexter plugins in rosegarden?
>
>
> 2012/1/3 Tarmo Johannes 
>>
>> Hello,
>>
>> can you check if LADSPA_PATH was set correctly. Type
>> echo $LADSPA_PATH
>> in a terminal and it should report /home/stefan/computermusik/ladspa (if
>> you set it)
>>
>> if you did not or it does not try once again
>>  export LADSPA_PATH=/home/stefan/computermusik/ladspa
>> and try to start audacity in the same terminal
>>
>> audacity should report something like in the terminal
>>
>> attempting to load plugin index: 1
>> cSLADSPA plugin found:
>> 
>> Name=Bandpass filter
>> Maker=Tarmo Johannes
>> UniqueID=1986692731
>> Copyright=none
>> ControlPort="Central frequency"|c_freq
>> ControlPort="Band"|band
>> 
>> PLUGIN LOADED
>>
>> I hope it helps.
>>
>> greetings,
>> tarmo
>>
>>
>>
>> On Monday 02 January 2012 23:25:23 Stefan Thomas wrote:
>> > Dear Tarmo,
>> > thanks very much for Your detailed explanations!
>> > But nevertheless, I wasn't able to try Your bandpassfilter.
>> > I saved it as bandpassfilter.csd in /home/stefan/computermusik/ladspa
>> > Before I followed Your instructions.
>> > Unfortunately I couldn't find the file libcsladspa.so
>> > I thought ./usr/lib/ladspa/csladspa.so
>> > could be the right one ( on my ubuntu machine). I linked this file to
>> > /home/stefan/computermusik/ladspa and then I started audacity.
>> > Unfortunately I couldn't find there a effect bandpassfilter
>> > qutecsound and csladspa
>> > 2012/1/2 Tarmo Johannes 
>> >
>> > > Hello!
>> > >
>> > > csLADSPA is a great concept. I have tried it once but did not
>> > > understand
>> > > it completely, but now the post was good reason to go it thorough once
>> > > again.
>> > >
>> > > What I needed to do was:
>> > >
>> > > 1)  write a plugin in a csound editor
>> > > CsoundQt has a nice feature "Insert/update CsLADSPA text" and it will
>> > > create all the fields necessary for writing a plugin.
>> > >
>> > > For example I wrote a very simple bandpass filter:
>> > >
>> > > 
>> > > 
>> > > Name=Bandpass filter
>> > > Maker=Tarmo Johannes
>> > > UniqueID=1986692731
>> > > Copyright=none
>> > > ControlPort="Central frequency"|c_freq
>> > > Range=20|10000
>> > > ControlPort="Band"|band
>> > > Range=10|4000
>> > > 
>> > >
>> > > 
>> > > 
>> > > 
>> > >
>> > > sr = 44100
>> > > nchnls = 2
>> > > 0dbfs = 1
>> > > ksmps = 64
>> > >
>> > >
>> > > instr 1 ; simple stereo bandpass filter
>> > >
>> > >        ainL,ainR inch 1,2
>> > >        kcenter chnget "c_freq"
>> > >        kband chnget "band"
>> > >        aL butterbp ainL , kcenter, kband
>> > >        aR butterbp ainR , kcenter, kband
>> > >        outs aL,aR
>> > >
>> > > endin
>> > >
>> > >
>> > > 
>> > > 
>> > > i1 0 10000
>> > > 
>> > > 
>> > >
>> > > So basically you define the names and ranges of the control channels
>> > > in
>> > > the ladspa header and treat them with chnget ( i don't know it is
>> > > possible
>> > > send some info to plugin interface with chnset. could be interesting
>> > > though... ) and otherwise write a notmal csound instrument
>> > >
>> > > 2) save your file somewhere you want to keep your csd-ladspa plugins.
>> > > Export  the part as a environment variable like:
>> > > export LADSPA_PATH=/home/tarmo/src/csLADSPA/
>> > > It is wise to add the line to your .bashrc file in you home directory
>> > > (logout - login to make the variable accessible to all programs in the
>> > > session, otherwise you should start your audio program from the same
>> > > terminal where you entered the export command)
>> > >
>> > > 3) Copy or link file libcsladspa.so ( or .dll in windows) in you
>> > > csound
>> > > installation directory (like /usr/local/lib/csound/plugins64/ ) to
>> > > that
>> > > directory. Perhaps it is not necessary but at least in my system
>> > > without
>> > > that step my audio host did not find the cs-plugins.
>> > >
>> > > 4) start your audio host like ardour, rosegarden, audacity or other,
>> > > look
>> > > for the new plugin, insert it and if everything went well you should
>> > > be
>> > > able to enjoy your new plugin.
>> > >
>> > > it is wise to run at first you audio host in a terminal, so you can
>> > > see
>> > > feedback from csound, if it reports any errors or problems.
>> > >
>> > > and: youno limits any more! if you don't have a plugin, you can always
>> > > write one and join the power of csound with the comfort of your DAW.
>> > >
>> > > and: you don't need to buy MaxMSP and AbletonLive and put up
>> > > Csound4Live,
>> > > if you prefer not to.
>> > >
>> > > greetings,
>> > > tarmo
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > On Monday 02 January 2012 17:34:21 Rory Walsh wrote:
>> > > > Cabbage will create linux plugins too but I'm not quite ready yet to
>> > > > release the linux package just yet. You can create LADSPA plugins on
>> > > > all platforms using csLADSPA. Alternatively you can use jack to
>> > > > route
>> > > > audio/midi from a sequencer to Csound.
>> > > >
>> > > >
>> > > >
>> > > > On 2 January 2012 16:24, Stefan Thomas
>> > > > 
>> > > wrote:
>> > > > > Dear community,
>> > > > > I think I've asked a similar quetion a longer time ago but maybee
>> > > things
>> > > > > have changed.
>> > > > > I wanted to ask You which sequencer-program can be used in
>> > > > > conjunction
>> > > with
>> > > > > csound.
>> > > > > Is it possible to create ladspa-plugins with csound that I can use
>> > > > > in
>> > > > > rosegarden or muse?
>> > > > > I think Cabbage writes only vst-instruments and those can't be
>> > > > > used on
>> > > a
>> > > > > linux-sequencer, or am I wrong?
>> > > > > Or are they other possibilities to use csound in sequencer
>> > > > > program?
>> > > > > Looking forward to another exciting year with csound
>> > > > > Stefan
>> > > >
>> > > >
>> > > > Send bugs reports to the Sourceforge bug tracker
>> > > >
>> > > > https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > > > Discussions of bugs and features can be posted here
>> > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > > "unsubscribe csound"
>> > > >
>> > > >
>> > >
>> > >
>> > > Send bugs reports to the Sourceforge bug tracker
>> > >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > > Discussions of bugs and features can be posted here
>> > > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > > "unsubscribe
>> > > csound"
>> > >
>> > >
>> >
>> > Send bugs reports to the Sourceforge bug tracker
>> >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> > csound"
>> >
>> >
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2012-01-03 18:08
FromVictor Lazzarini
SubjectRe: [Csnd] recording, midi
I know of a guy who has written a DSSI version of csladspa. He has a blog here: http://metelliuscode.wordpress.com/
Not sure if he discussed this there. But it's a place where you can find him.

Victor

On 3 Jan 2012, at 17:53, Rory Walsh wrote:

> This is not possible with csLADSPA. For this you would need a DSSI
> interface for Csound. I will be back at work in a few weeks, then I
> can prepare you a beta version of Cabbage for Linux.
> 
> On 3 January 2012 14:56, Stefan Thomas  wrote:
>> Dear Tarmo,
>> thanks very much (again!) for Your explanation.
>> It must have been a mistake with path.
>> I've corrected it now.
>> Is it also possible to generate instruments, that can be played with midi,
>> like the hexter plugins in rosegarden?
>> 
>> 
>> 2012/1/3 Tarmo Johannes 
>>> 
>>> Hello,
>>> 
>>> can you check if LADSPA_PATH was set correctly. Type
>>> echo $LADSPA_PATH
>>> in a terminal and it should report /home/stefan/computermusik/ladspa (if
>>> you set it)
>>> 
>>> if you did not or it does not try once again
>>>  export LADSPA_PATH=/home/stefan/computermusik/ladspa
>>> and try to start audacity in the same terminal
>>> 
>>> audacity should report something like in the terminal
>>> 
>>> attempting to load plugin index: 1
>>> cSLADSPA plugin found:
>>> 
>>> Name=Bandpass filter
>>> Maker=Tarmo Johannes
>>> UniqueID=1986692731
>>> Copyright=none
>>> ControlPort="Central frequency"|c_freq
>>> ControlPort="Band"|band
>>> 
>>> PLUGIN LOADED
>>> 
>>> I hope it helps.
>>> 
>>> greetings,
>>> tarmo
>>> 
>>> 
>>> 
>>> On Monday 02 January 2012 23:25:23 Stefan Thomas wrote:
>>>> Dear Tarmo,
>>>> thanks very much for Your detailed explanations!
>>>> But nevertheless, I wasn't able to try Your bandpassfilter.
>>>> I saved it as bandpassfilter.csd in /home/stefan/computermusik/ladspa
>>>> Before I followed Your instructions.
>>>> Unfortunately I couldn't find the file libcsladspa.so
>>>> I thought ./usr/lib/ladspa/csladspa.so
>>>> could be the right one ( on my ubuntu machine). I linked this file to
>>>> /home/stefan/computermusik/ladspa and then I started audacity.
>>>> Unfortunately I couldn't find there a effect bandpassfilter
>>>> qutecsound and csladspa
>>>> 2012/1/2 Tarmo Johannes 
>>>> 
>>>>> Hello!
>>>>> 
>>>>> csLADSPA is a great concept. I have tried it once but did not
>>>>> understand
>>>>> it completely, but now the post was good reason to go it thorough once
>>>>> again.
>>>>> 
>>>>> What I needed to do was:
>>>>> 
>>>>> 1)  write a plugin in a csound editor
>>>>> CsoundQt has a nice feature "Insert/update CsLADSPA text" and it will
>>>>> create all the fields necessary for writing a plugin.
>>>>> 
>>>>> For example I wrote a very simple bandpass filter:
>>>>> 
>>>>> 
>>>>> 
>>>>> Name=Bandpass filter
>>>>> Maker=Tarmo Johannes
>>>>> UniqueID=1986692731
>>>>> Copyright=none
>>>>> ControlPort="Central frequency"|c_freq
>>>>> Range=20|10000
>>>>> ControlPort="Band"|band
>>>>> Range=10|4000
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> nchnls = 2
>>>>> 0dbfs = 1
>>>>> ksmps = 64
>>>>> 
>>>>> 
>>>>> instr 1 ; simple stereo bandpass filter
>>>>> 
>>>>>        ainL,ainR inch 1,2
>>>>>        kcenter chnget "c_freq"
>>>>>        kband chnget "band"
>>>>>        aL butterbp ainL , kcenter, kband
>>>>>        aR butterbp ainR , kcenter, kband
>>>>>        outs aL,aR
>>>>> 
>>>>> endin
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> i1 0 10000
>>>>> 
>>>>> 
>>>>> 
>>>>> So basically you define the names and ranges of the control channels
>>>>> in
>>>>> the ladspa header and treat them with chnget ( i don't know it is
>>>>> possible
>>>>> send some info to plugin interface with chnset. could be interesting
>>>>> though... ) and otherwise write a notmal csound instrument
>>>>> 
>>>>> 2) save your file somewhere you want to keep your csd-ladspa plugins.
>>>>> Export  the part as a environment variable like:
>>>>> export LADSPA_PATH=/home/tarmo/src/csLADSPA/
>>>>> It is wise to add the line to your .bashrc file in you home directory
>>>>> (logout - login to make the variable accessible to all programs in the
>>>>> session, otherwise you should start your audio program from the same
>>>>> terminal where you entered the export command)
>>>>> 
>>>>> 3) Copy or link file libcsladspa.so ( or .dll in windows) in you
>>>>> csound
>>>>> installation directory (like /usr/local/lib/csound/plugins64/ ) to
>>>>> that
>>>>> directory. Perhaps it is not necessary but at least in my system
>>>>> without
>>>>> that step my audio host did not find the cs-plugins.
>>>>> 
>>>>> 4) start your audio host like ardour, rosegarden, audacity or other,
>>>>> look
>>>>> for the new plugin, insert it and if everything went well you should
>>>>> be
>>>>> able to enjoy your new plugin.
>>>>> 
>>>>> it is wise to run at first you audio host in a terminal, so you can
>>>>> see
>>>>> feedback from csound, if it reports any errors or problems.
>>>>> 
>>>>> and: youno limits any more! if you don't have a plugin, you can always
>>>>> write one and join the power of csound with the comfort of your DAW.
>>>>> 
>>>>> and: you don't need to buy MaxMSP and AbletonLive and put up
>>>>> Csound4Live,
>>>>> if you prefer not to.
>>>>> 
>>>>> greetings,
>>>>> tarmo
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Monday 02 January 2012 17:34:21 Rory Walsh wrote:
>>>>>> Cabbage will create linux plugins too but I'm not quite ready yet to
>>>>>> release the linux package just yet. You can create LADSPA plugins on
>>>>>> all platforms using csLADSPA. Alternatively you can use jack to
>>>>>> route
>>>>>> audio/midi from a sequencer to Csound.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On 2 January 2012 16:24, Stefan Thomas
>>>>>> 
>>>>> wrote:
>>>>>>> Dear community,
>>>>>>> I think I've asked a similar quetion a longer time ago but maybee
>>>>> things
>>>>>>> have changed.
>>>>>>> I wanted to ask You which sequencer-program can be used in
>>>>>>> conjunction
>>>>> with
>>>>>>> csound.
>>>>>>> Is it possible to create ladspa-plugins with csound that I can use
>>>>>>> in
>>>>>>> rosegarden or muse?
>>>>>>> I think Cabbage writes only vst-instruments and those can't be
>>>>>>> used on
>>>>> a
>>>>>>> linux-sequencer, or am I wrong?
>>>>>>> Or are they other possibilities to use csound in sequencer
>>>>>>> program?
>>>>>>> Looking forward to another exciting year with csound
>>>>>>> Stefan
>>>>>> 
>>>>>> 
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>> 
>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe csound"
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>> 
>>>>> 
>>>> 
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>> 
>>>> 
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>> 
>> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"