Csound Csound-dev Csound-tekno Search About

[Csnd] Checking if csound is active

Date2011-11-12 23:33
FromAlex Weiss
Subject[Csnd] Checking if csound is active
Hi,

I was wondering if there is any way to check within csound if it is the currently active application. I'm working on a real-time piece in which csound and some other audio apps work in tandem, and I only want csound to process MIDI signals if it's currently active. Is that possible?

Thanks,
Alex

Date2011-11-13 10:21
Fromjoachim heintz
SubjectRe: [Csnd] Checking if csound is active
hi alex -
i don't understand the situation. how can csound process midi signals if
it's not active?
	joachim


Am 13.11.2011 00:33, schrieb Alex Weiss:
> Hi,
> 
> I was wondering if there is any way to check within csound if it is the
> currently active application. I'm working on a real-time piece in which
> csound and some other audio apps work in tandem, and I only want csound
> to process MIDI signals if it's currently active. Is that possible?
> 
> Thanks,
> Alex


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"

Date2011-11-13 21:04
FromAdam Puckett
SubjectRe: [Csnd] Checking if csound is active
In other words, the window in focus.

On 11/13/11, Justin Smith  wrote:
> I think he means the GUI concept of "active", the window that is recieving
> user input and placed above other windows.
>
> ----- Original message -----
>> hi alex -
>> i don't understand the situation. how can csound process midi signals if
>> it's not active?
>>     joachim
>>
>>
>> Am 13.11.2011 00:33, schrieb Alex Weiss:
>> > Hi,
>> >
>> > I was wondering if there is any way to check within csound if it is the
>> > currently active application. I'm working on a real-time piece in which
>> > csound and some other audio apps work in tandem, and I only want csound
>> > to process MIDI signals if it's currently active. Is that possible?
>> >
>> > Thanks,
>> > Alex
>>
>>
>> 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"


Date2011-11-13 21:13
FromJustin Smith
SubjectRe: [Csnd] Checking if csound is active

I think he means the GUI concept of "active", the window that is recieving user input and placed above other windows.

----- Original message -----
> hi alex -
> i don't understand the situation. how can csound process midi signals if
> it's not active?
>     joachim
>
>
> Am 13.11.2011 00:33, schrieb Alex Weiss:
> > Hi,
> >
> > I was wondering if there is any way to check within csound if it is the
> > currently active application. I'm working on a real-time piece in which
> > csound and some other audio apps work in tandem, and I only want csound
> > to process MIDI signals if it's currently active. Is that possible?
> >
> > Thanks,
> > Alex
>
>
> 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"
>


Date2011-11-13 21:21
Frompeiman khosravi
SubjectRe: [Csnd] Checking if csound is active
I think not, unless you use it inside Maxmsp or some other front-end GUI.

P

On 12 November 2011 23:33, Alex Weiss  wrote:
> Hi,
> I was wondering if there is any way to check within csound if it is the
> currently active application. I'm working on a real-time piece in which
> csound and some other audio apps work in tandem, and I only want csound to
> process MIDI signals if it's currently active. Is that possible?
> Thanks,
> Alex


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"

Date2011-11-13 22:48
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Checking if csound is active
> In other words, the window in focus.
>
> On 11/13/11, Justin Smith  wrote:

Not all UIs have that concept




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"

Date2011-11-14 01:08
FromAlex Weiss
SubjectRe: [Csnd] Checking if csound is active
I'm sorry if I wasn't specific: I indeed meant checking if the UI was active/had the focus. But I've found a (somewhat akward) workardound that uses different MIDI channels to accomplish what I wanted. I'm happy to say that as now csound plays happily alongside NI Kontakt and Battery -- really excited about my live gig now.

I do have one more question, though: is there a MIDI equivalent to jack, i.e. a virtual MIDI driver that allows me to route MIDI between applications? I'm on OS X if that helps.

Best,

Alex

On Sun, Nov 13, 2011 at 2:48 PM, <jpff@cs.bath.ac.uk> wrote:
> In other words, the window in focus.
>
> On 11/13/11, Justin Smith <noisesmith@gmail.com> wrote:

