Csound Csound-dev Csound-tekno Search About

Some ugens

Date2017-01-12 09:43
FromEduardo Moguillansky
SubjectSome ugens
Hi,

these are some simple ugens I've written for the last few projects to make life easier. They are all k-rate and include breakpoint-functions, frequency <--> midi conversion, midi <--> notename conversions and the starting point from porting some conversion ugens from supercollider (linlin, linexp, etc).

https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sansprefix

My c skills are rusty, but to my knowledge they do what they are intended to do.

cheers,

Eduardo Moguillansky



Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-01-12 10:01
FromAnton Kholomiov
SubjectRe: Some ugens
Recently there was a question on creating a tuner. I think your mtom ntom functions
might be very useful in that context.



2017-01-12 12:43 GMT+03:00 Eduardo Moguillansky <eduardo.moguillansky@gmail.com>:
Hi,

these are some simple ugens I've written for the last few projects to make life easier. They are all k-rate and include breakpoint-functions, frequency <--> midi conversion, midi <--> notename conversions and the starting point from porting some conversion ugens from supercollider (linlin, linexp, etc).

https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sansprefix

My c skills are rusty, but to my knowledge they do what they are intended to do.

cheers,

Eduardo Moguillansky



Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-01-12 11:46
Fromjpff
SubjectRe: Some ugens
Small point; I think you should use the Csound value of A4 as default not 
442 which is not the stndard

On Thu, 12 Jan 2017, Eduardo Moguillansky wrote:

> Hi,
> 
> these are some simple ugens I've written for the last few projects to make
> life easier. They are all k-rate and include breakpoint-functions, frequency
> <--> midi conversion, midi <--> notename conversions and the starting point
> from porting some conversion ugens from supercollider (linlin, linexp, etc).
> 
> https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sanspref
> ix
> 
> My c skills are rusty, but to my knowledge they do what they are intended to
> do.
> 
> cheers,
> 
> Eduardo Moguillansky
> 
> 
> 
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-01-12 14:33
From"Dr. Richard Boulanger"
SubjectRe: Some ugens
Hello Eduardo,

These seem very useful.  Thanks for sharing them!  
Hopefully they will be added to the next release of Csound.
And hopefully... you will continue converting more of the useful and unique things from SuperCollider.

Best,

Dr.B.



On Thu, Jan 12, 2017 at 4:43 AM, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:
Hi,

these are some simple ugens I've written for the last few projects to make life easier. They are all k-rate and include breakpoint-functions, frequency <--> midi conversion, midi <--> notename conversions and the starting point from porting some conversion ugens from supercollider (linlin, linexp, etc).

https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sansprefix

My c skills are rusty, but to my knowledge they do what they are intended to do.

cheers,

Eduardo Moguillansky



Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here



--
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
President of Boulanger Labs - http://boulangerlabs.com
Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book
Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book
______________________________________________
about: http://www.boulangerlabs.com/about/richardboulanger/
about: http://www.csounds.com/community/developers/dr-richard-boulanger/
music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/

______________________________________________
email: rboulanger@berklee.edu
facebook: https://www.facebook.com/richard.boulanger.58
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-01-12 14:51
Frommoguillansky
SubjectRe: Some ugens
How do I access the global value of A4 from a plugin?

On Thu, Jan 12, 2017 at 12:46 PM, jpff [via Csound] <[hidden email]> wrote:
Small point; I think you should use the Csound value of A4 as default not
442 which is not the stndard

On Thu, 12 Jan 2017, Eduardo Moguillansky wrote:

