Author: user

  • Arg keep_silence on split_on_silence of pydub.silence

    Here’s the function’s code. The third arg, keep_silence keeps initial silence of a audio file. Set it 0 if you want to remove it. https://github.com/jiaaro/pydub/blob/master/pydub/silence.py#L78

  • Past perfect tense and simple past tense.

    By courtesy of GPT. The difference between the two sentences lies in the tense and aspect of the verb “had.” Let’s break down each sentence: “Last night I had had beer.” This sentence uses the past perfect tense (“had had”). The past perfect tense is formed by using the past tense of the auxiliary verb…

  • How to use Google Drive APIs in swift apps in 2024?

    Prerequisite: You need to configure OAuth credential and also edit “info.plist” to integrate “GoogleSignIn” package into your swift project. https://console.cloud.google.com/apis/dashboard Pod.file packages: GoogleAPIClientForRest(>3.5) GoogleAPIClientForRest/Drive GoogleSignIn(7.1.0-fac-eap-1.0.0) AppDelegate.swift   GoogleSiginInController.swift GoogleDriveController.swift References: https://medium.com/@kgleong/how-to-add-native-ios-google-sign-in-8ef66c09006e