hi,
maybe i didn't give enough information...
perhaps it is something the way types need to be defined in function 
arguments?
or i somehow need to evaluate the  <fun> before passing it as an argument??

On 15/03/13 15:34, Rob Canning wrote:
> hi!
>
> not sure why the value del here causes an error when uncommented while
> freqx work fine
> del is being passed on one function further but not sure why this causes
> a problem as its fine when i hardcode it with del=300.
>
> del=300.
> #del=osc.float("/sc/topoverdel", 300.)
> freqx=osc.float("/sc/topoverfreq", 11110.)
>
> topover =
> pandelay(ladspa.bandpass_a_iir(center_frequency=freqx,bandwidth=50.,
> topover), del, 0.3)

my function is like this:

def pandelay (z,deltime,f)
   z = ladspa.lcrdelay(id="", dry_wet_level=1.,
   l_level=50.,c_level=50.,r_level=50.,
   l_delay=deltime, c_delay=deltime*1.5,r_delay=deltime*1.25,
   low_damp=0.,high_damp=0., feedback=90.,spread=50.,
   z)
   z=ladspa.tap_autopan(frequency=f, depth=80., z)
   z
end

the message from osc is created the exact same way as freqx so is 
definitely a float

any ideas?

thanks,

rob
>
> thanks
>
> rob
>
> At line 71, char 93:
>     this value has type
>       ()->_ (infered at line 60, char 14-37)
>     but it should be a subtype of (the type of the value at line 10, char 24)
>       float (infered at line 18, char 19-21)
>
>
> btw. inferred is spelt inferred not infered
>
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to