174 MOZZI_DEPRECATED("2.0", "This use of getAudioInput() is not portable. Refer to the API documentation for suggested alternatives") inline uint16_t getAudioInput() { return getAudioInput<MOZZI__INTERNAL_ANALOG_READ_RESOLUTION>(); };
175#endif
176#endif
177
178
179/** @ingroup core
180An alternative for Arduino time functions like micros() and millis(). This is slightly faster than micros(),
181and also it is synchronized with the currently processed audio sample (which, due to the audio
182output buffer, could diverge up to 256/MOZZI_AUDIO_RATE seconds from the current time).
183audioTicks() is updated each time an audio sample
184is output, so the resolution is 1/MOZZI_AUDIO_RATE microseconds (61 microseconds when MOZZI_AUDIO_RATE is
18516384 Hz).
186@return the number of audio ticks since the program began.
Generated automatically using Doxygen. If info on this page is outdated, incomplete, or wrong, please open an issue at https://github.com/sensorium/Mozzi/issues