react-native-gizwits-sdk-v5 1.5.6-thirdbluetooth → 1.5.7-thirdbluetooth
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/react-native-gizwits-sdk-v5.podspec +2 -2
- package/ios/GizwitsiOSSDK.framework/GizwitsiOSSDK +0 -0
- package/ios/GizwitsiOSSDK.framework/Headers/CocoaAsyncSocket.h +0 -18
- package/ios/GizwitsiOSSDK.framework/Headers/DDASLLogger.h +0 -41
- package/ios/GizwitsiOSSDK.framework/Headers/DDAbstractDatabaseLogger.h +0 -102
- package/ios/GizwitsiOSSDK.framework/Headers/DDContextFilterLogFormatter.h +0 -63
- package/ios/GizwitsiOSSDK.framework/Headers/DDDispatchQueueLogFormatter.h +0 -128
- package/ios/GizwitsiOSSDK.framework/Headers/DDFileLogger.h +0 -340
- package/ios/GizwitsiOSSDK.framework/Headers/DDLog+LOGV.h +0 -99
- package/ios/GizwitsiOSSDK.framework/Headers/DDLog.h +0 -632
- package/ios/GizwitsiOSSDK.framework/Headers/DDMultiFormatter.h +0 -30
- package/ios/GizwitsiOSSDK.framework/Headers/DDTTYLogger.h +0 -171
- package/ios/GizwitsiOSSDK.framework/Headers/ESPAES.h +0 -19
- package/ios/GizwitsiOSSDK.framework/Headers/ESPDataCode.h +0 -44
- package/ios/GizwitsiOSSDK.framework/Headers/ESPDatumCode.h +0 -38
- package/ios/GizwitsiOSSDK.framework/Headers/ESPGuideCode.h +0 -15
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTools.h +0 -22
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouch.h +0 -36
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchDelegate.h +0 -24
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchGenerator.h +0 -46
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchResult.h +0 -36
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchTask.h +0 -124
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchTaskParameter.h +0 -173
- package/ios/GizwitsiOSSDK.framework/Headers/ESPUDPSocketClient.h +0 -50
- package/ios/GizwitsiOSSDK.framework/Headers/ESPUDPSocketServer.h +0 -49
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_ByteUtil.h +0 -128
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_CRC8.h +0 -61
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_NetUtil.h +0 -82
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_WifiUtil.h +0 -33
- package/ios/GizwitsiOSSDK.framework/Headers/ForegroundReconnection.h +0 -23
- package/ios/GizwitsiOSSDK.framework/Headers/GCDTimer.h +0 -19
- package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK-Swift.h +0 -338
- package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK.h +0 -24
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTClient.h +0 -39
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTInMemoryPersistence.h +0 -16
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyDecoder.h +0 -19
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyEncoder.h +0 -18
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionLegacy.h +0 -112
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionSynchron.h +0 -194
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTStrict.h +0 -33
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTUntil.h +0 -14
- package/ios/GizwitsiOSSDK.framework/Headers/ReconnectTimer.h +0 -21
- package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncSocket.h +0 -1226
- package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncUdpSocket.h +0 -1036
- package/ios/GizwitsiOSSDK.framework/Headers/_GizwitsParser.h +0 -61
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketDecoder.h +0 -39
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketEncoder.h +0 -38
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketTransport.h +0 -79
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCoreDataPersistence.h +0 -21
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTDecoder.h +0 -66
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTLog.h +0 -123
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTMessage.h +0 -233
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTPersistence.h +0 -124
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTProperties.h +0 -76
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicy.h +0 -158
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicyTransport.h +0 -30
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSession.h +0 -886
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSessionManager.h +0 -237
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTTransport.h +0 -114
- package/ios/GizwitsiOSSDK.framework/Headers/_SSZipArchive.h +0 -178
- package/ios/GizwitsiOSSDK.framework/Headers/_SSZipCommon.h +0 -71
- package/ios/GizwitsiOSSDK.framework/Headers/_ZipArchive.h +0 -26
- package/ios/GizwitsiOSSDK.framework/Headers/a_weighting.h +0 -88
- package/ios/GizwitsiOSSDK.framework/Headers/aubio.h +0 -231
- package/ios/GizwitsiOSSDK.framework/Headers/audio_unit.h +0 -61
- package/ios/GizwitsiOSSDK.framework/Headers/awhitening.h +0 -125
- package/ios/GizwitsiOSSDK.framework/Headers/beattracking.h +0 -121
- package/ios/GizwitsiOSSDK.framework/Headers/biquad.h +0 -75
- package/ios/GizwitsiOSSDK.framework/Headers/c_weighting.h +0 -88
- package/ios/GizwitsiOSSDK.framework/Headers/common.h +0 -104
- package/ios/GizwitsiOSSDK.framework/Headers/cvec.h +0 -247
- package/ios/GizwitsiOSSDK.framework/Headers/dct.h +0 -85
- package/ios/GizwitsiOSSDK.framework/Headers/fft.h +0 -144
- package/ios/GizwitsiOSSDK.framework/Headers/filter.h +0 -176
- package/ios/GizwitsiOSSDK.framework/Headers/filterbank.h +0 -90
- package/ios/GizwitsiOSSDK.framework/Headers/filterbank_mel.h +0 -72
- package/ios/GizwitsiOSSDK.framework/Headers/fmat.h +0 -172
- package/ios/GizwitsiOSSDK.framework/Headers/fvec.h +0 -178
- package/ios/GizwitsiOSSDK.framework/Headers/hist.h +0 -63
- package/ios/GizwitsiOSSDK.framework/Headers/ioutils.h +0 -60
- package/ios/GizwitsiOSSDK.framework/Headers/log.h +0 -99
- package/ios/GizwitsiOSSDK.framework/Headers/lvec.h +0 -118
- package/ios/GizwitsiOSSDK.framework/Headers/mathutils.h +0 -330
- package/ios/GizwitsiOSSDK.framework/Headers/mfcc.h +0 -79
- package/ios/GizwitsiOSSDK.framework/Headers/musicutils.h +0 -171
- package/ios/GizwitsiOSSDK.framework/Headers/notes.h +0 -113
- package/ios/GizwitsiOSSDK.framework/Headers/onset.h +0 -347
- package/ios/GizwitsiOSSDK.framework/Headers/parameter.h +0 -159
- package/ios/GizwitsiOSSDK.framework/Headers/peakpicker.h +0 -57
- package/ios/GizwitsiOSSDK.framework/Headers/phasevoc.h +0 -112
- package/ios/GizwitsiOSSDK.framework/Headers/pitch.h +0 -197
- package/ios/GizwitsiOSSDK.framework/Headers/pitchfcomb.h +0 -76
- package/ios/GizwitsiOSSDK.framework/Headers/pitchmcomb.h +0 -77
- package/ios/GizwitsiOSSDK.framework/Headers/pitchschmitt.h +0 -75
- package/ios/GizwitsiOSSDK.framework/Headers/pitchspecacf.h +0 -103
- package/ios/GizwitsiOSSDK.framework/Headers/pitchyin.h +0 -100
- package/ios/GizwitsiOSSDK.framework/Headers/pitchyinfast.h +0 -102
- package/ios/GizwitsiOSSDK.framework/Headers/pitchyinfft.h +0 -99
- package/ios/GizwitsiOSSDK.framework/Headers/resampler.h +0 -65
- package/ios/GizwitsiOSSDK.framework/Headers/sampler.h +0 -140
- package/ios/GizwitsiOSSDK.framework/Headers/scale.h +0 -80
- package/ios/GizwitsiOSSDK.framework/Headers/sink.h +0 -181
- package/ios/GizwitsiOSSDK.framework/Headers/sink_apple_audio.h +0 -163
- package/ios/GizwitsiOSSDK.framework/Headers/sink_sndfile.h +0 -162
- package/ios/GizwitsiOSSDK.framework/Headers/sink_wavwrite.h +0 -162
- package/ios/GizwitsiOSSDK.framework/Headers/source.h +0 -184
- package/ios/GizwitsiOSSDK.framework/Headers/source_apple_audio.h +0 -156
- package/ios/GizwitsiOSSDK.framework/Headers/source_avcodec.h +0 -155
- package/ios/GizwitsiOSSDK.framework/Headers/source_sndfile.h +0 -155
- package/ios/GizwitsiOSSDK.framework/Headers/source_wavread.h +0 -160
- package/ios/GizwitsiOSSDK.framework/Headers/specdesc.h +0 -204
- package/ios/GizwitsiOSSDK.framework/Headers/tempo.h +0 -255
- package/ios/GizwitsiOSSDK.framework/Headers/tss.h +0 -103
- package/ios/GizwitsiOSSDK.framework/Headers/types.h +0 -70
- package/ios/GizwitsiOSSDK.framework/Headers/vecutils.h +0 -116
- package/ios/GizwitsiOSSDK.framework/Headers/wavetable.h +0 -178
- package/ios/GizwitsiOSSDK.framework/Info.plist +0 -0
- package/ios/GizwitsiOSSDK.framework/LICENSE +0 -17
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.abi.json +0 -57489
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1752
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftinterface +0 -1752
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/ios/GizwitsiOSSDK.framework/Modules/module.modulemap +0 -11
- package/ios/GizwitsiOSSDK.framework/PrivacyInfo.xcprivacy +0 -23
- package/ios/GizwitsiOSSDK.framework/README.md +0 -31
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2006-2013 Paul Brossier <piem@aubio.org>
|
|
3
|
-
|
|
4
|
-
This file is part of aubio.
|
|
5
|
-
|
|
6
|
-
aubio is free software: you can redistribute it and/or modify
|
|
7
|
-
it under the terms of the GNU General Public License as published by
|
|
8
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
-
(at your option) any later version.
|
|
10
|
-
|
|
11
|
-
aubio is distributed in the hope that it will be useful,
|
|
12
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
-
GNU General Public License for more details.
|
|
15
|
-
|
|
16
|
-
You should have received a copy of the GNU General Public License
|
|
17
|
-
along with aubio. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/** \file
|
|
22
|
-
|
|
23
|
-
Tempo detection object
|
|
24
|
-
|
|
25
|
-
This object stores all the memory required for tempo detection algorithm
|
|
26
|
-
and returns the estimated beat locations.
|
|
27
|
-
|
|
28
|
-
\example tempo/test-tempo.c
|
|
29
|
-
\example examples/aubiotrack.c
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
#ifndef AUBIO_TEMPO_H
|
|
34
|
-
#define AUBIO_TEMPO_H
|
|
35
|
-
|
|
36
|
-
#ifdef __cplusplus
|
|
37
|
-
extern "C" {
|
|
38
|
-
#endif
|
|
39
|
-
|
|
40
|
-
/** tempo detection structure */
|
|
41
|
-
typedef struct _aubio_tempo_t aubio_tempo_t;
|
|
42
|
-
|
|
43
|
-
/** create tempo detection object
|
|
44
|
-
|
|
45
|
-
\param method beat tracking method, unused for now (use "default")
|
|
46
|
-
\param buf_size length of FFT
|
|
47
|
-
\param hop_size number of frames between two consecutive runs
|
|
48
|
-
\param samplerate sampling rate of the signal to analyze
|
|
49
|
-
|
|
50
|
-
\return newly created ::aubio_tempo_t if successful, `NULL` otherwise
|
|
51
|
-
|
|
52
|
-
*/
|
|
53
|
-
aubio_tempo_t * new_aubio_tempo (const char_t * method,
|
|
54
|
-
uint_t buf_size, uint_t hop_size, uint_t samplerate);
|
|
55
|
-
|
|
56
|
-
/** execute tempo detection
|
|
57
|
-
|
|
58
|
-
\param o beat tracking object
|
|
59
|
-
\param input new samples
|
|
60
|
-
\param tempo output beats
|
|
61
|
-
|
|
62
|
-
*/
|
|
63
|
-
void aubio_tempo_do (aubio_tempo_t *o, const fvec_t * input, fvec_t * tempo);
|
|
64
|
-
|
|
65
|
-
/** get the time of the latest beat detected, in samples
|
|
66
|
-
|
|
67
|
-
\param o tempo detection object as returned by ::new_aubio_tempo
|
|
68
|
-
|
|
69
|
-
*/
|
|
70
|
-
uint_t aubio_tempo_get_last (aubio_tempo_t *o);
|
|
71
|
-
|
|
72
|
-
/** get the time of the latest beat detected, in seconds
|
|
73
|
-
|
|
74
|
-
\param o tempo detection object as returned by ::new_aubio_tempo
|
|
75
|
-
|
|
76
|
-
*/
|
|
77
|
-
smpl_t aubio_tempo_get_last_s (aubio_tempo_t *o);
|
|
78
|
-
|
|
79
|
-
/** get the time of the latest beat detected, in milliseconds
|
|
80
|
-
|
|
81
|
-
\param o tempo detection object as returned by ::new_aubio_tempo
|
|
82
|
-
|
|
83
|
-
*/
|
|
84
|
-
smpl_t aubio_tempo_get_last_ms (aubio_tempo_t *o);
|
|
85
|
-
|
|
86
|
-
/** set tempo detection silence threshold
|
|
87
|
-
|
|
88
|
-
\param o beat tracking object
|
|
89
|
-
\param silence new silence threshold, in dB
|
|
90
|
-
|
|
91
|
-
\return `0` if successful, non-zero otherwise
|
|
92
|
-
|
|
93
|
-
*/
|
|
94
|
-
uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence);
|
|
95
|
-
|
|
96
|
-
/** get tempo detection silence threshold
|
|
97
|
-
|
|
98
|
-
\param o tempo detection object as returned by new_aubio_tempo()
|
|
99
|
-
|
|
100
|
-
\return current silence threshold
|
|
101
|
-
|
|
102
|
-
*/
|
|
103
|
-
smpl_t aubio_tempo_get_silence(aubio_tempo_t * o);
|
|
104
|
-
|
|
105
|
-
/** set tempo detection peak picking threshold
|
|
106
|
-
|
|
107
|
-
\param o beat tracking object
|
|
108
|
-
\param threshold new threshold
|
|
109
|
-
|
|
110
|
-
\return `0` if successful, non-zero otherwise
|
|
111
|
-
|
|
112
|
-
*/
|
|
113
|
-
uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold);
|
|
114
|
-
|
|
115
|
-
/** get tempo peak picking threshold
|
|
116
|
-
|
|
117
|
-
\param o tempo detection object as returned by new_aubio_tempo()
|
|
118
|
-
|
|
119
|
-
\return current tempo detection threshold
|
|
120
|
-
|
|
121
|
-
*/
|
|
122
|
-
smpl_t aubio_tempo_get_threshold(aubio_tempo_t * o);
|
|
123
|
-
|
|
124
|
-
/** get current beat period in samples
|
|
125
|
-
|
|
126
|
-
\param bt beat tracking object
|
|
127
|
-
|
|
128
|
-
Returns the currently observed period, in samples, or 0 if no consistent
|
|
129
|
-
value is found.
|
|
130
|
-
|
|
131
|
-
*/
|
|
132
|
-
smpl_t aubio_tempo_get_period (aubio_tempo_t * bt);
|
|
133
|
-
|
|
134
|
-
/** get current beat period in seconds
|
|
135
|
-
|
|
136
|
-
\param bt beat tracking object
|
|
137
|
-
|
|
138
|
-
Returns the currently observed period, in seconds, or 0 if no consistent
|
|
139
|
-
value is found.
|
|
140
|
-
|
|
141
|
-
*/
|
|
142
|
-
smpl_t aubio_tempo_get_period_s (aubio_tempo_t * bt);
|
|
143
|
-
|
|
144
|
-
/** get current tempo
|
|
145
|
-
|
|
146
|
-
\param o beat tracking object
|
|
147
|
-
|
|
148
|
-
\return the currently observed tempo, or `0` if no consistent value is found
|
|
149
|
-
|
|
150
|
-
*/
|
|
151
|
-
smpl_t aubio_tempo_get_bpm(aubio_tempo_t * o);
|
|
152
|
-
|
|
153
|
-
/** get current tempo confidence
|
|
154
|
-
|
|
155
|
-
\param o beat tracking object
|
|
156
|
-
|
|
157
|
-
\return confidence with which the tempo has been observed, the higher the
|
|
158
|
-
more confidence, `0` if no consistent value is found.
|
|
159
|
-
|
|
160
|
-
*/
|
|
161
|
-
smpl_t aubio_tempo_get_confidence(aubio_tempo_t * o);
|
|
162
|
-
|
|
163
|
-
/** set number of tatum per beat
|
|
164
|
-
|
|
165
|
-
\param o beat tracking object
|
|
166
|
-
\param signature number of tatum per beat (between 1 and 64)
|
|
167
|
-
|
|
168
|
-
*/
|
|
169
|
-
uint_t aubio_tempo_set_tatum_signature(aubio_tempo_t *o, uint_t signature);
|
|
170
|
-
|
|
171
|
-
/** check whether a tatum was detected in the current frame
|
|
172
|
-
|
|
173
|
-
\param o beat tracking object
|
|
174
|
-
|
|
175
|
-
\return 2 if a beat was detected, 1 if a tatum was detected, 0 otherwise
|
|
176
|
-
|
|
177
|
-
*/
|
|
178
|
-
uint_t aubio_tempo_was_tatum(aubio_tempo_t *o);
|
|
179
|
-
|
|
180
|
-
/** get position of last_tatum, in samples
|
|
181
|
-
|
|
182
|
-
\param o beat tracking object
|
|
183
|
-
|
|
184
|
-
*/
|
|
185
|
-
smpl_t aubio_tempo_get_last_tatum(aubio_tempo_t *o);
|
|
186
|
-
|
|
187
|
-
/** get current delay
|
|
188
|
-
|
|
189
|
-
\param o beat tracking object
|
|
190
|
-
|
|
191
|
-
\return current delay, in samples
|
|
192
|
-
|
|
193
|
-
*/
|
|
194
|
-
uint_t aubio_tempo_get_delay(aubio_tempo_t * o);
|
|
195
|
-
|
|
196
|
-
/** get current delay in seconds
|
|
197
|
-
|
|
198
|
-
\param o beat tracking object
|
|
199
|
-
|
|
200
|
-
\return current delay, in seconds
|
|
201
|
-
|
|
202
|
-
*/
|
|
203
|
-
smpl_t aubio_tempo_get_delay_s(aubio_tempo_t * o);
|
|
204
|
-
|
|
205
|
-
/** get current delay in ms
|
|
206
|
-
|
|
207
|
-
\param o beat tracking object
|
|
208
|
-
|
|
209
|
-
\return current delay, in milliseconds
|
|
210
|
-
|
|
211
|
-
*/
|
|
212
|
-
smpl_t aubio_tempo_get_delay_ms(aubio_tempo_t * o);
|
|
213
|
-
|
|
214
|
-
/** set current delay
|
|
215
|
-
|
|
216
|
-
\param o beat tracking object
|
|
217
|
-
\param delay delay to set tempo to, in samples
|
|
218
|
-
|
|
219
|
-
\return `0` if successful, non-zero otherwise
|
|
220
|
-
|
|
221
|
-
*/
|
|
222
|
-
uint_t aubio_tempo_set_delay(aubio_tempo_t * o, sint_t delay);
|
|
223
|
-
|
|
224
|
-
/** set current delay in seconds
|
|
225
|
-
|
|
226
|
-
\param o beat tracking object
|
|
227
|
-
\param delay delay to set tempo to, in seconds
|
|
228
|
-
|
|
229
|
-
\return `0` if successful, non-zero otherwise
|
|
230
|
-
|
|
231
|
-
*/
|
|
232
|
-
uint_t aubio_tempo_set_delay_s(aubio_tempo_t * o, smpl_t delay);
|
|
233
|
-
|
|
234
|
-
/** set current delay
|
|
235
|
-
|
|
236
|
-
\param o beat tracking object
|
|
237
|
-
\param delay delay to set tempo to, in samples
|
|
238
|
-
|
|
239
|
-
\return `0` if successful, non-zero otherwise
|
|
240
|
-
|
|
241
|
-
*/
|
|
242
|
-
uint_t aubio_tempo_set_delay_ms(aubio_tempo_t * o, smpl_t delay);
|
|
243
|
-
|
|
244
|
-
/** delete tempo detection object
|
|
245
|
-
|
|
246
|
-
\param o beat tracking object
|
|
247
|
-
|
|
248
|
-
*/
|
|
249
|
-
void del_aubio_tempo(aubio_tempo_t * o);
|
|
250
|
-
|
|
251
|
-
#ifdef __cplusplus
|
|
252
|
-
}
|
|
253
|
-
#endif
|
|
254
|
-
|
|
255
|
-
#endif /* AUBIO_TEMPO_H */
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
|
|
3
|
-
|
|
4
|
-
This file is part of aubio.
|
|
5
|
-
|
|
6
|
-
aubio is free software: you can redistribute it and/or modify
|
|
7
|
-
it under the terms of the GNU General Public License as published by
|
|
8
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
-
(at your option) any later version.
|
|
10
|
-
|
|
11
|
-
aubio is distributed in the hope that it will be useful,
|
|
12
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
-
GNU General Public License for more details.
|
|
15
|
-
|
|
16
|
-
You should have received a copy of the GNU General Public License
|
|
17
|
-
along with aubio. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/** \file
|
|
22
|
-
|
|
23
|
-
Transient / Steady-state Separation (TSS)
|
|
24
|
-
|
|
25
|
-
This file implement a Transient / Steady-state Separation (TSS) as described
|
|
26
|
-
in:
|
|
27
|
-
|
|
28
|
-
Christopher Duxbury, Mike E. Davies, and Mark B. Sandler. Separation of
|
|
29
|
-
transient information in musical audio using multiresolution analysis
|
|
30
|
-
techniques. In Proceedings of the Digital Audio Effects Conference, DAFx-01,
|
|
31
|
-
pages 1--5, Limerick, Ireland, 2001.
|
|
32
|
-
|
|
33
|
-
Available at http://www.csis.ul.ie/dafx01/proceedings/papers/duxbury.pdf
|
|
34
|
-
|
|
35
|
-
\example spectral/test-tss.c
|
|
36
|
-
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
#ifndef AUBIO_TSS_H
|
|
40
|
-
#define AUBIO_TSS_H
|
|
41
|
-
|
|
42
|
-
#ifdef __cplusplus
|
|
43
|
-
extern "C" {
|
|
44
|
-
#endif
|
|
45
|
-
|
|
46
|
-
/** Transient / Steady-state Separation object */
|
|
47
|
-
typedef struct _aubio_tss_t aubio_tss_t;
|
|
48
|
-
|
|
49
|
-
/** create tss object
|
|
50
|
-
|
|
51
|
-
\param buf_size buffer size
|
|
52
|
-
\param hop_size step size
|
|
53
|
-
|
|
54
|
-
*/
|
|
55
|
-
aubio_tss_t *new_aubio_tss (uint_t buf_size, uint_t hop_size);
|
|
56
|
-
|
|
57
|
-
/** delete tss object
|
|
58
|
-
|
|
59
|
-
\param o tss object as returned by new_aubio_tss()
|
|
60
|
-
|
|
61
|
-
*/
|
|
62
|
-
void del_aubio_tss (aubio_tss_t * o);
|
|
63
|
-
|
|
64
|
-
/** split input into transient and steady states components
|
|
65
|
-
|
|
66
|
-
\param o tss object as returned by new_aubio_tss()
|
|
67
|
-
\param input input spectral frame
|
|
68
|
-
\param trans output transient components
|
|
69
|
-
\param stead output steady state components
|
|
70
|
-
|
|
71
|
-
*/
|
|
72
|
-
void aubio_tss_do (aubio_tss_t * o, const cvec_t * input, cvec_t * trans,
|
|
73
|
-
cvec_t * stead);
|
|
74
|
-
|
|
75
|
-
/** set transient / steady state separation threshold
|
|
76
|
-
|
|
77
|
-
\param o tss object as returned by new_aubio_tss()
|
|
78
|
-
\param thrs new threshold value
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
uint_t aubio_tss_set_threshold (aubio_tss_t * o, smpl_t thrs);
|
|
82
|
-
|
|
83
|
-
/** set parameter a, defaults to 3
|
|
84
|
-
|
|
85
|
-
\param o tss object as returned by new_aubio_tss()
|
|
86
|
-
\param alpha new value for alpha parameter
|
|
87
|
-
|
|
88
|
-
*/
|
|
89
|
-
uint_t aubio_tss_set_alpha (aubio_tss_t * o, smpl_t alpha);
|
|
90
|
-
|
|
91
|
-
/** set parameter b, defaults to 3
|
|
92
|
-
|
|
93
|
-
\param o tss object as returned by new_aubio_tss()
|
|
94
|
-
\param beta new value for beta parameter
|
|
95
|
-
|
|
96
|
-
*/
|
|
97
|
-
uint_t aubio_tss_set_beta (aubio_tss_t * o, smpl_t beta);
|
|
98
|
-
|
|
99
|
-
#ifdef __cplusplus
|
|
100
|
-
}
|
|
101
|
-
#endif
|
|
102
|
-
|
|
103
|
-
#endif /* AUBIO_TSS_H */
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org>
|
|
3
|
-
|
|
4
|
-
This file is part of aubio.
|
|
5
|
-
|
|
6
|
-
aubio is free software: you can redistribute it and/or modify
|
|
7
|
-
it under the terms of the GNU General Public License as published by
|
|
8
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
-
(at your option) any later version.
|
|
10
|
-
|
|
11
|
-
aubio is distributed in the hope that it will be useful,
|
|
12
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
-
GNU General Public License for more details.
|
|
15
|
-
|
|
16
|
-
You should have received a copy of the GNU General Public License
|
|
17
|
-
along with aubio. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
#ifndef AUBIO_TYPES_H
|
|
22
|
-
#define AUBIO_TYPES_H
|
|
23
|
-
|
|
24
|
-
/** \file
|
|
25
|
-
|
|
26
|
-
Definition of data types used in aubio
|
|
27
|
-
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
#ifdef __cplusplus
|
|
31
|
-
extern "C" {
|
|
32
|
-
#endif
|
|
33
|
-
|
|
34
|
-
#ifndef HAVE_AUBIO_DOUBLE
|
|
35
|
-
/** defined to 1 if aubio is compiled in double precision */
|
|
36
|
-
#define HAVE_AUBIO_DOUBLE 0
|
|
37
|
-
#endif
|
|
38
|
-
|
|
39
|
-
/** short sample format (32 or 64 bits) */
|
|
40
|
-
#if !HAVE_AUBIO_DOUBLE
|
|
41
|
-
typedef float smpl_t;
|
|
42
|
-
/** print format for sample in single precision */
|
|
43
|
-
#define AUBIO_SMPL_FMT "%f"
|
|
44
|
-
#else
|
|
45
|
-
typedef double smpl_t;
|
|
46
|
-
/** print format for double in single precision */
|
|
47
|
-
#define AUBIO_SMPL_FMT "%lf"
|
|
48
|
-
#endif
|
|
49
|
-
/** long sample format (64 bits or more) */
|
|
50
|
-
#if !HAVE_AUBIO_DOUBLE
|
|
51
|
-
typedef double lsmp_t;
|
|
52
|
-
/** print format for sample in double precision */
|
|
53
|
-
#define AUBIO_LSMP_FMT "%lf"
|
|
54
|
-
#else
|
|
55
|
-
typedef long double lsmp_t;
|
|
56
|
-
/** print format for double in double precision */
|
|
57
|
-
#define AUBIO_LSMP_FMT "%Lf"
|
|
58
|
-
#endif
|
|
59
|
-
/** unsigned integer */
|
|
60
|
-
typedef unsigned int uint_t;
|
|
61
|
-
/** signed integer */
|
|
62
|
-
typedef int sint_t;
|
|
63
|
-
/** character */
|
|
64
|
-
typedef char char_t;
|
|
65
|
-
|
|
66
|
-
#ifdef __cplusplus
|
|
67
|
-
}
|
|
68
|
-
#endif
|
|
69
|
-
|
|
70
|
-
#endif /* AUBIO_TYPES_H */
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2009-2015 Paul Brossier <piem@aubio.org>
|
|
3
|
-
|
|
4
|
-
This file is part of aubio.
|
|
5
|
-
|
|
6
|
-
aubio is free software: you can redistribute it and/or modify
|
|
7
|
-
it under the terms of the GNU General Public License as published by
|
|
8
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
-
(at your option) any later version.
|
|
10
|
-
|
|
11
|
-
aubio is distributed in the hope that it will be useful,
|
|
12
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
-
GNU General Public License for more details.
|
|
15
|
-
|
|
16
|
-
You should have received a copy of the GNU General Public License
|
|
17
|
-
along with aubio. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/** \file
|
|
22
|
-
|
|
23
|
-
Utility functions for ::fvec_t
|
|
24
|
-
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
#ifndef AUBIO_VECUTILS_H
|
|
28
|
-
#define AUBIO_VECUTILS_H
|
|
29
|
-
|
|
30
|
-
#ifdef __cplusplus
|
|
31
|
-
extern "C" {
|
|
32
|
-
#endif
|
|
33
|
-
|
|
34
|
-
/** compute \f$e^x\f$ of each vector elements
|
|
35
|
-
|
|
36
|
-
\param s vector to modify
|
|
37
|
-
|
|
38
|
-
*/
|
|
39
|
-
void fvec_exp (fvec_t *s);
|
|
40
|
-
|
|
41
|
-
/** compute \f$cos(x)\f$ of each vector elements
|
|
42
|
-
|
|
43
|
-
\param s vector to modify
|
|
44
|
-
|
|
45
|
-
*/
|
|
46
|
-
void fvec_cos (fvec_t *s);
|
|
47
|
-
|
|
48
|
-
/** compute \f$sin(x)\f$ of each vector elements
|
|
49
|
-
|
|
50
|
-
\param s vector to modify
|
|
51
|
-
|
|
52
|
-
*/
|
|
53
|
-
void fvec_sin (fvec_t *s);
|
|
54
|
-
|
|
55
|
-
/** compute the \f$abs(x)\f$ of each vector elements
|
|
56
|
-
|
|
57
|
-
\param s vector to modify
|
|
58
|
-
|
|
59
|
-
*/
|
|
60
|
-
void fvec_abs (fvec_t *s);
|
|
61
|
-
|
|
62
|
-
/** compute the \f$sqrt(x)\f$ of each vector elements
|
|
63
|
-
|
|
64
|
-
\param s vector to modify
|
|
65
|
-
|
|
66
|
-
*/
|
|
67
|
-
void fvec_sqrt (fvec_t *s);
|
|
68
|
-
|
|
69
|
-
/** compute the \f$log10(x)\f$ of each vector elements
|
|
70
|
-
|
|
71
|
-
\param s vector to modify
|
|
72
|
-
|
|
73
|
-
*/
|
|
74
|
-
void fvec_log10 (fvec_t *s);
|
|
75
|
-
|
|
76
|
-
/** compute the \f$log(x)\f$ of each vector elements
|
|
77
|
-
|
|
78
|
-
\param s vector to modify
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
void fvec_log (fvec_t *s);
|
|
82
|
-
|
|
83
|
-
/** compute the \f$floor(x)\f$ of each vector elements
|
|
84
|
-
|
|
85
|
-
\param s vector to modify
|
|
86
|
-
|
|
87
|
-
*/
|
|
88
|
-
void fvec_floor (fvec_t *s);
|
|
89
|
-
|
|
90
|
-
/** compute the \f$ceil(x)\f$ of each vector elements
|
|
91
|
-
|
|
92
|
-
\param s vector to modify
|
|
93
|
-
|
|
94
|
-
*/
|
|
95
|
-
void fvec_ceil (fvec_t *s);
|
|
96
|
-
|
|
97
|
-
/** compute the \f$round(x)\f$ of each vector elements
|
|
98
|
-
|
|
99
|
-
\param s vector to modify
|
|
100
|
-
|
|
101
|
-
*/
|
|
102
|
-
void fvec_round (fvec_t *s);
|
|
103
|
-
|
|
104
|
-
/** raise each vector elements to the power pow
|
|
105
|
-
|
|
106
|
-
\param s vector to modify
|
|
107
|
-
\param pow power to raise to
|
|
108
|
-
|
|
109
|
-
*/
|
|
110
|
-
void fvec_pow (fvec_t *s, smpl_t pow);
|
|
111
|
-
|
|
112
|
-
#ifdef __cplusplus
|
|
113
|
-
}
|
|
114
|
-
#endif
|
|
115
|
-
|
|
116
|
-
#endif /* AUBIO_VECUTILS_H */
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
|
|
3
|
-
|
|
4
|
-
This file is part of aubio.
|
|
5
|
-
|
|
6
|
-
aubio is free software: you can redistribute it and/or modify
|
|
7
|
-
it under the terms of the GNU General Public License as published by
|
|
8
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
-
(at your option) any later version.
|
|
10
|
-
|
|
11
|
-
aubio is distributed in the hope that it will be useful,
|
|
12
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
-
GNU General Public License for more details.
|
|
15
|
-
|
|
16
|
-
You should have received a copy of the GNU General Public License
|
|
17
|
-
along with aubio. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
#ifndef AUBIO_WAVETABLE_H
|
|
22
|
-
#define AUBIO_WAVETABLE_H
|
|
23
|
-
|
|
24
|
-
/** \file
|
|
25
|
-
|
|
26
|
-
Wavetable synthesis.
|
|
27
|
-
|
|
28
|
-
This file creates a wavetable and plays it at different frequency.
|
|
29
|
-
|
|
30
|
-
The `_do` function adds the new samples to the input, and write the result as
|
|
31
|
-
the output.
|
|
32
|
-
|
|
33
|
-
\example synth/test-wavetable.c
|
|
34
|
-
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
#ifdef __cplusplus
|
|
38
|
-
extern "C" {
|
|
39
|
-
#endif
|
|
40
|
-
|
|
41
|
-
/** wavetable object */
|
|
42
|
-
typedef struct _aubio_wavetable_t aubio_wavetable_t;
|
|
43
|
-
|
|
44
|
-
/** create new wavetable object
|
|
45
|
-
|
|
46
|
-
\param samplerate the sampling rate of the new wavetable
|
|
47
|
-
\param hop_size the block size of the new wavetable
|
|
48
|
-
|
|
49
|
-
\return the newly created aubio_wavetable_t
|
|
50
|
-
|
|
51
|
-
*/
|
|
52
|
-
aubio_wavetable_t * new_aubio_wavetable(uint_t samplerate, uint_t hop_size);
|
|
53
|
-
|
|
54
|
-
/** load source in wavetable
|
|
55
|
-
|
|
56
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
57
|
-
\param uri the uri of the source to load
|
|
58
|
-
|
|
59
|
-
\return 0 if successful, non-zero otherwise
|
|
60
|
-
|
|
61
|
-
*/
|
|
62
|
-
uint_t aubio_wavetable_load( aubio_wavetable_t * o, const char_t * uri );
|
|
63
|
-
|
|
64
|
-
/** process wavetable function
|
|
65
|
-
|
|
66
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
67
|
-
\param input input of the wavetable, to be added to the output
|
|
68
|
-
\param output output of the wavetable
|
|
69
|
-
|
|
70
|
-
This function adds the new samples from the playing wavetable to the output.
|
|
71
|
-
|
|
72
|
-
If `input` is not NULL and different from `output`, then the samples from `input`
|
|
73
|
-
are added to the output.
|
|
74
|
-
|
|
75
|
-
*/
|
|
76
|
-
void aubio_wavetable_do ( aubio_wavetable_t * o, const fvec_t * input, fvec_t * output);
|
|
77
|
-
|
|
78
|
-
/** process wavetable function, multiple channels
|
|
79
|
-
|
|
80
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
81
|
-
\param input input of the wavetable, to be added to the output
|
|
82
|
-
\param output output of the wavetable
|
|
83
|
-
|
|
84
|
-
This function adds the new samples from the playing wavetable to the output.
|
|
85
|
-
|
|
86
|
-
If `input` is not NULL and different from `output`, then the samples from `input`
|
|
87
|
-
are added to the output.
|
|
88
|
-
|
|
89
|
-
*/
|
|
90
|
-
void aubio_wavetable_do_multi ( aubio_wavetable_t * o, const fmat_t * input, fmat_t * output);
|
|
91
|
-
|
|
92
|
-
/** get current playing state
|
|
93
|
-
|
|
94
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
95
|
-
|
|
96
|
-
\return 0 if not playing, 1 if playing
|
|
97
|
-
|
|
98
|
-
*/
|
|
99
|
-
uint_t aubio_wavetable_get_playing ( const aubio_wavetable_t * o );
|
|
100
|
-
|
|
101
|
-
/** set current playing state
|
|
102
|
-
|
|
103
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
104
|
-
\param playing 0 for not playing, 1 for playing
|
|
105
|
-
|
|
106
|
-
\return 0 if successful, 1 otherwise
|
|
107
|
-
|
|
108
|
-
*/
|
|
109
|
-
uint_t aubio_wavetable_set_playing ( aubio_wavetable_t * o, uint_t playing );
|
|
110
|
-
|
|
111
|
-
/** play sample from start
|
|
112
|
-
|
|
113
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
114
|
-
|
|
115
|
-
\return 0 if successful, 1 otherwise
|
|
116
|
-
|
|
117
|
-
*/
|
|
118
|
-
uint_t aubio_wavetable_play ( aubio_wavetable_t * o );
|
|
119
|
-
|
|
120
|
-
/** stop wavetable
|
|
121
|
-
|
|
122
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
123
|
-
|
|
124
|
-
\return 0 if successful, 1 otherwise
|
|
125
|
-
|
|
126
|
-
*/
|
|
127
|
-
uint_t aubio_wavetable_stop ( aubio_wavetable_t * o );
|
|
128
|
-
|
|
129
|
-
/** set wavetable frequency
|
|
130
|
-
|
|
131
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
132
|
-
\param freq new frequency value for the wavetable
|
|
133
|
-
|
|
134
|
-
\return 0 if successful, 1 otherwise
|
|
135
|
-
|
|
136
|
-
*/
|
|
137
|
-
uint_t aubio_wavetable_set_freq ( aubio_wavetable_t * o, smpl_t freq );
|
|
138
|
-
|
|
139
|
-
/** get wavetable frequency
|
|
140
|
-
|
|
141
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
142
|
-
|
|
143
|
-
\return current frequency, in Hz
|
|
144
|
-
|
|
145
|
-
*/
|
|
146
|
-
smpl_t aubio_wavetable_get_freq ( const aubio_wavetable_t * o);
|
|
147
|
-
|
|
148
|
-
/** set wavetable amplitude
|
|
149
|
-
|
|
150
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
151
|
-
\param amp new amplitude value for the wavetable
|
|
152
|
-
|
|
153
|
-
\return 0 if successful, 1 otherwise
|
|
154
|
-
|
|
155
|
-
*/
|
|
156
|
-
uint_t aubio_wavetable_set_amp ( aubio_wavetable_t * o, smpl_t amp );
|
|
157
|
-
|
|
158
|
-
/** get wavetable amplitude
|
|
159
|
-
|
|
160
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
161
|
-
|
|
162
|
-
\return current amplitude
|
|
163
|
-
|
|
164
|
-
*/
|
|
165
|
-
smpl_t aubio_wavetable_get_amp ( const aubio_wavetable_t * o);
|
|
166
|
-
|
|
167
|
-
/** destroy aubio_wavetable_t object
|
|
168
|
-
|
|
169
|
-
\param o wavetable, created by new_aubio_wavetable()
|
|
170
|
-
|
|
171
|
-
*/
|
|
172
|
-
void del_aubio_wavetable( aubio_wavetable_t * o );
|
|
173
|
-
|
|
174
|
-
#ifdef __cplusplus
|
|
175
|
-
}
|
|
176
|
-
#endif
|
|
177
|
-
|
|
178
|
-
#endif /* AUBIO_WAVETABLE_H */
|
|
Binary file
|