Not all UIs have that concept




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"



Date2011-11-14 01:51
FromJustin Glenn Smith
SubjectRe: [Csnd] Checking if csound is active
Jack does midi as well as audio. I don't know if csound can do midi input from jack though.

Alex Weiss wrote:
> I'm sorry if I wasn't specific: I indeed meant checking if the UI was
> active/had the focus. But I've found a (somewhat akward) workardound that
> uses different MIDI channels to accomplish what I wanted. I'm happy to say
> that as now csound plays happily alongside NI Kontakt and Battery -- really
> excited about my live gig now.
> 
> I do have one more question, though: is there a MIDI equivalent to jack,
> i.e. a virtual MIDI driver that allows me to route MIDI between
> applications? I'm on OS X if that helps.
> 
> Best,
> 
> Alex
> 
> On Sun, Nov 13, 2011 at 2:48 PM,  wrote:
> 
>>> In other words, the window in focus.
>>>
>>> On 11/13/11, Justin Smith  wrote:
>> Not all UIs have that concept
>>
>>
>>
>>
>> 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"

Date2011-11-14 02:45
FromAlex Weiss
SubjectRe: [Csnd] Checking if csound is active
That's good to know, thanks. I also just realized that Apple's Audio MIDI Setup has an "IAC Driver" that apparently acts as a virtual MIDI device. Haven't tried it yet, but sounds promising. Will report back.

Alex

On Sun, Nov 13, 2011 at 5:51 PM, Justin Glenn Smith <noisesmith@gmail.com> wrote:
Jack does midi as well as audio. I don't know if csound can do midi input from jack though.

Alex Weiss wrote:
> I'm sorry if I wasn't specific: I indeed meant checking if the UI was
> active/had the focus. But I've found a (somewhat akward) workardound that
> uses different MIDI channels to accomplish what I wanted. I'm happy to say
> that as now csound plays happily alongside NI Kontakt and Battery -- really
> excited about my live gig now.
>
> I do have one more question, though: is there a MIDI equivalent to jack,
> i.e. a virtual MIDI driver that allows me to route MIDI between
> applications? I'm on OS X if that helps.
>
> Best,
>
> Alex
>
> On Sun, Nov 13, 2011 at 2:48 PM, <jpff@cs.bath.ac.uk> wrote:
>
>>> In other words, the window in focus.
>>>
>>> On 11/13/11, Justin Smith <noisesmith@gmail.com> wrote:
>> Not all UIs have that concept
>>
>>
>>
>>
>> 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"



Date2011-11-14 07:44
FromVictor Lazzarini
SubjectRe: [Csnd] Checking if csound is active
It does work. It can be used to send MIDI from a different program to csound.
On 14 Nov 2011, at 02:45, Alex Weiss wrote:

That's good to know, thanks. I also just realized that Apple's Audio MIDI Setup has an "IAC Driver" that apparently acts as a virtual MIDI device. Haven't tried it yet, but sounds promising. Will report back.

Alex

On Sun, Nov 13, 2011 at 5:51 PM, Justin Glenn Smith <noisesmith@gmail.com> wrote:
Jack does midi as well as audio. I don't know if csound can do midi input from jack though.

Alex Weiss wrote:
> I'm sorry if I wasn't specific: I indeed meant checking if the UI was
> active/had the focus. But I've found a (somewhat akward) workardound that
> uses different MIDI channels to accomplish what I wanted. I'm happy to say
> that as now csound plays happily alongside NI Kontakt and Battery -- really
> excited about my live gig now.
>
> I do have one more question, though: is there a MIDI equivalent to jack,
> i.e. a virtual MIDI driver that allows me to route MIDI between
> applications? I'm on OS X if that helps.
>
> Best,
>
> Alex
>
> On Sun, Nov 13, 2011 at 2:48 PM, <jpff@cs.bath.ac.uk> wrote:
>
>>> In other words, the window in focus.
>>>
>>> On 11/13/11, Justin Smith <noisesmith@gmail.com> wrote:
>> Not all UIs have that concept
>>
>>
>>
>>
>> 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




