Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Midi Note Num value converters

Date2007-08-23 03:00
From"Michael Gogins"
SubjectRe: [Cs-dev] Midi Note Num value converters
In line with recent discussions, it would be nice if these converters are as 
precise as they could be.

Best,
Mike

----- Original Message ----- 
From: "Anthony Kozar" 
To: "New Csound Developer list" 
Sent: Wednesday, August 22, 2007 9:19 PM
Subject: [Cs-dev] Midi Note Num value converters


>I have a working implementation of some value converting functions for Midi
> Note number to Csound's various pitch formats.  (Just copied from the
> existing value converters for the most part).  I've put the opcodes in
> entry1.c and aops.c in my local copy of the source so that they will be
> built-in opcodes like the existing converters.  Here are the names and
> syntax that I currently have:
>
>    icps    =    cpsmidinn(imidiNN)
>    ioct    =    octmidinn(imidiNN)
>    ipch    =    pchmidinn(imidiNN)
>
>    kcps    =    cpsmidinn(kmidiNN)
>    koct    =    octmidinn(kmidiNN)
>    kpch    =    pchmidinn(kmidiNN)
>
> Does this look OK to commit or are there any suggestions for changes?
>
> Anthony Kozar
> anthonykozar AT sbcglobal DOT net
> http://anthonykozar.net/
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net