fix compilation on Mac OSX
This commit is contained in:
parent
a8f472c0f7
commit
4d94e3c949
2 changed files with 2 additions and 5 deletions
|
@ -58,7 +58,7 @@ double findChordSalience1(
|
|||
if (velocity <= 0)
|
||||
velocity = 1;
|
||||
|
||||
return durationInSeconds * (c4 - pitch) * std::log(velocity);
|
||||
return durationInSeconds * (c4 - pitch) * log(velocity);
|
||||
}
|
||||
|
||||
double findChordSalience2(
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define IMPORTMIDI_CHORD_H
|
||||
|
||||
#include "importmidi_fraction.h"
|
||||
#include "importmidi_tuplet.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -11,10 +12,6 @@ namespace Ms {
|
|||
class Tie;
|
||||
class TimeSigMap;
|
||||
|
||||
namespace MidiTuplet {
|
||||
struct TupletData;
|
||||
}
|
||||
|
||||
class MidiNote {
|
||||
public:
|
||||
int pitch;
|
||||
|
|
Loading…
Reference in a new issue