high sierra – quicklook skips around in the beginning when playing foreign audio formats (flac, mp3)

If I generate preview of an audio file of foreign format, for example, flac or mp3, quicklook skips around 2 times in the first 10~15 seconds of playing. This does not happen for native formats like aiff or m4a (alac).

Sample file (original plus quicklook output): https://github.com/sclsj/quicklook or https://scls-my.sharepoint.cn/:f:/g/personal/joyjin_scls-sh_org/EvhC-EDGb9hMhRaLViY3tzgBR4W20ggQTu6eKqx0Li6DXQ?e=fbqHn9

Sample output (qlmanage -d 4 -p)

qlmanage -d 4 -p /volumes/Seagate 5T (Joy Jin)/tmp/QQ音乐/東方花映塚/上海アリス幻樂団 (上海爱莉丝幻乐团)-六十年目の東方裁判~Fate of Sixty Years.mp3 

Testing Quick Look preview with files:
    /volumes/Seagate 5T (Joy Jin)/tmp/QQ音乐/東方花映塚/上海アリス幻樂団 (上海爱莉丝幻乐团)-六十年目の東方裁判~Fate of Sixty Years.mp3
(DEBUG) Registering <QLGenerator Web.qlgenerator> for com.apple.webarchive
(DEBUG) Registering <QLGenerator Web.qlgenerator> for public.html
(DEBUG) Registering <QLGenerator Web.qlgenerator> for public.xhtml
(DEBUG) Registering <QLGenerator Web.qlgenerator> for public.svg-image
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.finder.textclipping
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.finder.pictclipping
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.pict
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.internet-location
(DEBUG) Registering <QLGenerator Package.qlgenerator> for com.apple.package
(DEBUG) Registering <QLGenerator Image.qlgenerator> for public.image
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/SceneKit.qlgenerator> for public.3d-content
(DEBUG) Registering <QLGenerator Text.qlgenerator> for public.plain-text
(DEBUG) Registering <QLGenerator Text.qlgenerator> for public.rtf
(DEBUG) Registering <QLGenerator Text.qlgenerator> for com.apple.rtfd
(DEBUG) Registering <QLGenerator Text.qlgenerator> for org.oasis-open.opendocument.text
(DEBUG) Registering <QLGenerator Text.qlgenerator> for com.apple.property-list
(DEBUG) Registering <QLGenerator Text.qlgenerator> for public.xml
(DEBUG) Registering <QLGenerator Font.qlgenerator> for public.font
(DEBUG) Registering <QLGenerator PDF.qlgenerator> for com.adobe.pdf
(DEBUG) Registering <QLGenerator Audio.qlgenerator> for public.audio
(DEBUG) Registering <QLGenerator StandardBundles.qlgenerator> for com.apple.application
(DEBUG) Registering <QLGenerator StandardBundles.qlgenerator> for com.apple.systempreference.prefpane
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iBooks.qlgenerator> for org.idpf.epub-folder
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iBooks.qlgenerator> for com.apple.ibooks-folder
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iBooks.qlgenerator> for org.idpf.epub-container
(DEBUG) Registering <QLGenerator LivePhoto.qlgenerator> for com.apple.private.live-photo-bundle
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for public.x509-certificate
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for public.x509-printable-encoded-archive
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for com.rsa.pkcs-12
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for com.apple.keychain
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iChat.qlgenerator> for com.apple.ichat.ichat
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iChat.qlgenerator> for com.apple.ichat.transcript
(DEBUG) Registering <QLGenerator Movie.qlgenerator> for public.movie
(DEBUG) Registering <QLGenerator Bookmark.qlgenerator> for com.apple.safari.bookmark
(DEBUG) Registering <QLGenerator Bookmark.qlgenerator> for com.apple.safari.history
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.bookmark
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.bookmark.todo
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.ics
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.ics.event
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.ics.todo
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Mail.qlgenerator> for com.apple.mail.email
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Mail.qlgenerator> for com.apple.mail.emlx
(DEBUG) Registering <QLGenerator EPS.qlgenerator> for com.adobe.encapsulated-postscript
(DEBUG) Registering <QLGenerator EPS.qlgenerator> for com.adobe.illustrator.ai-image
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.word.doc
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.word.dot
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.word.stationery
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.excel.xls
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.excel.xlt
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.powerpoint.ppt
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.powerpoint.pot
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.powerpoint.pps
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.document
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.template
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.document.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.template.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.sheet
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.template
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.sheet.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.template.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.presentation
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.template.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.template
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.presentation.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.slideshow
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.slideshow.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for public.comma-separated-values-text
(DEBUG) Registering <QLGenerator Icon.qlgenerator> for com.apple.iconset
(DEBUG) Registering <QLGenerator Contact.qlgenerator> for public.vcard
(DEBUG) Registering <QLGenerator Contact.qlgenerator> for com.apple.addressbook.person
(DEBUG) Registering <QLGenerator Contact.qlgenerator> for com.apple.addressbook.group
(DEBUG) Registering <QLGenerator LocPDF.qlgenerator> for com.apple.localized-pdf-bundle
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.numbers
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.sffnumbers
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.numbers-tef
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.sfftemplate
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.template
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.pages
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.sffpages
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.pages-tef
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.sfftemplate
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.template
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.key
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.keynote.key
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.sffkey
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.key-tef
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.sffkth
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.kth
(DEBUG) Registering <QLGenerator /Library/QuickLook/QuickNFO.qlgenerator> for org.planbnet.nfo
(DEBUG) Registering <QLGenerator /Library/QuickLook/iBooksAuthor.qlgenerator> for com.apple.ibooksauthor.book
(DEBUG) Registering <QLGenerator /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator> for com.apple.mobileprovision
(DEBUG) Registering <QLGenerator /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator> for com.apple.provisionprofile
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ParallelsQL.qlgenerator> for com.parallels.vm.vmpackage
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ParallelsQL.qlgenerator> for com.parallels.vm.vmpackage.compressed
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ParallelsQL.qlgenerator> for com.vmware.foreign.pvm
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ExeQL.qlgenerator> for com.microsoft.windows-executable
(DEBUG) Registering <QLGenerator /Applications/Sibelius.app/Contents/Library/QuickLook/SibeliusScore.qlgenerator> for com.sibelius.score
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator> for com.apple.garageband.project
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator> for com.apple.garageband.template.magic
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator> for com.apple.garageband.template.magicmentor
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator> for com.apple.logicx.project
(DEBUG) file:///Applications/Logic%20Pro%20X.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator/ is older than <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator>. Ignoring
(DEBUG) Registering <QLGenerator /Applications/Parallels Toolbox.app/Contents/Library/QuickLook/ParallelsToolboxQuickLookPlugin.qlgenerator> for com.apple.application-bundle
(DEBUG) Registering <QLGenerator /Applications/Parallels Toolbox.app/Contents/Library/QuickLook/ParallelsToolboxQuickLookPlugin.qlgenerator> for com.apple.application
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.simulink-model-slx
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-app
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-app-install
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-toolbox
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.simulink-template
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-data-export
(DEBUG) Preview test for file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3. Content type UTI: public.mp3
(DEBUG) Previewing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3. Content type UTI: public.mp3. Generator used: <QLGenerator Audio.qlgenerator>
(DEBUG) Loading <QLGenerator Audio.qlgenerator>
(DEBUG) Previewing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3 finished
(DEBUG) Thumbnailing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3 (try #1)
(DEBUG) Thumbnailing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3. Content type UTI: public.mp3. Generator used: <QLGenerator Audio.qlgenerator>
(DEBUG) Thumbnailing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3 did not produce anything
2020-07-02 18:05:16.462 qlmanage(46072:1791597) *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1d603, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2020-07-02 18:05:16.606 qlmanage(46072:1791597) *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x19e1f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.

qlmanage generated preview does not have the skipping around problem. qlmanage does produce a few more errors if I drag the time slice:

2020-07-02 18:07:36.486 qlmanage(46109:1793590) CMTimeMakeWithSeconds(27.947 seconds, timescale 1): warning: error of -0.947 introduced due to very low timescale
2020-07-02 18:07:36.487 qlmanage(46109:1793590) CMTimeMakeWithSeconds(28.215 seconds, timescale 1): warning: error of -0.215 introduced due to very low timescale
2020-07-02 18:07:37.824 qlmanage(46109:1793590) CMTimeMakeWithSeconds(67.678 seconds, timescale 1): warning: error of -0.678 introduced due to very low timescale
2020-07-02 18:07:37.825 qlmanage(46109:1793590) CMTimeMakeWithSeconds(67.946 seconds, timescale 1): warning: error of -0.946 introduced due to very low timescale

I don’t know how to troubleshoot this problem. Does anyone have any idea to why this occur or possible solutions?

System: macOS High Sierra 10.13.6

Windows 10 Audio interruptions by disk access

On a fresh and clean Windows 10 install with a secondary HDD Windows spins up the HDD 2-3 times per day at random times without any user interaction and certainly no access to files on that HDD.

This causes audio interruptions of around 1-2 seconds when playing back videos from YouTube or Netflix.

Indexing is deactivated for that Volume and Windows Search is disabled.

Is there a way to deactivate this without removing the HDD physically?

My Bose QuietComfort 35 II headphones are connected to Windows 7 and an iPad: how can I prevent Windows 7 from muting the audio coming from the iPad?

My Bose QuietComfort 35 II headphones are connected to Windows 7 and some iPad (iPad Pro MM172LL/A): how can I prevent Windows 7 from muting the audio coming from the iPad? Even when no audio is played on Windows 7, I have to disconnect the Bose QuietComfort 35 II headphones from Windows 7 to be able to hear the iPad.

d

web part – Uploading multiple audio files to a page on SharePoint online

I’m struggling to do what I think should be simple and easy: We want to display multiple audio files on a Page in a clean and elegant way. The audio clips are all uploaded to our Documents library.

The Embed and File Viewer web parts only displays 1 audio file at a time, and it ends up looking like a video. They also show the menu bar (Share, Copy Link, Download, etc.) at the top, which I’m also trying to figure out how to remove too.

Embedding an audio file using the Embed web part

There was this answer posted about uploading the audio files to a PowerPoint > exporting the ppt to mp4 > uploading to Streams, but the mp4 just has all the audio clips playing back-to-back. Not to mention, it takes forever to export to mp4 (there are easier ways to render a video like this anyway).

I’m interested in following the first reply to this question here, but we use SharePoint Online exclusively—I’m not familiar with using custom or external web parts/scripts. We are hesitant to do this as we want to keep things as simple as possible, but if this is the best method then we’ll explore this.

Any pointers would be appreciated!

c# – Record from microphone and playback audio in the next scene in Unity

I am making a simple interactive video in which I need to trigger the microphone to start recording automatically in the beginning of the scene and stop recording after 15 seconds. And then, I need the recording to be played automatically after 30 seconds in the next scene.
I have found this script (https://gist.github.com/darktable/2317063) for saving the recording as a wav file, and then I can guess how to load it to the next scene. However, I don’t know how to properly write the recording+saving. I know this might be very basic but I am a complete beginner and need to do it for my graduation project. Any help/suggestion is greatly appreciated! Cheers!

audio – Is there a (video-)conferencing tool that supports positional sound (and avatars)?

Due to the SARS-CoV-2-pandemic, a lot of companies and institutions are using (video-)conferencing tools for their meetings. One of a problems that I encountered here is that meetings with more than 2-3 people are not really suitable for socializing purposes. The main reason is that, while in real live on a coffee break or evening out with the team you can physically move between smaller subgroups and focus on the conversation there, in a (video-)conference you can’t.

I imagine something like Minecraft with positional sound for voice conferencing would be a great step in that direction. Besides the positional sound, having an avatar and the possibility to move around also does a lot. But I could not find a tool with similar features. So my question is, is there a tool supporting such a feature?

I’m not sure if superuser (moved here from stackoverflow) is the right channel to ask (feel free to move this question / point me to a better place) but the problem should be common at least among many tech firms around the globe, so maybe someone picks up that idea.

Starting audio from timecode in terminal

Is there any way to get just a segment of an audio file to be played by afplay since this command doesn’t have that feature.

audio – MacBook Pro (13-inch, Mid 2012) does not recognise Yamaha YHT-1840

I connected my MacBook using MiniDisplay+HDMI cable to input port on a receiver.
I connected my Projector to output port on receiver.

All works great I can see a video and I can hear 5.1 audio.

But when I switch off a projector or unplug it at all MacBook stop seeing a receiver.

I would like to play just music for example without running projector.

When I switch off projector the output looks like this:
enter image description here

Do I need projector to be switched on every time to hear a sound?

Record video using MobaMotion with audio stream

I recently found great app called MobaMotion from Mobatek which allow to record animation and generate html file.
Works great and it’s free.
I was wondering if it could be used with audio stream ..
Is anyone aware?
Thanks

unity – How do I play an audio clip repeatedly, controlled by time?

The simplest thing to do is to check whether the audio source is still playing the previous sound, and play a new one only if it’s done:

if(!gunFireSound.isPlaying)
    gunFireSound.Play();

But that might make your shots sound too far apart. So you might want to allow your new shot to interrupt the old one after a specified duration.

if(!gunFireSound.isPlaying || gunFireSound.timeSamples > gunFireInterrupt)
    gunFireSound.Play();

Here timeSamples is a high-precision count of the individual audio samples played so far.

You can also use PlayScheduled to queue-up the next iteration of the shot at a fixed interval from the previous one, to make the rhythm of shots more uniform despite variances in frame timing.

But the best solution is probably to have a looping machine gun sound that you can start playing on press, and transition into a tail-off sound on release. This will give you the best control over the sound and rhythm of the shots, and avoid artifacts from interrupting a sound in progress.