> Hi,
>
> these are some simple ugens I've written for the last few projects to make
> life easier. They are all k-rate and include breakpoint-functions, frequency
> <--> midi conversion, midi <--> notename conversions and the starting point
> from porting some conversion ugens from supercollider (linlin, linexp, etc).
>
> https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sanspref
> ix
>
> My c skills are rusty, but to my knowledge they do what they are intended to
> do.
>
> cheers,
>
> Eduardo Moguillansky
>
>
>
> Csound mailing list [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/Csnd-Some-ugens-tp5753926p5753929.html
To start a new topic under Csound - General, email [hidden email]
To unsubscribe from Csound, click here.
NAML



View this message in context: Re: [Csnd] Some ugens
Sent from the Csound - General mailing list archive at Nabble.com.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-01-12 14:53
FromVictor Lazzarini
SubjectRe: Some ugens
Can you do a pull request when you’re ready to go?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Jan 2017, at 09:43, Eduardo Moguillansky  wrote:
> 
> Hi,
> 
> these are some simple ugens I've written for the last few projects to make life easier. They are all k-rate and include breakpoint-functions, frequency <--> midi conversion, midi <--> notename conversions and the starting point from porting some conversion ugens from supercollider (linlin, linexp, etc).
> 
> https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sansprefix
> 
> My c skills are rusty, but to my knowledge they do what they are intended to do.
> 
> cheers,
> 
> Eduardo Moguillansky
> 
> 
> 
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-01-12 15:00
Fromjpff
SubjectRe: Some ugens
Good question.  We need to add that to the API I guess.


On Thu, 12 Jan 2017, moguillansky wrote:

> How do I access the global value of A4 from a plugin?
> 
> On Thu, Jan 12, 2017 at 12:46 PM, jpff [via Csound] <[hidden email]> wrote:
>       Small point; I think you should use the Csound value of A4 as
>       default not
>       442 which is not the stndard
>
>       On Thu, 12 Jan 2017, Eduardo Moguillansky wrote:
>
>       > Hi,
>       >
>       > these are some simple ugens I've written for the last few
>       projects to make
>       > life easier. They are all k-rate and include
>       breakpoint-functions, frequency
>       > <--> midi conversion, midi <--> notename conversions and the
>       starting point
>       > from porting some conversion ugens from supercollider (linlin,
>       linexp, etc).
>       >
>       >
>       https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sanspref
>       > ix
>       >
>       > My c skills are rusty, but to my knowledge they do what they are
>       intended to
>       > do.
>       >
>       > cheers,
>       >
>       > Eduardo Moguillansky
>       >

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-01-12 15:12
FromVictor Lazzarini
SubjectRe: Some ugens
Done, if you update to the latest in git you will have a 

csound->GetA4(csound)

which will give you the currently set A4.

(There is also a csoundGetA4() for the host API).
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Jan 2017, at 15:00, jpff  wrote:
> 
> Good question.  We need to add that to the API I guess.
> 
> 
> On Thu, 12 Jan 2017, moguillansky wrote:
> 
>> How do I access the global value of A4 from a plugin?
>> On Thu, Jan 12, 2017 at 12:46 PM, jpff [via Csound] <[hidden email]> wrote:
>>      Small point; I think you should use the Csound value of A4 as
>>      default not
>>      442 which is not the stndard
>> 
>>      On Thu, 12 Jan 2017, Eduardo Moguillansky wrote:
>> 
>>      > Hi,
>>      >
>>      > these are some simple ugens I've written for the last few
>>      projects to make
>>      > life easier. They are all k-rate and include
>>      breakpoint-functions, frequency
>>      > <--> midi conversion, midi <--> notename conversions and the
>>      starting point
>>      > from porting some conversion ugens from supercollider (linlin,
>>      linexp, etc).
>>      >
>>      >
>>      https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sanspref
>>      > ix
>>      >
>>      > My c skills are rusty, but to my knowledge they do what they are
>>      intended to
>>      > do.
>>      >
>>      > cheers,
>>      >
>>      > Eduardo Moguillansky
>>      >
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-01-12 19:02
Frommoguillansky
SubjectRe: Some ugens
Thanks for the update. I modified the code to use the global value for A4. With this change, mtof is effectively the same as cpsmidinn. There is no midinncps though.

On Thu, Jan 12, 2017 at 4:13 PM, Victor Lazzarini [via Csound] <[hidden email]> wrote:
Done, if you update to the latest in git you will have a

csound->GetA4(csound)

which will give you the currently set A4.

(There is also a csoundGetA4() for the host API).
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 12 Jan 2017, at 15:00, jpff <[hidden email]> wrote:
>
> Good question.  We need to add that to the API I guess.
>
>
> On Thu, 12 Jan 2017, moguillansky wrote:
>
>> How do I access the global value of A4 from a plugin?
>> On Thu, Jan 12, 2017 at 12:46 PM, jpff [via Csound] <[hidden email]> wrote:
>>      Small point; I think you should use the Csound value of A4 as
>>      default not
>>      442 which is not the stndard
>>
>>      On Thu, 12 Jan 2017, Eduardo Moguillansky wrote:
>>
>>      > Hi,
>>      >
>>      > these are some simple ugens I've written for the last few
>>      projects to make
>>      > life easier. They are all k-rate and include
>>      breakpoint-functions, frequency
>>      > <--> midi conversion, midi <--> notename conversions and the
>>      starting point
>>      > from porting some conversion ugens from supercollider (linlin,
>>      linexp, etc).
>>      >
>>      >
>>      https://github.com/gesellkammer/mycsound/tree/master/ugens/emugens-sanspref
>>      > ix
>>      >
>>      > My c skills are rusty, but to my knowledge they do what they are
>>      intended to
>>      > do.
>>      >
>>      > cheers,
>>      >
>>      > Eduardo Moguillansky
>>      >
>
> Csound mailing list
> [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/Csnd-Some-ugens-tp5753926p5753936.html
To start a new topic under Csound - General, email [hidden email]
To unsubscribe from Csound, click here.
NAML



View this message in context: Re: [Csnd] Some ugens
Sent from the Csound - General mailing list archive at Nabble.com.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here