mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Move library tree where it belongs
This commit is contained in:
17
lib-src/libscorealign/sautils.cpp
Normal file
17
lib-src/libscorealign/sautils.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* sautils.cpp
|
||||
* scorealign
|
||||
*
|
||||
* Created by Roger Dannenberg on 10/20/07.
|
||||
* Copyright 2007 __MyCompanyName__. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "sautils.h"
|
||||
|
||||
double interpolate(double x1, double y1, double x2, double y2, double x)
|
||||
{
|
||||
return y1 + (y2 - y1) * (x - x1) / (x2 - x1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user