forked from BVLC/caffe
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap to Aquila for FFT (fix BVLC#17)
- Loading branch information
1 parent
105ddb0
commit 324aadb
Showing
87 changed files
with
7,883 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/** | ||
* @file Exceptions.h | ||
* | ||
* Exception class definitions. | ||
* | ||
* This file is part of the Aquila DSP library. | ||
* Aquila is free software, licensed under the MIT/X11 License. A copy of | ||
* the license is provided with the library in the LICENSE file. | ||
* | ||
* @package Aquila | ||
* @version 3.0.0-dev | ||
* @author Zbigniew Siciarz | ||
* @date 2007-2014 | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT | ||
* @since 2.0.0 | ||
*/ | ||
|
||
#ifndef EXCEPTIONS_H | ||
#define EXCEPTIONS_H | ||
|
||
#include "global.h" | ||
#include <stdexcept> | ||
#include <string> | ||
|
||
namespace Aquila | ||
{ | ||
/** | ||
* Base exception class of the library. | ||
* | ||
* Class clients should rather catch exceptions of specific types, such as | ||
* Aquila::FormatException, however it is allowed to catch Aquila::Exception | ||
* as the last resort (but catch(...)). | ||
*/ | ||
class AQUILA_EXPORT Exception : public std::runtime_error | ||
{ | ||
public: | ||
/** | ||
* Creates an exception object. | ||
* | ||
* @param message exception message | ||
*/ | ||
Exception(const std::string& message): | ||
runtime_error(message) | ||
{ | ||
} | ||
}; | ||
|
||
/** | ||
* Data format-related exception. | ||
*/ | ||
class AQUILA_EXPORT FormatException : public Exception | ||
{ | ||
public: | ||
/** | ||
* Creates a data format exception object. | ||
* | ||
* @param message exception message | ||
*/ | ||
FormatException(const std::string& message): | ||
Exception(message) | ||
{ | ||
} | ||
}; | ||
|
||
/** | ||
* Runtime configuration exception. | ||
*/ | ||
class AQUILA_EXPORT ConfigurationException : public Exception | ||
{ | ||
public: | ||
/** | ||
* Creates a configuration exception object. | ||
* | ||
* @param message exception message | ||
*/ | ||
ConfigurationException(const std::string& message): | ||
Exception(message) | ||
{ | ||
} | ||
}; | ||
} | ||
|
||
#endif // EXCEPTIONS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/** | ||
* @file aquila.h | ||
* | ||
* Library "master" header - includes all component headers. | ||
* | ||
* This file is part of the Aquila DSP library. | ||
* Aquila is free software, licensed under the MIT/X11 License. A copy of | ||
* the license is provided with the library in the LICENSE file. | ||
* | ||
* @package Aquila | ||
* @version 3.0.0-dev | ||
* @author Zbigniew Siciarz | ||
* @date 2007-2014 | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT | ||
* @since 3.0.0 | ||
* | ||
* @mainpage | ||
* | ||
* @section what-is-aquila What is Aquila? | ||
* Aquila is an open source and cross-platform DSP (Digital Signal Processing) | ||
* library for C++11. | ||
* | ||
* Aquila provides a set of classes for common DSP operations, such as FFT, DCT, | ||
* Mel-frequency filtering, calculating spectrograms etc. It supports reading | ||
* and writing signals in various formats, such as raw binary files, text files | ||
* or WAVE audio recordings. | ||
* | ||
* @section motivation Motivation | ||
* The initial goal of this project was to develop computer software capable | ||
* of recognizing birds' songs. Since then the library was redesigned and | ||
* extended with more general DSP tools. There are still a few major | ||
* shortcomings, for example the lack of general purpose filter classes, but | ||
* hopefully this will change soon. | ||
*/ | ||
|
||
#ifndef AQUILA_H | ||
#define AQUILA_H | ||
|
||
#include "global.h" | ||
#include "Exceptions.h" | ||
#include "functions.h" | ||
#include "source.h" | ||
#include "transform.h" | ||
#include "filter.h" | ||
#include "ml.h" | ||
#include "tools.h" | ||
|
||
#endif // AQUILA_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* @file filter.h | ||
* | ||
* Convenience header that includes all filter headers. | ||
* | ||
* This file is part of the Aquila DSP library. | ||
* Aquila is free software, licensed under the MIT/X11 License. A copy of | ||
* the license is provided with the library in the LICENSE file. | ||
* | ||
* @package Aquila | ||
* @version 3.0.0-dev | ||
* @author Zbigniew Siciarz | ||
* @date 2007-2014 | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT | ||
* @since 3.0.0 | ||
*/ | ||
|
||
|
||
#ifndef AQUILA_FILTER_H | ||
#define AQUILA_FILTER_H | ||
|
||
#include "filter/MelFilter.h" | ||
#include "filter/MelFilterBank.h" | ||
|
||
#endif // AQUILA_FILTER_H |
Oops, something went wrong.