This commit is contained in:
Chris Cannam
2007-11-08 15:02:47 +00:00
parent a8ef8ea887
commit 1d7dbbdb05
3 changed files with 33 additions and 3 deletions

22
TODO Normal file
View File

@@ -0,0 +1,22 @@
* Threading lock structure is very slow if it becomes starved of CPUs
* Fix "!!!" points
* Rationalise naming further (e.g. use of "lock" for both peak phases
and resynchronisation at transients)
* LADSPA plugin has too much "artificial latency"
* LADSPA plugin could do with switches for transient/phaselock
* LADSPA plugin probably doesn't want to go any higher than about +2 octaves
* Vamp plugin argument no longer properly reflect internal parameters
* Solve "for very long stretches" issue in calculateSizes()
* Sort out resynthesis gain
Rejig crispness options:
0 - no transients, no peak lock, long window
1 - no transients, no peak lock, normal window
2 - no transients, peak lock, normal window
3 - band-limited transients, peak lock, normal window
4 - transients, no peak lock, normal window * - is this a good option to have?
5 - transients, peak lock, normal window
6 - transients, no peak lock, short window

View File

@@ -31,8 +31,8 @@ AC_SUBST(VAMP_LIBS)
changequote(,)dnl
if test "x$GCC" = "xyes"; then
case " $CXXFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
*) CXXFLAGS="$CXXFLAGS -Wall" ;;
*[\ \ ]-fPIC -Wall[\ \ ]*) ;;
*) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;;
esac
fi
changequote([,])dnl

View File

@@ -567,7 +567,15 @@ RubberBandStretcher::Impl::modifyChunk(size_t channel, size_t outputIncrement,
pp = cd.freqPeak[i-1];
}
if (!lock) {
bool lockThis = lock;
/*!!!
size_t low = lrint((150 * m_blockSize) / rate);
size_t high = lrint((1000 * m_blockSize) / rate);
if (lockThis) {
if (i > low && i < high) lockThis = false;
}
*/
if (!lockThis) {
if (i == 0 || p != pp) {