Fiddling with Fiddle (in Java)

Miller Puckette mpuckett at man104-1.ucsd.edu
Thu Jan 18 23:34:30 CET 2001


Yep, natural log is right.

On a more general plane, I think there will be some work involved in
turning what is essentially an input/output model (as fiddle~ works under
Pd) into a function-call-and-return model ala Java.  Happy coding...

cheers
Miller

On Wed, Jan 17, 2001 at 04:05:33PM -0600, Joel Trunick wrote:
> 
> Also, I translated the functions exp and log that were in the code to
> natural log (E) functions in Java (Math.exp, or exp base e, and Math.log or
> log base e). Is this correct, using the natural log seems unusual? There was
> an _ilog2 function which I did translate and use where called from fiddle.
> 
> Joel
> 
> -----Original Message-----
> From: Karl MacMillan [mailto:karlmac at peabody.jhu.edu]
> Sent: Wednesday, January 17, 2001 3:00 PM
> To: Joel Trunick
> Cc: 'pd-list at iem.kug.ac.at'
> Subject: Re: Fiddling with Fiddle (in Java)
> 
> 
> Joel,
> 
> The easiest place to see the output data is in one of the program specific
> output functions.  The pd version is sigfiddle_bang - line 1371 in the
> sources that I have.
> 
> Karl
> 
> -- 
> _____________________________________________________
> | Karl W. MacMillan                                 |
> | Computer Music Department                         |
> | Peabody Institute of the Johns Hopkins University |
> | karlmac at peabody.jhu.edu                           |
> | www.peabody.jhu.edu/~karlmac                      |
> -----------------------------------------------------
> 
> On Wed, 17 Jan 2001, Joel Trunick wrote:
> 
> > 
> > 
> > I am trying to port the Fiddle program to Java to use with the Java Media
> > Framework. I was wondering if anyone here has any experience with the
> code. 
> > 
> > My question is actually pretty simple, I have samples being sent thru it,
> > but I am not sure where to pick up the answer (frequency of the note).
> There
> > is a structure with x_hist in it, this appears to be it, but seems to
> always
> > have 0. 
> > 
> > Please let me know if you have worked with the Fiddle code before.
> > 
> > Thanks,
> > Joel 
> > 
> 



More information about the Pd-list mailing list