Date2011-11-14 09:34
Fromk_o_m_p
SubjectRe: [Csnd] Checking if csound is active
Another possibility is MIDI PATCHBAY a freeware application. It works very well.

Am 14.11.11 08:44, schrieb Victor Lazzarini:
It does work. It can be used to send MIDI from a different program to csound.
On 14 Nov 2011, at 02:45, Alex Weiss wrote:

That's good to know, thanks. I also just realized that Apple's Audio MIDI Setup has an "IAC Driver" that apparently acts as a virtual MIDI device. Haven't tried it yet, but sounds promising. Will report back.

Alex

On Sun, Nov 13, 2011 at 5:51 PM, Justin Glenn Smith <noisesmith@gmail.com> wrote:
Jack does midi as well as audio. I don't know if csound can do midi input from jack though.

Alex Weiss wrote:
> I'm sorry if I wasn't specific: I indeed meant checking if the UI was
> active/had the focus. But I've found a (somewhat akward) workardound that
> uses different MIDI channels to accomplish what I wanted. I'm happy to say
> that as now csound plays happily alongside NI Kontakt and Battery -- really
> excited about my live gig now.
>
> I do have one more question, though: is there a MIDI equivalent to jack,
> i.e. a virtual MIDI driver that allows me to route MIDI between
> applications? I'm on OS X if that helps.
>
> Best,
>
> Alex
>
> On Sun, Nov 13, 2011 at 2:48 PM, <jpff@cs.bath.ac.uk> wrote:
>
>>> In other words, the window in focus.
>>>
>>> On 11/13/11, Justin Smith <noisesmith@gmail.com> wrote:
>> Not all UIs have that concept
>>
>>
>>
>>
>> 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





-- 
--
http://luisantunespena.eu

Date2011-11-14 09:38
Frompeiman khosravi
SubjectRe: [Csnd] Checking if csound is active
I think also midishare http://sourceforge.net/projects/midishare/.

And of course rewire.

P

On 14 November 2011 09:34, k_o_m_p  wrote:
> Another possibility is MIDI PATCHBAY a freeware application. It works very
> well.
>
> Am 14.11.11 08:44, schrieb Victor Lazzarini:
>
> It does work. It can be used to send MIDI from a different program to
> csound.
> On 14 Nov 2011, at 02:45, Alex Weiss wrote:
>
> That's good to know, thanks. I also just realized that Apple's Audio MIDI
> Setup has an "IAC Driver" that apparently acts as a virtual MIDI device.
> Haven't tried it yet, but sounds promising. Will report back.
> Alex
>
> On Sun, Nov 13, 2011 at 5:51 PM, Justin Glenn Smith 
> wrote:
>>
>> Jack does midi as well as audio. I don't know if csound can do midi input
>> from jack though.
>>
>> Alex Weiss wrote:
>> > I'm sorry if I wasn't specific: I indeed meant checking if the UI was
>> > active/had the focus. But I've found a (somewhat akward) workardound
>> > that
>> > uses different MIDI channels to accomplish what I wanted. I'm happy to
>> > say
>> > that as now csound plays happily alongside NI Kontakt and Battery --
>> > really
>> > excited about my live gig now.
>> >
>> > I do have one more question, though: is there a MIDI equivalent to jack,
>> > i.e. a virtual MIDI driver that allows me to route MIDI between
>> > applications? I'm on OS X if that helps.
>> >
>> > Best,
>> >
>> > Alex
>> >
>> > On Sun, Nov 13, 2011 at 2:48 PM,  wrote:
>> >
>> >>> In other words, the window in focus.
>> >>>
>> >>> On 11/13/11, Justin Smith  wrote:
>> >> Not all UIs have that concept
>> >>
>> >>
>> >>
>> >>
>> >> 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
>
>
>
>
> --
> --
> http://luisantunespena.eu


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"