- Timestamp:
- Dec 7, 2018, 6:03:45 PM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/timestretch, fix/ffmpeg5, master
- Children:
- 6e157df
- Parents:
- b2f41be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/effects/test-timestretch.c
rb2f41be rff87a67 44 44 fvec_t *in = new_fvec(source_hopsize); 45 45 fvec_t *out = new_fvec(hop_size); 46 if (!out ) { err = 1; goto beach_fvec; }46 if (!out || !in) { err = 1; goto beach_fvec; } 47 47 48 48 aubio_timestretch_t *ps = new_aubio_timestretch(mode, stretch, hop_size, … … 91 91 beach_timestretch: 92 92 del_fvec(out); 93 del_fvec(in); 93 94 beach_fvec: 94 95 del_aubio_source(s); … … 108 109 uint_t samplerate = 44100; 109 110 110 if (new_aubio_timestretch("??", stretch, hop_size, samplerate)) return 1; 111 if (new_aubio_timestretch("ProcessOffline:?:", stretch, hop_size, samplerate)) return 1; 112 if (new_aubio_timestretch("", stretch, hop_size, samplerate)) return 1; 111 113 if (new_aubio_timestretch(mode, 41., hop_size, samplerate)) return 1; 112 114 if (new_aubio_timestretch(mode, stretch, 0, samplerate)) return 1; … … 119 121 120 122 if (aubio_timestretch_get_latency(p) == 0) return 1; 123 124 if (aubio_timestretch_get_samplerate(p) != samplerate) return 1; 121 125 122 126 aubio_timestretch_reset(p);
Note: See TracChangeset
for help on using the changeset viewer.