Changeset 845f2d4 for plugins/puredata


Ignore:
Timestamp:
Mar 16, 2006, 4:47:59 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
9610f0a
Parents:
f8a38c5
Message:

add free function
add free function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/puredata/aubiopitch~.c

    rf8a38c5 r845f2d4  
    1313char aubiopitch_version[] = "aubiopitch~ version 0.1";
    1414
    15 aubio_pitchdetection_type type_pitch = aubio_pitch_mcomb; // aubio_pitch_mcomb
     15aubio_pitchdetection_type type_pitch = aubio_pitch_mcomb;
    1616aubio_pitchdetection_mode mode_pitch = aubio_pitchm_freq;
    1717
     
    9090}
    9191
     92static void *aubiopitch_tilde_del(t_aubiopitch_tilde *x)
     93{
     94        del_aubio_pitchdetection(x->o);
     95        del_fvec(x->vec);
     96        return 0;
     97}
     98
    9299void aubiopitch_tilde_setup (void)
    93100{
    94101        aubiopitch_tilde_class = class_new (gensym ("aubiopitch~"),
    95102                        (t_newmethod)aubiopitch_tilde_new,
    96                         0, sizeof (t_aubiopitch_tilde),
     103                        (t_method)aubiopitch_tilde_del,
     104                        sizeof (t_aubiopitch_tilde),
    97105                        CLASS_DEFAULT, A_DEFFLOAT, 0);
    98106        class_addmethod(aubiopitch_tilde_class,
Note: See TracChangeset for help on using the changeset viewer.