• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: audio-specific UI component libraries for Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: audio-specific UI component libraries for Cocoa?


  • Subject: Re: audio-specific UI component libraries for Cocoa?
  • From: Roman Thilenius <email@hidden>
  • Date: Mon, 1 Nov 2010 05:50:48 +0100


On Nov 1, 2010, at 4:10 AM, Stephen Blinkhorn wrote:


btw, you probably (or possibly) don't want actual logarithmic sliders.

the faders on any sane mixing surface and both logarithmic and

nonlinear (i.e. more precision near 0dB)


and you would do the non-linear mapping somewhere other than in the view code?  Any slider will do if it generates a linear floatValue from 0..1 and then just map that range in a controller class to whatever range you need to send to the AU.  That's how I'm doing it at least..


-(IBAction)volume:(id)sender

{

float map_volume = function_to_map_linear_to_fader_value([sender floatValue]);

// send map_volume to AU

}



that is what i would do, too; everything from a GUI goes to 0. 1. and then you can map or distort stuff elsewhere.

i have about 50 different curves based on the usual mathematical formulas such as log, cos, hyperbolic tangens,
bipolar expressions (for things like panning), leave alone expressions for a certain purpose.

usually one line of code and you can type it faster than downloading a third party class. :D
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >audio-specific UI component libraries for Cocoa? (From: Kevin Dixon <email@hidden>)
 >Re: audio-specific UI component libraries for Cocoa? (From: Paul Davis <email@hidden>)
 >Re: audio-specific UI component libraries for Cocoa? (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: Re: audio-specific UI component libraries for Cocoa?
  • Previous by thread: Re: audio-specific UI component libraries for Cocoa?
  • Index(es):
    • Date
    • Thread