Csound Csound-dev Csound-tekno Search About

[Csnd] Question Peak _meter

Date2010-02-27 23:15
FromPierce
Subject[Csnd] Question Peak _meter
Hello All

I want to out k_value to the csound~ in the MaxMSP.

I mean a1 to kout1

So, I made a UDO 


peakmeter UDO
=============================
opcode peakmeter, k, a
a1 xin
kout = 0
kout peak a1
xout kout
endop
===============================


Am I going to right track? 

It works good.
 
I also tired to use max_k, it worked like a VU meter. 

I will appreciate any comments and another ideas.

Best,

Jonathan.




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"

Date2010-02-28 09:14
FromAndres Cabrera
Subject[Csnd] Re: Question Peak _meter
Hi,

Looks good, but since you are only wrapping the peak opcode, it's
easier to just use the peak opcode in an always on instrument. If you
want to measure the output of csound, use the monitor opcode in a high
numbered instrument.

Cheers,
Andrés

On Sat, Feb 27, 2010 at 11:15 PM, Pierce  wrote:
> Hello All
>
> I want to out k_value to the csound~ in the MaxMSP.
>
> I mean a1 to kout1
>
> So, I made a UDO
>
>
> peakmeter UDO
> =============================
> opcode peakmeter, k, a
> a1 xin
> kout = 0
> kout peak a1
> xout kout
> endop
> ===============================
>
>
> Am I going to right track?
>
> It works good.
>
> I also tired to use max_k, it worked like a VU meter.
>
> I will appreciate any comments and another ideas.
>
> Best,
>
> Jonathan.
>
>
>
>
> 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"
>
>



-- 


Andrés


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"


Date2010-02-28 09:37
FromPierce
Subject[Csnd] Re: Re: Question Peak _meter
Thanks a lot Andrés

=============================
opcode peakmeter, k, a
a1 xin
kout = 0                          <======
kout peak a1
xout kout
endop
===============================
I want to use kout as a peakmeter rather than peak(High value) monitoin the Max/MSP.
(It is the reason I put the kout = 0) 

Question about monitor opcode.

Can you tell me how to out k_value to the max/MSP with monitor opcode?

Little bit confuse.

Thanks in advance.

Best,

jonathan






On Feb 28, 2010, at 4:14 AM, Andres Cabrera wrote:

Hi,

Looks good, but since you are only wrapping the peak opcode, it's
easier to just use the peak opcode in an always on instrument. If you
want to measure the output of csound, use the monitor opcode in a high
numbered instrument.

Cheers,
Andrés

On Sat, Feb 27, 2010 at 11:15 PM, Pierce <csound5.12@gmail.com> wrote:
Hello All

I want to out k_value to the csound~ in the MaxMSP.

I mean a1 to kout1

So, I made a UDO


peakmeter UDO
=============================
opcode peakmeter, k, a
a1 xin
kout = 0
kout peak a1
xout kout
endop
===============================


Am I going to right track?

It works good.

I also tired to use max_k, it worked like a VU meter.

I will appreciate any comments and another ideas.

Best,

Jonathan.




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"





--


Andrés


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"



Date2010-02-28 09:41
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Question Peak _meter
Hi,

On Sun, Feb 28, 2010 at 9:37 AM, Pierce 
wrote:=============================
>
> I want to use kout as a peakmeter rather than peak(High value) monitor in
> the Max/MSP.
> (It is the reason I put the kout = 0)

I think that shouldn't make any difference as the value is overwritten
by peak. Or am I wrong?

> Question about monitor opcode.
> Can you tell me how to out k_value to the max/MSP with monitor opcode?

The monitor opcode lets you "monitor" the accumulated output from
csound, so you can read that the use "peak" and then send it to max.
I've never done it but I think you can do it through channels using
the "outvalue" or maybe the "chnset" opcode.

Cheers,
Andrés

> Little bit confuse.
> Thanks in advance.
> Best,
> jonathan
>
>
>
>
>
> On Feb 28, 2010, at 4:14 AM, Andres Cabrera wrote:
>
> Hi,
>
> Looks good, but since you are only wrapping the peak opcode, it's
> easier to just use the peak opcode in an always on instrument. If you
> want to measure the output of csound, use the monitor opcode in a high
> numbered instrument.
>
> Cheers,
> Andrés
>
> On Sat, Feb 27, 2010 at 11:15 PM, Pierce  wrote:
>
> Hello All
>
> I want to out k_value to the csound~ in the MaxMSP.
>
> I mean a1 to kout1
>
> So, I made a UDO
>
>
> peakmeter UDO
>
> =============================
>
> opcode peakmeter, k, a
>
> a1 xin
>
> kout = 0
>
> kout peak a1
>
> xout kout
>
> endop
>
> ===============================
>
>
> Am I going to right track?
>
> It works good.
>
> I also tired to use max_k, it worked like a VU meter.
>
> I will appreciate any comments and another ideas.
>
> Best,
>
> Jonathan.
>
>
>
>
> 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"
>
>
>
>
>
> --
>
>
> Andrés
>
>
> 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"
>
>
>



-- 


Andrés


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"