Ardour
9.0-pre0-582-g084a23a80d
pitch.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008-2009 David Robillard <d@drobilla.net>
3
* Copyright (C) 2008-2013 Paul Davis <paul@linuxaudiosystems.com>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#pragma once
21
22
#ifdef WAF_BUILD
23
#include "libardour-config.h"
24
#endif
25
26
#include "
ardour/filter.h
"
27
#include "
ardour/timefx_request.h
"
28
29
namespace
ARDOUR
{
30
class
AudioRegion;
31
}
32
33
#ifdef USE_RUBBERBAND
34
35
#include "
ardour/rb_effect.h
"
36
37
namespace
ARDOUR
{
38
39
class
LIBARDOUR_API
Pitch
:
public
RBEffect {
40
public
:
41
Pitch
(
ARDOUR::Session
&, TimeFXRequest&);
42
~
Pitch
() {}
43
};
44
45
}
/* namespace */
46
47
# else
48
49
namespace
ARDOUR
{
50
51
class
LIBARDOUR_API
Pitch
:
public
Filter
{
52
public
:
53
Pitch
(
ARDOUR::Session
&,
TimeFXRequest
&);
54
~Pitch
() {}
55
56
int
run
(std::shared_ptr<ARDOUR::Region>, Progress *);
57
58
private
:
59
TimeFXRequest
&
tsr
;
60
};
61
62
}
/* namespace */
63
64
#endif
65
ARDOUR::Filter
Definition:
filter.h:36
ARDOUR::Pitch
Definition:
pitch.h:51
ARDOUR::Pitch::~Pitch
~Pitch()
Definition:
pitch.h:54
ARDOUR::Pitch::run
int run(std::shared_ptr< ARDOUR::Region >, Progress *)
ARDOUR::Pitch::tsr
TimeFXRequest & tsr
Definition:
pitch.h:59
ARDOUR::Pitch::Pitch
Pitch(ARDOUR::Session &, TimeFXRequest &)
ARDOUR::Session
Definition:
session.h:211
Pitch
Definition:
Pitch.h:23
filter.h
LIBARDOUR_API
#define LIBARDOUR_API
Definition:
libardour_visibility.h:38
ARDOUR
Definition:
analysis_window.h:44
rb_effect.h
ARDOUR::TimeFXRequest
Definition:
timefx_request.h:26
timefx_request.h
libs
ardour
ardour
pitch.h
Generated on Wed Dec 25 2024 05:44:44 for Ardour by
1.9.1