react-native-gizwits-sdk-v5 1.5.5-thirdbluetooth → 1.5.6-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.
Files changed (129) hide show
  1. package/android/libs/sdk-bluetooth-release.aar +0 -0
  2. package/ios/GizwitsiOSSDK.framework/GizwitsiOSSDK +0 -0
  3. package/ios/GizwitsiOSSDK.framework/Headers/CocoaAsyncSocket.h +18 -0
  4. package/ios/GizwitsiOSSDK.framework/Headers/DDASLLogger.h +41 -0
  5. package/ios/GizwitsiOSSDK.framework/Headers/DDAbstractDatabaseLogger.h +102 -0
  6. package/ios/GizwitsiOSSDK.framework/Headers/DDContextFilterLogFormatter.h +63 -0
  7. package/ios/GizwitsiOSSDK.framework/Headers/DDDispatchQueueLogFormatter.h +128 -0
  8. package/ios/GizwitsiOSSDK.framework/Headers/DDFileLogger.h +340 -0
  9. package/ios/GizwitsiOSSDK.framework/Headers/DDLog+LOGV.h +99 -0
  10. package/ios/GizwitsiOSSDK.framework/Headers/DDLog.h +632 -0
  11. package/ios/GizwitsiOSSDK.framework/Headers/DDMultiFormatter.h +30 -0
  12. package/ios/GizwitsiOSSDK.framework/Headers/DDTTYLogger.h +171 -0
  13. package/ios/GizwitsiOSSDK.framework/Headers/ESPAES.h +19 -0
  14. package/ios/GizwitsiOSSDK.framework/Headers/ESPDataCode.h +44 -0
  15. package/ios/GizwitsiOSSDK.framework/Headers/ESPDatumCode.h +38 -0
  16. package/ios/GizwitsiOSSDK.framework/Headers/ESPGuideCode.h +15 -0
  17. package/ios/GizwitsiOSSDK.framework/Headers/ESPTools.h +22 -0
  18. package/ios/GizwitsiOSSDK.framework/Headers/ESPTouch.h +36 -0
  19. package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchDelegate.h +24 -0
  20. package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchGenerator.h +46 -0
  21. package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchResult.h +36 -0
  22. package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchTask.h +124 -0
  23. package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchTaskParameter.h +173 -0
  24. package/ios/GizwitsiOSSDK.framework/Headers/ESPUDPSocketClient.h +50 -0
  25. package/ios/GizwitsiOSSDK.framework/Headers/ESPUDPSocketServer.h +49 -0
  26. package/ios/GizwitsiOSSDK.framework/Headers/ESP_ByteUtil.h +128 -0
  27. package/ios/GizwitsiOSSDK.framework/Headers/ESP_CRC8.h +61 -0
  28. package/ios/GizwitsiOSSDK.framework/Headers/ESP_NetUtil.h +82 -0
  29. package/ios/GizwitsiOSSDK.framework/Headers/ESP_WifiUtil.h +33 -0
  30. package/ios/GizwitsiOSSDK.framework/Headers/ForegroundReconnection.h +23 -0
  31. package/ios/GizwitsiOSSDK.framework/Headers/GCDTimer.h +19 -0
  32. package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK-Swift.h +338 -0
  33. package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK.h +24 -0
  34. package/ios/GizwitsiOSSDK.framework/Headers/MQTTClient.h +39 -0
  35. package/ios/GizwitsiOSSDK.framework/Headers/MQTTInMemoryPersistence.h +16 -0
  36. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyDecoder.h +19 -0
  37. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyEncoder.h +18 -0
  38. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionLegacy.h +112 -0
  39. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionSynchron.h +194 -0
  40. package/ios/GizwitsiOSSDK.framework/Headers/MQTTStrict.h +33 -0
  41. package/ios/GizwitsiOSSDK.framework/Headers/MQTTUntil.h +14 -0
  42. package/ios/GizwitsiOSSDK.framework/Headers/ReconnectTimer.h +21 -0
  43. package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncSocket.h +1226 -0
  44. package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncUdpSocket.h +1036 -0
  45. package/ios/GizwitsiOSSDK.framework/Headers/_GizwitsParser.h +61 -0
  46. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketDecoder.h +39 -0
  47. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketEncoder.h +38 -0
  48. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketTransport.h +79 -0
  49. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCoreDataPersistence.h +21 -0
  50. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTDecoder.h +66 -0
  51. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTLog.h +123 -0
  52. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTMessage.h +233 -0
  53. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTPersistence.h +124 -0
  54. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTProperties.h +76 -0
  55. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicy.h +158 -0
  56. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicyTransport.h +30 -0
  57. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSession.h +886 -0
  58. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSessionManager.h +237 -0
  59. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTTransport.h +114 -0
  60. package/ios/GizwitsiOSSDK.framework/Headers/_SSZipArchive.h +178 -0
  61. package/ios/GizwitsiOSSDK.framework/Headers/_SSZipCommon.h +71 -0
  62. package/ios/GizwitsiOSSDK.framework/Headers/_ZipArchive.h +26 -0
  63. package/ios/GizwitsiOSSDK.framework/Headers/a_weighting.h +88 -0
  64. package/ios/GizwitsiOSSDK.framework/Headers/aubio.h +231 -0
  65. package/ios/GizwitsiOSSDK.framework/Headers/audio_unit.h +61 -0
  66. package/ios/GizwitsiOSSDK.framework/Headers/awhitening.h +125 -0
  67. package/ios/GizwitsiOSSDK.framework/Headers/beattracking.h +121 -0
  68. package/ios/GizwitsiOSSDK.framework/Headers/biquad.h +75 -0
  69. package/ios/GizwitsiOSSDK.framework/Headers/c_weighting.h +88 -0
  70. package/ios/GizwitsiOSSDK.framework/Headers/common.h +104 -0
  71. package/ios/GizwitsiOSSDK.framework/Headers/cvec.h +247 -0
  72. package/ios/GizwitsiOSSDK.framework/Headers/dct.h +85 -0
  73. package/ios/GizwitsiOSSDK.framework/Headers/fft.h +144 -0
  74. package/ios/GizwitsiOSSDK.framework/Headers/filter.h +176 -0
  75. package/ios/GizwitsiOSSDK.framework/Headers/filterbank.h +90 -0
  76. package/ios/GizwitsiOSSDK.framework/Headers/filterbank_mel.h +72 -0
  77. package/ios/GizwitsiOSSDK.framework/Headers/fmat.h +172 -0
  78. package/ios/GizwitsiOSSDK.framework/Headers/fvec.h +178 -0
  79. package/ios/GizwitsiOSSDK.framework/Headers/hist.h +63 -0
  80. package/ios/GizwitsiOSSDK.framework/Headers/ioutils.h +60 -0
  81. package/ios/GizwitsiOSSDK.framework/Headers/log.h +99 -0
  82. package/ios/GizwitsiOSSDK.framework/Headers/lvec.h +118 -0
  83. package/ios/GizwitsiOSSDK.framework/Headers/mathutils.h +330 -0
  84. package/ios/GizwitsiOSSDK.framework/Headers/mfcc.h +79 -0
  85. package/ios/GizwitsiOSSDK.framework/Headers/musicutils.h +171 -0
  86. package/ios/GizwitsiOSSDK.framework/Headers/notes.h +113 -0
  87. package/ios/GizwitsiOSSDK.framework/Headers/onset.h +347 -0
  88. package/ios/GizwitsiOSSDK.framework/Headers/parameter.h +159 -0
  89. package/ios/GizwitsiOSSDK.framework/Headers/peakpicker.h +57 -0
  90. package/ios/GizwitsiOSSDK.framework/Headers/phasevoc.h +112 -0
  91. package/ios/GizwitsiOSSDK.framework/Headers/pitch.h +197 -0
  92. package/ios/GizwitsiOSSDK.framework/Headers/pitchfcomb.h +76 -0
  93. package/ios/GizwitsiOSSDK.framework/Headers/pitchmcomb.h +77 -0
  94. package/ios/GizwitsiOSSDK.framework/Headers/pitchschmitt.h +75 -0
  95. package/ios/GizwitsiOSSDK.framework/Headers/pitchspecacf.h +103 -0
  96. package/ios/GizwitsiOSSDK.framework/Headers/pitchyin.h +100 -0
  97. package/ios/GizwitsiOSSDK.framework/Headers/pitchyinfast.h +102 -0
  98. package/ios/GizwitsiOSSDK.framework/Headers/pitchyinfft.h +99 -0
  99. package/ios/GizwitsiOSSDK.framework/Headers/resampler.h +65 -0
  100. package/ios/GizwitsiOSSDK.framework/Headers/sampler.h +140 -0
  101. package/ios/GizwitsiOSSDK.framework/Headers/scale.h +80 -0
  102. package/ios/GizwitsiOSSDK.framework/Headers/sink.h +181 -0
  103. package/ios/GizwitsiOSSDK.framework/Headers/sink_apple_audio.h +163 -0
  104. package/ios/GizwitsiOSSDK.framework/Headers/sink_sndfile.h +162 -0
  105. package/ios/GizwitsiOSSDK.framework/Headers/sink_wavwrite.h +162 -0
  106. package/ios/GizwitsiOSSDK.framework/Headers/source.h +184 -0
  107. package/ios/GizwitsiOSSDK.framework/Headers/source_apple_audio.h +156 -0
  108. package/ios/GizwitsiOSSDK.framework/Headers/source_avcodec.h +155 -0
  109. package/ios/GizwitsiOSSDK.framework/Headers/source_sndfile.h +155 -0
  110. package/ios/GizwitsiOSSDK.framework/Headers/source_wavread.h +160 -0
  111. package/ios/GizwitsiOSSDK.framework/Headers/specdesc.h +204 -0
  112. package/ios/GizwitsiOSSDK.framework/Headers/tempo.h +255 -0
  113. package/ios/GizwitsiOSSDK.framework/Headers/tss.h +103 -0
  114. package/ios/GizwitsiOSSDK.framework/Headers/types.h +70 -0
  115. package/ios/GizwitsiOSSDK.framework/Headers/vecutils.h +116 -0
  116. package/ios/GizwitsiOSSDK.framework/Headers/wavetable.h +178 -0
  117. package/ios/GizwitsiOSSDK.framework/Info.plist +0 -0
  118. package/ios/GizwitsiOSSDK.framework/LICENSE +17 -0
  119. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  120. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.abi.json +57489 -0
  121. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +1752 -0
  122. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  123. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftinterface +1752 -0
  124. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
  125. package/ios/GizwitsiOSSDK.framework/Modules/module.modulemap +11 -0
  126. package/ios/GizwitsiOSSDK.framework/PrivacyInfo.xcprivacy +23 -0
  127. package/ios/GizwitsiOSSDK.framework/README.md +31 -0
  128. package/package.json +1 -1
  129. package/react-native-gizwits-sdk-v5.podspec +2 -2
