Changeset 687835d
- Timestamp:
- Dec 6, 2018, 3:32:12 PM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 1a3d3b7
- Parents:
- 78a564b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/effects/test-pitchshift.c
r78a564b r687835d 20 20 } 21 21 22 #ifdef HAVE_RUBBERBAND 22 23 uint_t samplerate = 0; 23 24 uint_t hop_size = 64; … … 75 76 del_fvec(out); 76 77 beach_fvec: 78 #else 79 err = 0; 80 PRINT_ERR("aubio was not compiled with rubberband\n"); 81 #endif 77 82 return err; 78 83 } … … 92 97 aubio_pitchshift_t *p = new_aubio_pitchshift(mode, transpose, 93 98 hop_size, samplerate); 99 #ifdef HAVE_RUBBERBAND 94 100 if (!p) return 1; 95 101 if (!aubio_pitchshift_set_pitchscale(p, 0.1)) return 1; 96 102 if (!aubio_pitchshift_set_transpose(p, -30)) return 1; 97 103 del_aubio_pitchshift(p); 104 #else 105 if (p) return 1; 106 #endif 98 107 99 108 return run_on_default_source_and_sink(main);
Note: See TracChangeset
for help on using the changeset viewer.