public static bool HasBeat(this Tempo tempo, FVec output) { if (tempo == null) { throw new ArgumentNullException(nameof(tempo)); } if (output == null) { throw new ArgumentNullException(nameof(output)); } return(!output[0].AlmostEquals(0.0f)); }
private static extern TempoTatum aubio_tempo_was_tatum( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance);
private static extern void del_aubio_tempo( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance);
private static extern bool aubio_tempo_set_threshold( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance, float threshold);
private static extern bool aubio_tempo_set_tatum_signature( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance, uint signature);
private static extern bool aubio_tempo_set_delay( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance, int delay);
private static extern float aubio_tempo_get_silence( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance);
private static extern void aubio_tempo_do( [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(TempoMarshaler))] Tempo instance, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FVecMarshaler))] FVec input, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FVecMarshaler))] FVec output);