Changes in / [95221ac:ab24edb]


Ignore:
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • azure-pipelines.yml

    r95221ac rab24edb  
    11#  configuration file for azure continuous integration
    22jobs:
    3 
    43- job: linux
    54  pool:
    65    vmImage: 'Ubuntu 16.04'
     6
    77  steps:
    88  - script: |
    99      make
    1010    displayName: 'make'
    11     env:
    12       CFLAGS: -Werror
    13 
    1411- job: windows
    1512  pool:
    1613    vmIMage: 'VS2017-Win2016'
     14
    1715  steps:
    1816  - script: |
     
    2624  pool:
    2725    vmIMage: macOS-10.13
     26
    2827  steps:
    2928  - script: |
     
    3534      make
    3635    displayName: 'make'
    37     env:
    38       CFLAGS: -Werror
  • doc/aubiomfcc.txt

    r95221ac rab24edb  
    5252  url:
    5353
    54   https://engineering.purdue.edu/~malcolm/interval/1998-010/ (see file mfcc.m)
     54  http://cobweb.ecn.purdue.edu/~malcolm/interval/1998-010/ (see file mfcc.m)
    5555
    5656SEE ALSO
  • python/ext/py-filterbank.c

    r95221ac rab24edb  
    9595  if (self->vec.length != self->win_s / 2 + 1) {
    9696    PyErr_Format(PyExc_ValueError,
    97                  "input cvec has length %d, but filterbank expects length %d",
     97                 "input cvec has length %d, but fft expects length %d",
    9898                 self->vec.length, self->win_s / 2 + 1);
    9999    return NULL;
     
    140140  if (err > 0) {
    141141    PyErr_SetString (PyExc_ValueError,
    142         "error when running set_triangle_bands");
     142        "error when setting filter to A-weighting");
    143143    return NULL;
    144144  }
     
    159159  if (err > 0) {
    160160    PyErr_SetString (PyExc_ValueError,
    161         "error when running set_mel_coeffs_slaney");
     161        "error when setting filter to A-weighting");
    162162    return NULL;
    163163  }
  • python/lib/aubio/cmd.py

    r95221ac rab24edb  
    503503def main():
    504504    parser = aubio_parser()
    505     if sys.version_info[0] != 3:
    506         # on py2, create a dummy ArgumentParser to workaround the
    507         # optional subcommand issue. See https://bugs.python.org/issue9253
    508         # This ensures that:
    509         #  - version string is shown when only '-V' is passed
    510         #  - help is printed if  '-V' is passed with any other argument
    511         #  - any other argument get forwarded to the real parser
    512         parser_root = argparse.ArgumentParser(add_help=False)
    513         parser_root.add_argument('-V', '--version', help="show version",
    514                 action="store_true", dest="show_version")
    515         args, extras = parser_root.parse_known_args()
    516         if args.show_version == False: # no -V, forward to parser
    517             args = parser.parse_args(extras, namespace=args)
    518         elif len(extras) != 0: # -V with other arguments, print help
    519             parser.print_help()
    520             sys.exit(1)
    521     else: # in py3, we can simply use parser directly
    522         args = parser.parse_args()
     505    args = parser.parse_args()
    523506    if 'show_version' in args and args.show_version:
    524507        sys.stdout.write('aubio version ' + aubio.version + '\n')
  • python/tests/test_aubio_cmd.py

    r95221ac rab24edb  
    2020
    2121    def test_samples2seconds(self):
    22         self.assertEqual(aubio.cmd.samples2seconds(3200, 32000),
    23                 "0.100000\t")
     22        self.assertEqual(aubio.cmd.samples2seconds(3200, 32000), "0.100000\t")
    2423
    2524    def test_samples2milliseconds(self):
    26         self.assertEqual(aubio.cmd.samples2milliseconds(3200, 32000),
    27                 "100.000000\t")
     25        self.assertEqual(aubio.cmd.samples2milliseconds(3200, 32000), "100.000000\t")
    2826
    2927    def test_samples2samples(self):
    30         self.assertEqual(aubio.cmd.samples2samples(3200, 32000),
    31                 "3200\t")
     28        self.assertEqual(aubio.cmd.samples2samples(3200, 32000), "3200\t")
    3229
    3330if __name__ == '__main__':
  • src/io/source_avcodec.c

    r95221ac rab24edb  
    435435    goto beach;
    436436  }
    437 #else
    438 #warning "avutil < 53 is deprecated, crashes might occur on corrupt files"
    439437#endif
    440438
  • src/spectral/filterbank_mel.h

    r95221ac rab24edb  
    5959
    6060  The filter coefficients are built according to Malcolm Slaney's Auditory
    61   Toolbox, available online at the following address (see file mfcc.m):
    62 
    63   https://engineering.purdue.edu/~malcolm/interval/1998-010/
     61  Toolbox, available at http://engineering.purdue.edu/~malcolm/interval/1998-010/
     62  (see file mfcc.m).
    6463
    6564*/
  • src/spectral/mfcc.h

    r95221ac rab24edb  
    2727
    2828  The implementation follows the specifications established by Malcolm Slaney
    29   in its Auditory Toolbox, available online at the following address (see
    30   file mfcc.m):
     29  in its Auditory Toolbox, available online (see file mfcc.m).
    3130
    32   https://engineering.purdue.edu/~malcolm/interval/1998-010/
     31  http://engineering.ecn.purdue.edu/~malcolm/interval/1998-010/
    3332
    3433  \example spectral/test-mfcc.c
  • src/spectral/phasevoc.c

    r95221ac rab24edb  
    213213    synthold[i] += synth[i + pv->hop_s] * pv->scale;
    214214}
    215 
    216 uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv)
    217 {
    218   return pv->win_s;
    219 }
    220 
    221 uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv)
    222 {
    223   return pv->hop_s;
    224 }
  • src/spectral/phasevoc.h

    r95221ac rab24edb  
    8989*/
    9090uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv);
    91 
    9291/** get hop size
    9392
Note: See TracChangeset for help on using the changeset viewer.