Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] [Csnd] MIDI Pan Curve

Date2006-10-28 13:23
From"Michael Gogins"
SubjectRe: [Cs-dev] [Csnd] MIDI Pan Curve
There are one or two Web sites at universities about Ambisonics that should 
get you going.

A good starting point (as increasingly seems the case) is the Wikipedia. It 
links to these other sites.

Regards,
Mike

----- Original Message ----- 
From: "Art Hunkins" 
To: "Developer discussions" 
Sent: Saturday, October 28, 2006 1:15 AM
Subject: Re: [Cs-dev] [Csnd] MIDI Pan Curve


> Thanks to both you and Michael for the "thumbs up" about Ambisonics.
>
> The opcode docs don't show recommended or default values for the various
> input parameters when encoding. Do you have any? (I'm just looking for
> reasonable starting points.)
>
> Art Hunkins
>
> ----- Original Message ----- 
> From: "David Ogborn" 
> To: "Art Hunkins" ; "Developer discussions"
> 
> Sent: Saturday, October 28, 2006 12:46 AM
> Subject: Re: [Cs-dev] [Csnd] MIDI Pan Curve
>
>
>> Absolutely - I routinely do live electronic pieces with Ambisonics
>> functioning as an "abstraction layer" for the spatialization, decoding
>> to 2, 4, 6, or 8 channels depending on the gig.  The decoding math is
>> just a multiplication or two and add per channel.  The encoding math is
>> not much more involved.  Very cheap operations.
>>
>> Yours truly,
>> David
>>
>> Art Hunkins wrote:
>> > Any idea whether an ambisonic B encode/decode for stereo or quad could
> be
>> > done in Csound in *real time*?
>> >
>> > Art Hunkins
>> >
>> > ----- Original Message ----- 
>> > From: "Victor Lazzarini" 
>> > To: "Developer discussions" ; "Art
>> > Hunkins" 
>> > Sent: Friday, October 27, 2006 7:17 PM
>> > Subject: Re: [Csnd] MIDI Pan Curve
>> >
>> >
>> > I'd say ambisonics. Even stereo reductions are
>> > quite impressive.
>> >
>> >> A general question about pan opcodes (including UDO's):
>> >>
>> >> Which of the available options give the clearest spatial
>> >> localization?
>> >>
>> >> I understand that many acoustical factors are involved in
>> >> achieving two- or three-dimensional imaging, but would
>> >> like advice as to which Csound opcodes create the *most
>> >> precise* positioning in the stereo (or quad) field.
>> >>
>> >> I've always been disappointed that my attempts to position
>> >> sounds have largely fallen flat, and not been perceptually
>> >> apparent in any very specific sense. (I've used the pan
>> >> opcode.) In a nutshell, I'm looking for Csound code that
>> >> can better project perceptual space.
>> >>
>> >> Thanks for sharing your experience.
>> >>
>> >> Art Hunkins
>> >>
>> >> ----- Original Message -----
>> >> From: "Steven Yi" 
>> >> To: 
>> >> Sent: Friday, October 27, 2006 3:27 PM
>> >> Subject: Re: [Csnd] MIDI Pan Curve
>> >>
>> >>
>> >> Hi All,
>> >>
>> >> Just wanted to note that I did a bug fix of this panning
>> >> UDO today (hard left gave NaN for right channel signal)
>> >> and have renamed it to pan_gm2 as it's a recommendation
>> >> for General Midi 2 implementors.  If you've downloaded
>> >> this UDO please try downloading again here:
>> >>
>> >>
>> > http://www.csounds.com/udo/displayOpcode.php?opcode_id=90
>> >> Thanks!
>> >> steven
>> >>
>> >>
>> >> On 10/26/06, Steven Yi  wrote:
>> >>> Hi All,
>> >>>
>> >>> I came across a document today called "Default Pan
>> >> Curve" on the MIDI website:
>> >>> http://www.midi.org/about-midi/specshome.shtml
>> >>>
>> >>> and have implemented it as a UDO here:
>> >>>
>> >>>
>> > http://www.csounds.com/udo/displayOpcode.php?opcode_id=90
>> >>>> It's described in the spec as:
>> >>> Over the course of the development of MIDI, different
>> >>> manufacturers have implemented
>> >>> their own responses to CC#10. In addition, various
>> >>> AMEI/MMA Specification (such as GM2 and
>> >>> DLS2) have recommended response curves that are not all
>> >>> the same. The different pan curves produce
>> >>> an equal power distribution between the left and right
>> >>> channels, but in some cases, a true center could
>> >>> not be achieved by following the recommended equation
>> >>> directly. The formula in this RP does achieve a
>> >>> true center and uses an equal power distribution, which
>> >> is desirable. >
>> >>> The formula given is:
>> >>>
>> >>> Left Channel Gain [dB] = 20*log (cos (Pi/2*
>> > max(0,CC#10
>> >>> - 1)/126) Right Channel Gain [dB] = 20*log (sin (Pi
>> > /2*
>> >> max(0,CC#10 - 1)/126) >
>> >>> I realized just now that I've rescaled the values to be
>> >>> between -1 and 1 which is what I'm accustomed to, but
>> >>> then naming it pan_midi doesn't make that much sense
>> >>> then.  Would anyone have a recommendation on what to
>> >> call this?  And should a pan_midi which takes in 0-127 be
>> >> added? >
>> >>> Thanks!
>> >>> steven
>> >>>
>> >> --
>> >> Send bugs reports to this list.
>> >> To unsubscribe, send email to
>> >> csound-unsubscribe@lists.bath.ac.uk
>> >>
>> >> --
>> >> Send bugs reports to this list.
>> >> To unsubscribe, send email to
>> >> csound-unsubscribe@lists.bath.ac.uk
>> >
>> >
>>
>> -------------------------------------------------------------------------
>> > Using Tomcat but need to do more? Need to support web services,
> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
> easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-10-29 04:53
FromDavid Worrall
SubjectRe: [Cs-dev] [Csnd] MIDI Pan Curve
http://www.ambisonic.net/

is a good place to start the ambisonics read on the internet.
The link to my old centre ACAT (Aust. Centre for Arts & Tech)  
ambisonics pages
is broken; they are now here: http://www.kvp.net.au/Ambisonicswork.html
and include a sensible background/overview to 3D.

the sursound discussion list is active but includes recording as well  
as production.
There are new 3D microphones including DIY around.

Has anyone developed opcodes for decoding ambisonic to binaural?
I've got some papers about it somewhere .. now that would be REALLY  
neat in Cs!

David

On 28/10/2006, at 10:23 PM, Michael Gogins wrote:

> There are one or two Web sites at universities about Ambisonics  
> that should
> get you going.
>
> A good starting point (as increasingly seems the case) is the  
> Wikipedia. It
> links to these other sites.
>
> Regards,
> Mike
>
> ----- Original Message -----
> From: "Art Hunkins" 
> To: "Developer discussions" 
> Sent: Saturday, October 28, 2006 1:15 AM
> Subject: Re: [Cs-dev] [Csnd] MIDI Pan Curve
>
>
>> Thanks to both you and Michael for the "thumbs up" about Ambisonics.
>>
>> The opcode docs don't show recommended or default values for the  
>> various
>> input parameters when encoding. Do you have any? (I'm just looking  
>> for
>> reasonable starting points.)
>>
>> Art Hunkins
>>
>> ----- Original Message -----
>> From: "David Ogborn" 
>> To: "Art Hunkins" ; "Developer discussions"
>> 
>> Sent: Saturday, October 28, 2006 12:46 AM
>> Subject: Re: [Cs-dev] [Csnd] MIDI Pan Curve
>>
>>
>>> Absolutely - I routinely do live electronic pieces with Ambisonics
>>> functioning as an "abstraction layer" for the spatialization,  
>>> decoding
>>> to 2, 4, 6, or 8 channels depending on the gig.  The decoding  
>>> math is
>>> just a multiplication or two and add per channel.  The encoding  
>>> math is
>>> not much more involved.  Very cheap operations.
>>>
>>> Yours truly,
>>> David
>>>
>>> Art Hunkins wrote:
>>>> Any idea whether an ambisonic B encode/decode for stereo or quad  
>>>> could
>> be
>>>> done in Csound in *real time*?
>>>>
>>>> Art Hunkins
>>>>
>>>> ----- Original Message -----
>>>> From: "Victor Lazzarini" 
>>>> To: "Developer discussions" >>> devel@lists.sourceforge.net>; "Art
>>>> Hunkins" 
>>>> Sent: Friday, October 27, 2006 7:17 PM
>>>> Subject: Re: [Csnd] MIDI Pan Curve
>>>>
>>>>
>>>> I'd say ambisonics. Even stereo reductions are
>>>> quite impressive.
....(snip)...
_______________________________________
experimental polymedia:	www.avatar.com.au
Sonic Communications Research Group,
University of Canberra:	 www.canberra.edu.au





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net