Breakthrough -- calling FORTRAN from Squeak !

Stephen Travis Pope stp at create.ucsb.edu
Thu Dec 16 18:55:25 UTC 1999


Yes, folks, you heard it here first! I've just completed the first
version of a plug-in for linear-predictive sound coding and
cross-synthesis from squeak. It's based on a package called cmix from
Paul Lansky at Princeton, which uses DSP routines written in FORTRAN.
(Thanks to the Macf2c translator -- I know, it's cheating.) this means
that all-time classic code such as,

do 530 j=1,mm
      k=mm-j+1
530   bb(k)=w*bb(k+1)+save(k)
      p=bb(1)
      partr=p
      parti=-jay*p
      if(dsqrt(partr**2+parti**2).gt.amax)goto300
      cc(mmp)=bb(mmp)
      mdec=mm-1
      do 560 j=1,mdec
      k=mm-j+1
560   cc(k)=w*cc(k+1)+bb(k)

can be embedded in squeak methods!

ROCK ON!

--

stp
  Stephen Travis Pope
  stp at create.ucsb.edu -- http://www.create.ucsb.edu/~stp





More information about the Squeak-dev mailing list