[PD-cvs] pd/src builtins_dsp.c, NONE, 1.1.2.1 makefile.in, 1.4.4.2.2.21.2.20, 1.4.4.2.2.21.2.21 d_arithmetic.c, 1.2.4.2, NONE d_array.c, 1.3.4.3.2.4.2.2, NONE d_ctl.c, 1.3.4.12.2.3.2.1, NONE d_dac.c, 1.3.4.2.2.2.2.1, NONE d_delay.c, 1.2.4.6.2.2.2.1, NONE d_fft.c, 1.2.4.1.2.2, NONE d_filter.c, 1.3.4.3.2.4, NONE d_global.c, 1.2.4.2, NONE d_math.c, 1.2.4.2.2.1, NONE d_misc.c, 1.2.8.3.2.1, NONE d_osc.c, 1.2.4.1.2.4.2.2, NONE

Mathieu Bouchard matju at users.sourceforge.net
Wed Jan 3 21:28:34 CET 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27077

Modified Files:
      Tag: desiredata
	makefile.in 
Added Files:
      Tag: desiredata
	builtins_dsp.c 
Removed Files:
      Tag: desiredata
	d_arithmetic.c d_array.c d_ctl.c d_dac.c d_delay.c d_fft.c 
	d_filter.c d_global.c d_math.c d_misc.c d_osc.c 
Log Message:
merged all dsp class definitions together, except d_soundfile.c


--- d_dac.c DELETED ---

--- d_fft.c DELETED ---

Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.4.4.2.2.21.2.20
retrieving revision 1.4.4.2.2.21.2.21
diff -C2 -d -r1.4.4.2.2.21.2.20 -r1.4.4.2.2.21.2.21
*** makefile.in	3 Jan 2007 10:10:47 -0000	1.4.4.2.2.21.2.20
--- makefile.in	3 Jan 2007 20:28:32 -0000	1.4.4.2.2.21.2.21
***************
*** 24,30 ****
  SRC = m_fifo.c m_simd.c \
         m_sched.c s_main.c s_inter.c s_loader.c s_path.c s_audio.c s_midi.c \
!        d_ugen.c d_ctl.c d_arithmetic.c d_osc.c d_filter.c d_dac.c d_misc.c \
!        d_math.c d_fft.c d_mayer_fft.c d_fftroutine.c d_array.c d_global.c \
!        d_delay.c d_resample.c d_soundfile.c
  
  # audio drivers and midi drivers
--- 24,28 ----
  SRC = m_fifo.c m_simd.c \
         m_sched.c s_main.c s_inter.c s_loader.c s_path.c s_audio.c s_midi.c \
!        d_ugen.c builtins_dsp.c d_mayer_fft.c d_fftroutine.c d_resample.c d_soundfile.c
  
  # audio drivers and midi drivers

--- d_ctl.c DELETED ---

--- d_math.c DELETED ---

--- d_arithmetic.c DELETED ---

--- d_array.c DELETED ---

--- d_filter.c DELETED ---

--- d_misc.c DELETED ---

--- NEW FILE: builtins_dsp.c ---
/* Copyright (c) 1997-1999 Miller Puckette.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

/*  arithmetic binops (+, -, *, /).
If no creation argument is given, there are two signal inlets for vector/vector
operation; otherwise it's vector/scalar and the second inlet takes a float
to reset the value.
*/

#include "m_pd.h"

#include "m_simd.h"

/* ----------------------------- plus ----------------------------- */
static t_class *plus_class, *scalarplus_class;

typedef struct _plus
{
[...6915 lines suppressed...]
}

static void noise_setup(void)
{
    noise_class = class_new(gensym("noise~"), (t_newmethod)noise_new, 0,
        sizeof(t_noise), 0, 0);
    class_addmethod(noise_class, (t_method)noise_dsp, gensym("dsp"), 0);
}


/* ----------------------- global setup routine ---------------- */
void d_osc_setup(void)
{
    phasor_setup();
    cos_setup();
    osc_setup();
    sigvcf_setup();
    noise_setup();
}


--- d_delay.c DELETED ---

--- d_global.c DELETED ---

--- d_osc.c DELETED ---





More information about the Pd-cvs mailing list