@@ -0,0 +1,155 @@
1
+ /*
2
+ Copyright (C) 2012-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_SOURCE_SNDFILE_H
22
+ #define AUBIO_SOURCE_SNDFILE_H
23
+
24
+ /** \file
25
+
26
+ Read from file using [libsndfile](http://www.mega-nerd.com/libsndfile/)
27
+
28
+ Avoid including this file directly! Prefer using ::aubio_source_t instead to
29
+ make your code portable.
30
+
31
+ To write to file, use ::aubio_sink_t.
32
+
33
+ \example io/test-source_sndfile.c
34
+
35
+ */
36
+
37
+ #ifdef __cplusplus
38
+ extern "C" {
39
+ #endif
40
+
41
+ /** sndfile media source object */
42
+ typedef struct _aubio_source_sndfile_t aubio_source_sndfile_t;
43
+
44
+ /**
45
+
46
+ create new ::aubio_source_sndfile_t
47
+
48
+ \param uri the file path or uri to read from
49
+ \param samplerate sampling rate to view the fie at
50
+ \param hop_size the size of the blocks to read from
51
+
52
+ Creates a new source object. If `0` is passed as `samplerate`, the sample
53
+ rate of the original file is used.
54
+
55
+ The samplerate of newly created source can be obtained using
56
+ ::aubio_source_sndfile_get_samplerate.
57
+
58
+ */
59
+ aubio_source_sndfile_t * new_aubio_source_sndfile(const char_t * uri, uint_t samplerate, uint_t hop_size);
60
+
61
+ /**
62
+
63
+ read monophonic vector of length hop_size from source object
64
+
65
+ \param s source object, created with ::new_aubio_source_sndfile
66
+ \param read_to ::fvec_t of data to read to
67
+ \param read upon returns, equals to number of frames actually read
68
+
69
+ Upon returns, `read` contains the number of frames actually read from the
70
+ source. `hop_size` if enough frames could be read, less otherwise.
71
+
72
+ */
73
+ void aubio_source_sndfile_do(aubio_source_sndfile_t * s, fvec_t * read_to, uint_t * read);
74
+
75
+ /**
76
+
77
+ read polyphonic vector of length hop_size from source object
78
+
79
+ \param s source object, created with ::new_aubio_source_sndfile
80
+ \param read_to ::fmat_t of data to read to
81
+ \param read upon returns, equals to number of frames actually read
82
+
83
+ Upon returns, `read` contains the number of frames actually read from the
84
+ source. `hop_size` if enough frames could be read, less otherwise.
85
+
86
+ */
87
+ void aubio_source_sndfile_do_multi(aubio_source_sndfile_t * s, fmat_t * read_to, uint_t * read);
88
+
89
+ /**
90
+
91
+ get samplerate of source object
92
+
93
+ \param s source object, created with ::new_aubio_source_sndfile
94
+ \return samplerate, in Hz
95
+
96
+ */
97
+ uint_t aubio_source_sndfile_get_samplerate(aubio_source_sndfile_t * s);
98
+
99
+ /**
100
+
101
+ get number of channels of source object
102
+
103
+ \param s source object, created with ::new_aubio_source_sndfile
104
+ \return number of channels
105
+
106
+ */
107
+ uint_t aubio_source_sndfile_get_channels (aubio_source_sndfile_t * s);
108
+
109
+ /**
110
+
111
+ seek source object
112
+
113
+ \param s source object, created with ::new_aubio_source_sndfile
114
+ \param pos position to seek to, in frames
115
+
116
+ \return 0 if sucessful, non-zero on failure
117
+
118
+ */
119
+ uint_t aubio_source_sndfile_seek (aubio_source_sndfile_t *s, uint_t pos);
120
+
121
+ /**
122
+
123
+ get the duration of source object, in frames
124
+
125
+ \param s source object, created with ::new_aubio_source_sndfile
126
+ \return number of frames in file
127
+
128
+ */
129
+ uint_t aubio_source_sndfile_get_duration (const aubio_source_sndfile_t *s);
130
+
131
+ /**
132
+
133
+ close source
134
+
135
+ \param s source object, created with ::new_aubio_source_sndfile
136
+
137
+ \return 0 if sucessful, non-zero on failure
138
+
139
+ */
140
+ uint_t aubio_source_sndfile_close (aubio_source_sndfile_t *s);
141
+
142
+ /**
143
+
144
+ close source and cleanup memory
145
+
146
+ \param s source object, created with ::new_aubio_source_sndfile
147
+
148
+ */
149
+ void del_aubio_source_sndfile(aubio_source_sndfile_t * s);
150
+
151
+ #ifdef __cplusplus
152
+ }
153
+ #endif
154
+
155
+ #endif /* AUBIO_SOURCE_SNDFILE_H */
@@ -0,0 +1,160 @@
1
+ /*
2
+ Copyright (C) 2014 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_SOURCE_WAVREAD_H
22
+ #define AUBIO_SOURCE_WAVREAD_H
23
+
24
+ /** \file
25
+
26
+ Read from file using custom wav reading routines.
27
+
28
+ Avoid including this file directly! Prefer using ::aubio_source_t instead to
29
+ make your code portable.
30
+
31
+ To write to file, use ::aubio_sink_t.
32
+
33
+ References:
34
+
35
+ - http://netghost.narod.ru/gff/graphics/summary/micriff.htm
36
+ - https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
37
+
38
+ \example io/test-source_wavread.c
39
+
40
+ */
41
+
42
+ #ifdef __cplusplus
43
+ extern "C" {
44
+ #endif
45
+
46
+ /** wavread media source object */
47
+ typedef struct _aubio_source_wavread_t aubio_source_wavread_t;
48
+
49
+ /**
50
+
51
+ create new ::aubio_source_wavread_t
52
+
53
+ \param uri the file path or uri to read from
54
+ \param samplerate sampling rate to view the fie at
55
+ \param hop_size the size of the blocks to read from
56
+
57
+ Creates a new source object. If `0` is passed as `samplerate`, the sample
58
+ rate of the original file is used.
59
+
60
+ The samplerate of newly created source can be obtained using
61
+ ::aubio_source_wavread_get_samplerate.
62
+
63
+ */
64
+ aubio_source_wavread_t * new_aubio_source_wavread(const char_t * uri, uint_t samplerate, uint_t hop_size);
65
+
66
+ /**
67
+
68
+ read monophonic vector of length hop_size from source object
69
+
70
+ \param s source object, created with ::new_aubio_source_wavread
71
+ \param read_to ::fvec_t of data to read to
72
+ \param[out] read upon returns, equals to number of frames actually read
73
+
74
+ Upon returns, `read` contains the number of frames actually read from the
75
+ source. `hop_size` if enough frames could be read, less otherwise.
76
+
77
+ */
78
+ void aubio_source_wavread_do(aubio_source_wavread_t * s, fvec_t * read_to, uint_t * read);
79
+
80
+ /**
81
+
82
+ read polyphonic vector of length hop_size from source object
83
+
84
+ \param s source object, created with ::new_aubio_source_wavread
85
+ \param read_to ::fmat_t of data to read to
86
+ \param read upon returns, equals to number of frames actually read
87
+
88
+ Upon returns, `read` contains the number of frames actually read from the
89
+ source. `hop_size` if enough frames could be read, less otherwise.
90
+
91
+ */
92
+ void aubio_source_wavread_do_multi(aubio_source_wavread_t * s, fmat_t * read_to, uint_t * read);
93
+
94
+ /**
95
+
96
+ get samplerate of source object
97
+
98
+ \param s source object, created with ::new_aubio_source_wavread
99
+ \return samplerate, in Hz
100
+
101
+ */
102
+ uint_t aubio_source_wavread_get_samplerate(aubio_source_wavread_t * s);
103
+
104
+ /**
105
+
106
+ get number of channels of source object
107
+
108
+ \param s source object, created with ::new_aubio_source_wavread
109
+ \return number of channels
110
+
111
+ */
112
+ uint_t aubio_source_wavread_get_channels (aubio_source_wavread_t * s);
113
+
114
+ /**
115
+
116
+ seek source object
117
+
118
+ \param s source object, created with ::new_aubio_source_wavread
119
+ \param pos position to seek to, in frames
120
+
121
+ \return 0 if sucessful, non-zero on failure
122
+
123
+ */
124
+ uint_t aubio_source_wavread_seek (aubio_source_wavread_t *s, uint_t pos);
125
+
126
+ /**
127
+
128
+ get the duration of source object, in frames
129
+
130
+ \param s source object, created with ::new_aubio_source_sndfile
131
+ \return number of frames in file
132
+
133
+ */
134
+ uint_t aubio_source_wavread_get_duration (const aubio_source_wavread_t *s);
135
+
136
+ /**
137
+
138
+ close source
139
+
140
+ \param s source object, created with ::new_aubio_source_wavread
141
+
142
+ \return 0 if sucessful, non-zero on failure
143
+
144
+ */
145
+ uint_t aubio_source_wavread_close (aubio_source_wavread_t *s);
146
+
147
+ /**
148
+
149
+ close source and cleanup memory
150
+
151
+ \param s source object, created with ::new_aubio_source_wavread
152
+
153
+ */
154
+ void del_aubio_source_wavread(aubio_source_wavread_t * s);
155
+
156
+ #ifdef __cplusplus
157
+ }
158
+ #endif
159
+
160
+ #endif /* AUBIO_SOURCE_WAVREAD_H */
@@ -0,0 +1,204 @@
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
+ Spectral description functions
24
+
25
+ All of the following spectral description functions take as arguments the FFT
26
+ of a windowed signal (as created with aubio_pvoc). They output one smpl_t per
27
+ buffer (stored in a vector of size [1]).
28
+
29
+ \section specdesc Spectral description functions
30
+
31
+ A list of the spectral description methods currently available follows.
32
+
33
+ \subsection onsetdesc Onset detection functions
34
+
35
+ These functions are designed to raise at notes attacks in music signals.
36
+
37
+ \b \p energy : Energy based onset detection function
38
+
39
+ This function calculates the local energy of the input spectral frame.
40
+
41
+ \b \p hfc : High Frequency Content onset detection function
42
+
43
+ This method computes the High Frequency Content (HFC) of the input spectral
44
+ frame. The resulting function is efficient at detecting percussive onsets.
45
+
46
+ Paul Masri. Computer modeling of Sound for Transformation and Synthesis of
47
+ Musical Signal. PhD dissertation, University of Bristol, UK, 1996.
48
+
49
+ \b \p complex : Complex Domain Method onset detection function
50
+
51
+ Christopher Duxbury, Mike E. Davies, and Mark B. Sandler. Complex domain
52
+ onset detection for musical signals. In Proceedings of the Digital Audio
53
+ Effects Conference, DAFx-03, pages 90-93, London, UK, 2003.
54
+
55
+ \b \p phase : Phase Based Method onset detection function
56
+
57
+ Juan-Pablo Bello, Mike P. Davies, and Mark B. Sandler. Phase-based note onset
58
+ detection for music signals. In Proceedings of the IEEE International
59
+ Conference on Acoustics Speech and Signal Processing, pages 441­444,
60
+ Hong-Kong, 2003.
61
+
62
+ \b \p wphase : Weighted Phase Deviation onset detection function
63
+
64
+ S. Dixon. Onset detection revisited. In Proceedings of the 9th International
65
+ Conference on Digital Audio Ef- fects (DAFx) , pages 133–137, 2006.
66
+
67
+ http://www.eecs.qmul.ac.uk/~simond/pub/2006/dafx.pdf
68
+
69
+ \b \p specdiff : Spectral difference method onset detection function
70
+
71
+ Jonhatan Foote and Shingo Uchihashi. The beat spectrum: a new approach to
72
+ rhythm analysis. In IEEE International Conference on Multimedia and Expo
73
+ (ICME 2001), pages 881­884, Tokyo, Japan, August 2001.
74
+
75
+ \b \p kl : Kullback-Liebler onset detection function
76
+
77
+ Stephen Hainsworth and Malcom Macleod. Onset detection in music audio
78
+ signals. In Proceedings of the International Computer Music Conference
79
+ (ICMC), Singapore, 2003.
80
+
81
+ \b \p mkl : Modified Kullback-Liebler onset detection function
82
+
83
+ Paul Brossier, ``Automatic annotation of musical audio for interactive
84
+ systems'', Chapter 2, Temporal segmentation, PhD thesis, Centre for Digital
85
+ music, Queen Mary University of London, London, UK, 2006.
86
+
87
+ \b \p specflux : Spectral Flux
88
+
89
+ Simon Dixon, Onset Detection Revisited, in ``Proceedings of the 9th
90
+ International Conference on Digital Audio Effects'' (DAFx-06), Montreal,
91
+ Canada, 2006.
92
+
93
+ \subsection shapedesc Spectral shape descriptors
94
+
95
+ The following descriptors are described in:
96
+
97
+ Geoffroy Peeters, <i>A large set of audio features for sound description
98
+ (similarity and classification) in the CUIDADO project</i>, CUIDADO I.S.T.
99
+ Project Report 2004 (<a
100
+ href="http://www.ircam.fr/anasyn/peeters/ARTICLES/Peeters_2003_cuidadoaudiofeatures.pdf">pdf</a>)
101
+
102
+ \b \p centroid : Spectral centroid
103
+
104
+ The spectral centroid represents the barycenter of the spectrum.
105
+
106
+ \e Note: This function returns the result in bin. To get the spectral
107
+ centroid in Hz, aubio_bintofreq() should be used.
108
+
109
+ \b \p spread : Spectral spread
110
+
111
+ The spectral spread is the variance of the spectral distribution around its
112
+ centroid.
113
+
114
+ See also <a href="http://en.wikipedia.org/wiki/Standard_deviation">Standard
115
+ deviation</a> on Wikipedia.
116
+
117
+ \b \p skewness : Spectral skewness
118
+
119
+ Similarly, the skewness is computed from the third order moment of the
120
+ spectrum. A negative skewness indicates more energy on the lower part of the
121
+ spectrum. A positive skewness indicates more energy on the high frequency of
122
+ the spectrum.
123
+
124
+ See also <a href="http://en.wikipedia.org/wiki/Skewness">Skewness</a> on
125
+ Wikipedia.
126
+
127
+ \b \p kurtosis : Spectral kurtosis
128
+
129
+ The kurtosis is a measure of the flatness of the spectrum, computed from the
130
+ fourth order moment.
131
+
132
+ See also <a href="http://en.wikipedia.org/wiki/Kurtosis">Kurtosis</a> on
133
+ Wikipedia.
134
+
135
+ \b \p slope : Spectral slope
136
+
137
+ The spectral slope represents decreasing rate of the spectral amplitude,
138
+ computed using a linear regression.
139
+
140
+ \b \p decrease : Spectral decrease
141
+
142
+ The spectral decrease is another representation of the decreasing rate,
143
+ based on perceptual criteria.
144
+
145
+ \b \p rolloff : Spectral roll-off
146
+
147
+ This function returns the bin number below which 95% of the spectrum energy
148
+ is found.
149
+
150
+ \example spectral/test-specdesc.c
151
+
152
+ */
153
+
154
+
155
+ #ifndef AUBIO_SPECDESC_H
156
+ #define AUBIO_SPECDESC_H
157
+
158
+ #ifdef __cplusplus
159
+ extern "C" {
160
+ #endif
161
+
162
+ /** spectral description structure */
163
+ typedef struct _aubio_specdesc_t aubio_specdesc_t;
164
+
165
+ /** execute spectral description function on a spectral frame
166
+
167
+ Generic function to compute spectral description.
168
+
169
+ \param o spectral description object as returned by new_aubio_specdesc()
170
+ \param fftgrain input signal spectrum as computed by aubio_pvoc_do
171
+ \param desc output vector (one sample long, to send to the peak picking)
172
+
173
+ */
174
+ void aubio_specdesc_do (aubio_specdesc_t * o, const cvec_t * fftgrain,
175
+ fvec_t * desc);
176
+
177
+ /** creation of a spectral description object
178
+
179
+ \param method spectral description method
180
+ \param buf_size length of the input spectrum frame
181
+
182
+ The parameter \p method is a string that can be any of:
183
+
184
+ - onset novelty functions: `complex`, `energy`, `hfc`, `kl`, `mkl`,
185
+ `phase`, `specdiff`, `specflux`, `wphase`,
186
+
187
+ - spectral descriptors: `centroid`, `decrease`, `kurtosis`, `rolloff`,
188
+ `skewness`, `slope`, `spread`.
189
+
190
+ */
191
+ aubio_specdesc_t *new_aubio_specdesc (const char_t * method, uint_t buf_size);
192
+
193
+ /** deletion of a spectral descriptor
194
+
195
+ \param o spectral descriptor object as returned by new_aubio_specdesc()
196
+
197
+ */
198
+ void del_aubio_specdesc (aubio_specdesc_t * o);
199
+
200
+ #ifdef __cplusplus
201
+ }
202
+ #endif
203
+
204
+ #endif /* AUBIO_SPECDESC_H */