diff --git a/404.html b/404.html index cdea07e7..751c8cdd 100644 --- a/404.html +++ b/404.html @@ -4,13 +4,13 @@ Page Not Found | Buzz - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/0480b142.7d3a97be.js b/assets/js/0480b142.7d3a97be.js deleted file mode 100644 index 1c50665e..00000000 --- a/assets/js/0480b142.7d3a97be.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[836],{3905:(e,t,a)=>{a.d(t,{Zo:()=>c,kt:()=>h});var r=a(7294);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var l=r.createContext({}),p=function(e){var t=r.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},c=function(e){var t=p(e.components);return r.createElement(l.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var a=e.components,o=e.mdxType,n=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(a),d=o,h=u["".concat(l,".").concat(d)]||u[d]||m[d]||n;return a?r.createElement(h,i(i({ref:t},c),{},{components:a})):r.createElement(h,i({ref:t},c))}));function h(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=a.length,i=new Array(n);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:o,i[1]=s;for(var p=2;p{a.r(t),a.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>m,frontMatter:()=>n,metadata:()=>s,toc:()=>p});var r=a(7462),o=(a(7294),a(3905));const n={title:"FAQ",sidebar_position:5},i=void 0,s={unversionedId:"faq",id:"faq",title:"FAQ",description:"1. Where are the models stored?",source:"@site/docs/faq.md",sourceDirName:".",slug:"/faq",permalink:"/buzz/docs/faq",draft:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{title:"FAQ",sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"CLI",permalink:"/buzz/docs/cli"}},l={},p=[],c={toc:p},u="wrapper";function m(e){let{components:t,...a}=e;return(0,o.kt)(u,(0,r.Z)({},c,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"Where are the models stored?")),(0,o.kt)("p",{parentName:"li"},"The models are stored in ",(0,o.kt)("inlineCode",{parentName:"p"},"~/.cache/Buzz")," (Linux), ",(0,o.kt)("inlineCode",{parentName:"p"},"~/Library/Caches/Buzz"),"\n(Mac OS) or ",(0,o.kt)("inlineCode",{parentName:"p"},"%USERPROFILE%\\AppData\\Local\\Buzz\\Buzz\\Cache")," (Windows)."),(0,o.kt)("p",{parentName:"li"},"Paste the location in your file manager to access the models.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"What can I try if the transcription runs too slowly?")),(0,o.kt)("p",{parentName:"li"},"Speech recognition requires large amount of computation, so one option is to try using a lower Whisper model size or using a Whisper.cpp model to run speech recognition of your computer. If you have access to a computer with GPU that has at least 6GB of VRAM you can try using the Faster Whisper model."),(0,o.kt)("p",{parentName:"li"},"Buzz also supports using OpenAI API to do speech recognition on a remote server. To use this feature you need to set OpenAI API key in Preferences. See ",(0,o.kt)("a",{parentName:"p",href:"https://chidiwilliams.github.io/buzz/docs/preferences"},"Preferences")," section for more details.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"How to record system audio?")),(0,o.kt)("p",{parentName:"li"},"To transcribe system audio you need to configure virtual audio device and connect output from the applications you want to transcribe to this virtual speaker. After that you can select it as source in the Buzz. See ",(0,o.kt)("a",{parentName:"p",href:"https://chidiwilliams.github.io/buzz/docs/usage/live_recording"},"Usage")," section for more details."),(0,o.kt)("p",{parentName:"li"},"Relevant tools:"),(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"Mac OS - ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/ExistentialAudio/BlackHole"},"BlackHole"),"."),(0,o.kt)("li",{parentName:"ul"},"Windows - ",(0,o.kt)("a",{parentName:"li",href:"https://vb-audio.com/Cable/"},"VB CABLE")),(0,o.kt)("li",{parentName:"ul"},"Linux - ",(0,o.kt)("a",{parentName:"li",href:"https://wiki.ubuntu.com/record_system_sound"},"PulseAudio Volume Control")))),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"What model should I use?")),(0,o.kt)("p",{parentName:"li"},"Model size to use will depend on your hardware and use case. Smaller models will work faster but will have more inaccuracies. Larger models will be more accurate but will require more powerful hardware or longer time to transcribe. "),(0,o.kt)("p",{parentName:"li"},'When choosing among large models consider the following. "Large" is the first released older model, "Large-V2" is later updated model with better accuracy, for some languages considered the most robust and stable. "Large-V3" is the latest model with the best accuracy in many cases, but some times can hallucinate or invent words that were never in the audio. "Turbo" model tries to get a good balance between speed and accuracy. The only sure way to know what model best suits your needs is to test them all in your language. ')),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"How to get GPU acceleration for faster transcription?")),(0,o.kt)("p",{parentName:"li"},"On Linux GPU acceleration is supported out of the box on Nvidia GPUs. If you still get any issues install ",(0,o.kt)("a",{parentName:"p",href:"https://developer.nvidia.com/cuda-downloads"},"CUDA 12"),", ",(0,o.kt)("a",{parentName:"p",href:"https://developer.nvidia.com/cublas"},"cuBLASS")," and ",(0,o.kt)("a",{parentName:"p",href:"https://developer.nvidia.com/cudnn"},"cuDNN"),"."),(0,o.kt)("p",{parentName:"li"},"On Windows see ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/chidiwilliams/buzz/blob/main/CONTRIBUTING.md#gpu-support"},"this note")," on enabling CUDA GPU support."),(0,o.kt)("p",{parentName:"li"},"For Faster whisper CUDA 12 is required, computers with older CUDA versions will use CPU. ")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"How to fix ",(0,o.kt)("inlineCode",{parentName:"strong"},"Unanticipated host error[PaErrorCode-9999]"),"?")),(0,o.kt)("p",{parentName:"li"},"Check if there are any system settings preventing apps from accessing the microphone."),(0,o.kt)("p",{parentName:"li"},"On Windows, see if Buzz has permission to use the microphone in Settings -> Privacy -> Microphone."),(0,o.kt)("p",{parentName:"li"},"See method 1 in this video ",(0,o.kt)("a",{parentName:"p",href:"https://www.youtube.com/watch?v=eRcCYgOuSYQ"},"https://www.youtube.com/watch?v=eRcCYgOuSYQ")),(0,o.kt)("p",{parentName:"li"},"For method 2 there is no need to uninstall the antivirus, but see if you can temporarily disable it or if there are settings that may prevent Buzz from accessing the microphone.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"Can I use Buzz on a computer without internet?")),(0,o.kt)("p",{parentName:"li"},'Yes, Buzz can be used without internet connection if you download the necessary models on some other computer that has the internet and manually move them to the offline computer. The easiest way to find where the models are stored is to go to Help -> Preferences -> Models. Then download some model, and push "Show file location" button. This will open the folder where the models are stored. Copy the models folder to the same location on the offline computer. F.e. for Linux it is ',(0,o.kt)("inlineCode",{parentName:"p"},".cache/Buzz/models")," in your home directory.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"Buzz crashes, what to do?")),(0,o.kt)("p",{parentName:"li"},"If a model download was incomplete or corrupted, Buzz may crash. Try to delete the downloaded model files in ",(0,o.kt)("inlineCode",{parentName:"p"},"Help -> Preferences -> Models")," and re-download them."),(0,o.kt)("p",{parentName:"li"},"If that does not help, check the log file for errors and ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/chidiwilliams/buzz/issues"},"report the issue")," so we can fix it. The log file is located in ",(0,o.kt)("inlineCode",{parentName:"p"},"~/Library/Logs/Buzz")," (Mac OS) or ",(0,o.kt)("inlineCode",{parentName:"p"},"%USERPROFILE%\\AppData\\Local\\Buzz\\Buzz\\Logs")," (Windows). On Linux run the Buzz from the command line to see the relevant messages.")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("strong",{parentName:"p"},"Where can I get latest development version?")),(0,o.kt)("p",{parentName:"li"},"Latest development version will have latest bug fixes and most recent features. If you feel a bit adventurous it is recommended to try the latest development version as they needs some testing before they get released to everybody. "),(0,o.kt)("p",{parentName:"li"},"Linux users can get the latest version with this command ",(0,o.kt)("inlineCode",{parentName:"p"},"sudo snap install buzz --edge")),(0,o.kt)("p",{parentName:"li"},"For other platforms do the following:"),(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"Go to the ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain"},"build section")),(0,o.kt)("li",{parentName:"ul"},"Click on the link to the latest build"),(0,o.kt)("li",{parentName:"ul"},"Scroll down to the artifacts section in the build page"),(0,o.kt)("li",{parentName:"ul"},"Download the installation file. Please note that you need to be logged in the Github to see the download links.")))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0480b142.d79c8435.js b/assets/js/0480b142.d79c8435.js new file mode 100644 index 00000000..0b859042 --- /dev/null +++ b/assets/js/0480b142.d79c8435.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[836],{3905:(e,t,o)=>{o.d(t,{Zo:()=>c,kt:()=>m});var r=o(7294);function n(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function i(e){for(var t=1;t=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var l=r.createContext({}),u=function(e){var t=r.useContext(l),o=t;return e&&(o="function"==typeof e?e(t):i(i({},t),e)),o},c=function(e){var t=u(e.components);return r.createElement(l.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},h=r.forwardRef((function(e,t){var o=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),d=u(o),h=n,m=d["".concat(l,".").concat(h)]||d[h]||p[h]||a;return o?r.createElement(m,i(i({ref:t},c),{},{components:o})):r.createElement(m,i({ref:t},c))}));function m(e,t){var o=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=o.length,i=new Array(a);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[d]="string"==typeof e?e:n,i[1]=s;for(var u=2;u{o.r(t),o.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>u});var r=o(7462),n=(o(7294),o(3905));const a={title:"FAQ",sidebar_position:5},i=void 0,s={unversionedId:"faq",id:"faq",title:"FAQ",description:"1. Where are the models stored?",source:"@site/docs/faq.md",sourceDirName:".",slug:"/faq",permalink:"/buzz/docs/faq",draft:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{title:"FAQ",sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"CLI",permalink:"/buzz/docs/cli"}},l={},u=[{value:"1. Where are the models stored?",id:"1-where-are-the-models-stored",level:4},{value:"2. What can I try if the transcription runs too slowly?",id:"2-what-can-i-try-if-the-transcription-runs-too-slowly",level:4},{value:"3. How to record system audio?",id:"3-how-to-record-system-audio",level:4},{value:"4. What model should I use?",id:"4-what-model-should-i-use",level:4},{value:"5. How to get GPU acceleration for faster transcription?",id:"5-how-to-get-gpu-acceleration-for-faster-transcription",level:4},{value:"6. How to fix Unanticipated host error[PaErrorCode-9999]?",id:"6-how-to-fix-unanticipated-host-errorpaerrorcode-9999",level:4},{value:"7. Can I use Buzz on a computer without internet?",id:"7-can-i-use-buzz-on-a-computer-without-internet",level:4},{value:"8. Buzz crashes, what to do?",id:"8-buzz-crashes-what-to-do",level:4},{value:"9. Where can I get latest development version?",id:"9-where-can-i-get-latest-development-version",level:3}],c={toc:u},d="wrapper";function p(e){let{components:t,...o}=e;return(0,n.kt)(d,(0,r.Z)({},c,o,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h4",{id:"1-where-are-the-models-stored"},"1. Where are the models stored?"),(0,n.kt)("p",null," The models are stored in ",(0,n.kt)("inlineCode",{parentName:"p"},"~/.cache/Buzz")," (Linux), ",(0,n.kt)("inlineCode",{parentName:"p"},"~/Library/Caches/Buzz"),"\n(Mac OS) or ",(0,n.kt)("inlineCode",{parentName:"p"},"%USERPROFILE%\\AppData\\Local\\Buzz\\Buzz\\Cache")," (Windows)."),(0,n.kt)("p",null," Paste the location in your file manager to access the models."),(0,n.kt)("h4",{id:"2-what-can-i-try-if-the-transcription-runs-too-slowly"},"2. What can I try if the transcription runs too slowly?"),(0,n.kt)("p",null," Speech recognition requires large amount of computation, so one option is to try using a lower Whisper model size or using a Whisper.cpp model to run speech recognition of your computer. If you have access to a computer with GPU that has at least 6GB of VRAM you can try using the Faster Whisper model."),(0,n.kt)("p",null," Buzz also supports using OpenAI API to do speech recognition on a remote server. To use this feature you need to set OpenAI API key in Preferences. See ",(0,n.kt)("a",{parentName:"p",href:"https://chidiwilliams.github.io/buzz/docs/preferences"},"Preferences")," section for more details."),(0,n.kt)("h4",{id:"3-how-to-record-system-audio"},"3. How to record system audio?"),(0,n.kt)("p",null," To transcribe system audio you need to configure virtual audio device and connect output from the applications you want to transcribe to this virtual speaker. After that you can select it as source in the Buzz. See ",(0,n.kt)("a",{parentName:"p",href:"https://chidiwilliams.github.io/buzz/docs/usage/live_recording"},"Usage")," section for more details."),(0,n.kt)("p",null," Relevant tools:"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Mac OS - ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/ExistentialAudio/BlackHole"},"BlackHole"),"."),(0,n.kt)("li",{parentName:"ul"},"Windows - ",(0,n.kt)("a",{parentName:"li",href:"https://vb-audio.com/Cable/"},"VB CABLE")),(0,n.kt)("li",{parentName:"ul"},"Linux - ",(0,n.kt)("a",{parentName:"li",href:"https://wiki.ubuntu.com/record_system_sound"},"PulseAudio Volume Control"))),(0,n.kt)("h4",{id:"4-what-model-should-i-use"},"4. What model should I use?"),(0,n.kt)("p",null," Model size to use will depend on your hardware and use case. Smaller models will work faster but will have more inaccuracies. Larger models will be more accurate but will require more powerful hardware or longer time to transcribe. "),(0,n.kt)("p",null,' When choosing among large models consider the following. "Large" is the first released older model, "Large-V2" is later updated model with better accuracy, for some languages considered the most robust and stable. "Large-V3" is the latest model with the best accuracy in many cases, but some times can hallucinate or invent words that were never in the audio. "Turbo" model tries to get a good balance between speed and accuracy. The only sure way to know what model best suits your needs is to test them all in your language. '),(0,n.kt)("h4",{id:"5-how-to-get-gpu-acceleration-for-faster-transcription"},"5. How to get GPU acceleration for faster transcription?"),(0,n.kt)("p",null," On Linux GPU acceleration is supported out of the box on Nvidia GPUs. If you still get any issues install ",(0,n.kt)("a",{parentName:"p",href:"https://developer.nvidia.com/cuda-downloads"},"CUDA 12"),", ",(0,n.kt)("a",{parentName:"p",href:"https://developer.nvidia.com/cublas"},"cuBLASS")," and ",(0,n.kt)("a",{parentName:"p",href:"https://developer.nvidia.com/cudnn"},"cuDNN"),"."),(0,n.kt)("p",null," On Windows see ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/chidiwilliams/buzz/blob/main/CONTRIBUTING.md#gpu-support"},"this note")," on enabling CUDA GPU support."),(0,n.kt)("p",null," For Faster whisper CUDA 12 is required, computers with older CUDA versions will use CPU. "),(0,n.kt)("h4",{id:"6-how-to-fix-unanticipated-host-errorpaerrorcode-9999"},"6. How to fix ",(0,n.kt)("inlineCode",{parentName:"h4"},"Unanticipated host error[PaErrorCode-9999]"),"?"),(0,n.kt)("p",null," Check if there are any system settings preventing apps from accessing the microphone."),(0,n.kt)("p",null," On Windows, see if Buzz has permission to use the microphone in Settings -> Privacy -> Microphone."),(0,n.kt)("p",null," See method 1 in this video ",(0,n.kt)("a",{parentName:"p",href:"https://www.youtube.com/watch?v=eRcCYgOuSYQ"},"https://www.youtube.com/watch?v=eRcCYgOuSYQ")),(0,n.kt)("p",null," For method 2 there is no need to uninstall the antivirus, but see if you can temporarily disable it or if there are settings that may prevent Buzz from accessing the microphone."),(0,n.kt)("h4",{id:"7-can-i-use-buzz-on-a-computer-without-internet"},"7. Can I use Buzz on a computer without internet?"),(0,n.kt)("p",null,' Yes, Buzz can be used without internet connection if you download the necessary models on some other computer that has the internet and manually move them to the offline computer. The easiest way to find where the models are stored is to go to Help -> Preferences -> Models. Then download some model, and push "Show file location" button. This will open the folder where the models are stored. Copy the models folder to the same location on the offline computer. F.e. for Linux it is ',(0,n.kt)("inlineCode",{parentName:"p"},".cache/Buzz/models")," in your home directory."),(0,n.kt)("h4",{id:"8-buzz-crashes-what-to-do"},"8. Buzz crashes, what to do?"),(0,n.kt)("p",null," If a model download was incomplete or corrupted, Buzz may crash. Try to delete the downloaded model files in ",(0,n.kt)("inlineCode",{parentName:"p"},"Help -> Preferences -> Models")," and re-download them."),(0,n.kt)("p",null," If that does not help, check the log file for errors and ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/chidiwilliams/buzz/issues"},"report the issue")," so we can fix it. The log file is located in ",(0,n.kt)("inlineCode",{parentName:"p"},"~/Library/Logs/Buzz")," (Mac OS) or ",(0,n.kt)("inlineCode",{parentName:"p"},"%USERPROFILE%\\AppData\\Local\\Buzz\\Buzz\\Logs")," (Windows). On Linux run the Buzz from the command line to see the relevant messages."),(0,n.kt)("h3",{id:"9-where-can-i-get-latest-development-version"},"9. Where can I get latest development version?"),(0,n.kt)("p",null," Latest development version will have latest bug fixes and most recent features. If you feel a bit adventurous it is recommended to try the latest development version as they needs some testing before they get released to everybody. "),(0,n.kt)("p",null," Linux users can get the latest version with this command ",(0,n.kt)("inlineCode",{parentName:"p"},"sudo snap install buzz --edge")),(0,n.kt)("p",null," For other platforms do the following:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"- Go to the [build section](https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain)\n- Click on the link to the latest build\n- Scroll down to the artifacts section in the build page\n- Download the installation file. Please note that you need to be logged in the Github to see the download links.\n")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1a20bc57.9441f8cd.js b/assets/js/1a20bc57.9441f8cd.js new file mode 100644 index 00000000..c88d56c0 --- /dev/null +++ b/assets/js/1a20bc57.9441f8cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[468],{3905:(e,n,a)=>{a.d(n,{Zo:()=>c,kt:()=>f});var t=a(7294);function r(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function i(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function o(e){for(var n=1;n=0||(r[a]=e[a]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var l=t.createContext({}),p=function(e){var n=t.useContext(l),a=n;return e&&(a="function"==typeof e?e(n):o(o({},n),e)),a},c=function(e){var n=p(e.components);return t.createElement(l.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},m=t.forwardRef((function(e,n){var a=e.components,r=e.mdxType,i=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(a),m=r,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||i;return a?t.createElement(f,o(o({ref:n},c),{},{components:a})):t.createElement(f,o({ref:n},c))}));function f(e,n){var a=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=a.length,o=new Array(i);o[0]=m;var s={};for(var l in n)hasOwnProperty.call(n,l)&&(s[l]=n[l]);s.originalType=e,s[u]="string"==typeof e?e:r,o[1]=s;for(var p=2;p{a.r(n),a.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var t=a(7462),r=(a(7294),a(3905));const i={title:"CLI",sidebar_position:5},o=void 0,s={unversionedId:"cli",id:"cli",title:"CLI",description:"Commands",source:"@site/docs/cli.md",sourceDirName:".",slug:"/cli",permalink:"/buzz/docs/cli",draft:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{title:"CLI",sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Preferences",permalink:"/buzz/docs/preferences"},next:{title:"FAQ",permalink:"/buzz/docs/faq"}},l={},p=[{value:"Commands",id:"commands",level:2},{value:"add",id:"add",level:3}],c={toc:p},u="wrapper";function d(e){let{components:n,...a}=e;return(0,r.kt)(u,(0,t.Z)({},c,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"commands"},"Commands"),(0,r.kt)("h3",{id:"add"},(0,r.kt)("inlineCode",{parentName:"h3"},"add")),(0,r.kt)("p",null,"Start a new transcription task."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'Usage: buzz add [options] [file url file...]\n\nOptions:\n -t, --task The task to perform. Allowed: translate,\n transcribe. Default: transcribe.\n -m, --model-type Model type. Allowed: whisper, whispercpp,\n huggingface, fasterwhisper, openaiapi. Default:\n whisper.\n -s, --model-size Model size. Use only when --model-type is\n whisper, whispercpp, or fasterwhisper. Allowed:\n tiny, base, small, medium, large. Default:\n tiny.\n --hfid Hugging Face model ID. Use only when\n --model-type is huggingface. Example:\n "openai/whisper-tiny"\n -l, --language Language code. Allowed: af (Afrikaans), am\n (Amharic), ar (Arabic), as (Assamese), az\n (Azerbaijani), ba (Bashkir), be (Belarusian),\n bg (Bulgarian), bn (Bengali), bo (Tibetan), br\n (Breton), bs (Bosnian), ca (Catalan), cs\n (Czech), cy (Welsh), da (Danish), de (German),\n el (Greek), en (English), es (Spanish), et\n (Estonian), eu (Basque), fa (Persian), fi\n (Finnish), fo (Faroese), fr (French), gl\n (Galician), gu (Gujarati), ha (Hausa), haw\n (Hawaiian), he (Hebrew), hi (Hindi), hr\n (Croatian), ht (Haitian Creole), hu\n (Hungarian), hy (Armenian), id (Indonesian), is\n (Icelandic), it (Italian), ja (Japanese), jw\n (Javanese), ka (Georgian), kk (Kazakh), km\n (Khmer), kn (Kannada), ko (Korean), la (Latin),\n lb (Luxembourgish), ln (Lingala), lo (Lao), lt\n (Lithuanian), lv (Latvian), mg (Malagasy), mi\n (Maori), mk (Macedonian), ml (Malayalam), mn\n (Mongolian), mr (Marathi), ms (Malay), mt\n (Maltese), my (Myanmar), ne (Nepali), nl\n (Dutch), nn (Nynorsk), no (Norwegian), oc\n (Occitan), pa (Punjabi), pl (Polish), ps\n (Pashto), pt (Portuguese), ro (Romanian), ru\n (Russian), sa (Sanskrit), sd (Sindhi), si\n (Sinhala), sk (Slovak), sl (Slovenian), sn\n (Shona), so (Somali), sq (Albanian), sr\n (Serbian), su (Sundanese), sv (Swedish), sw\n (Swahili), ta (Tamil), te (Telugu), tg (Tajik),\n th (Thai), tk (Turkmen), tl (Tagalog), tr\n (Turkish), tt (Tatar), uk (Ukrainian), ur\n (Urdu), uz (Uzbek), vi (Vietnamese), yi\n (Yiddish), yo (Yoruba), zh (Chinese). Leave\n empty to detect language.\n -p, --prompt Initial prompt.\n -wt, --word-timestamps Generate word-level timestamps. (available since 1.2.0)\n --openai-token OpenAI access token. Use only when\n --model-type is openaiapi. Defaults to your\n previously saved access token, if one exists.\n --srt Output result in an SRT file.\n --vtt Output result in a VTT file.\n --txt Output result in a TXT file.\n --hide-gui Hide the main application window.\n -h, --help Displays help on commandline options.\n --help-all Displays help including Qt specific options.\n -v, --version Displays version information.\n\nArguments:\n files or urls Input file paths or urls. Url import availalbe since 1.2.0.\n')),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Examples"),":"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-shell"},'# Translate two MP3 files from French to English using OpenAI Whisper API\nbuzz add --task translate --language fr --model-type openaiapi /Users/user/Downloads/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp3 /Users/user/Downloads/koaf9083k1lkpsfdi0.mp3\n\n# Transcribe an MP4 using Whisper.cpp "small" model and immediately export to SRT and VTT files\nbuzz add --task transcribe --model-type whispercpp --model-size small --prompt "My initial prompt" --srt --vtt /Users/user/Downloads/buzz/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp4\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1a20bc57.beddf27c.js b/assets/js/1a20bc57.beddf27c.js deleted file mode 100644 index 97ea3342..00000000 --- a/assets/js/1a20bc57.beddf27c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[468],{3905:(e,n,a)=>{a.d(n,{Zo:()=>c,kt:()=>f});var t=a(7294);function r(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function i(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function o(e){for(var n=1;n=0||(r[a]=e[a]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var l=t.createContext({}),p=function(e){var n=t.useContext(l),a=n;return e&&(a="function"==typeof e?e(n):o(o({},n),e)),a},c=function(e){var n=p(e.components);return t.createElement(l.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},m=t.forwardRef((function(e,n){var a=e.components,r=e.mdxType,i=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(a),m=r,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||i;return a?t.createElement(f,o(o({ref:n},c),{},{components:a})):t.createElement(f,o({ref:n},c))}));function f(e,n){var a=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=a.length,o=new Array(i);o[0]=m;var s={};for(var l in n)hasOwnProperty.call(n,l)&&(s[l]=n[l]);s.originalType=e,s[u]="string"==typeof e?e:r,o[1]=s;for(var p=2;p{a.r(n),a.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var t=a(7462),r=(a(7294),a(3905));const i={title:"CLI",sidebar_position:5},o=void 0,s={unversionedId:"cli",id:"cli",title:"CLI",description:"Commands",source:"@site/docs/cli.md",sourceDirName:".",slug:"/cli",permalink:"/buzz/docs/cli",draft:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{title:"CLI",sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Preferences",permalink:"/buzz/docs/preferences"},next:{title:"FAQ",permalink:"/buzz/docs/faq"}},l={},p=[{value:"Commands",id:"commands",level:2},{value:"add",id:"add",level:3}],c={toc:p},u="wrapper";function d(e){let{components:n,...a}=e;return(0,r.kt)(u,(0,t.Z)({},c,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"commands"},"Commands"),(0,r.kt)("h3",{id:"add"},(0,r.kt)("inlineCode",{parentName:"h3"},"add")),(0,r.kt)("p",null,"Start a new transcription task."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'Usage: buzz add [options] [file file file...]\n\nOptions:\n -t, --task The task to perform. Allowed: translate,\n transcribe. Default: transcribe.\n -m, --model-type Model type. Allowed: whisper, whispercpp,\n huggingface, fasterwhisper, openaiapi. Default:\n whisper.\n -s, --model-size Model size. Use only when --model-type is\n whisper, whispercpp, or fasterwhisper. Allowed:\n tiny, base, small, medium, large. Default:\n tiny.\n --hfid Hugging Face model ID. Use only when\n --model-type is huggingface. Example:\n "openai/whisper-tiny"\n -l, --language Language code. Allowed: af (Afrikaans), am\n (Amharic), ar (Arabic), as (Assamese), az\n (Azerbaijani), ba (Bashkir), be (Belarusian),\n bg (Bulgarian), bn (Bengali), bo (Tibetan), br\n (Breton), bs (Bosnian), ca (Catalan), cs\n (Czech), cy (Welsh), da (Danish), de (German),\n el (Greek), en (English), es (Spanish), et\n (Estonian), eu (Basque), fa (Persian), fi\n (Finnish), fo (Faroese), fr (French), gl\n (Galician), gu (Gujarati), ha (Hausa), haw\n (Hawaiian), he (Hebrew), hi (Hindi), hr\n (Croatian), ht (Haitian Creole), hu\n (Hungarian), hy (Armenian), id (Indonesian), is\n (Icelandic), it (Italian), ja (Japanese), jw\n (Javanese), ka (Georgian), kk (Kazakh), km\n (Khmer), kn (Kannada), ko (Korean), la (Latin),\n lb (Luxembourgish), ln (Lingala), lo (Lao), lt\n (Lithuanian), lv (Latvian), mg (Malagasy), mi\n (Maori), mk (Macedonian), ml (Malayalam), mn\n (Mongolian), mr (Marathi), ms (Malay), mt\n (Maltese), my (Myanmar), ne (Nepali), nl\n (Dutch), nn (Nynorsk), no (Norwegian), oc\n (Occitan), pa (Punjabi), pl (Polish), ps\n (Pashto), pt (Portuguese), ro (Romanian), ru\n (Russian), sa (Sanskrit), sd (Sindhi), si\n (Sinhala), sk (Slovak), sl (Slovenian), sn\n (Shona), so (Somali), sq (Albanian), sr\n (Serbian), su (Sundanese), sv (Swedish), sw\n (Swahili), ta (Tamil), te (Telugu), tg (Tajik),\n th (Thai), tk (Turkmen), tl (Tagalog), tr\n (Turkish), tt (Tatar), uk (Ukrainian), ur\n (Urdu), uz (Uzbek), vi (Vietnamese), yi\n (Yiddish), yo (Yoruba), zh (Chinese). Leave\n empty to detect language.\n -p, --prompt Initial prompt.\n -wt, --word-timestamps Generate word-level timestamps.\n --openai-token OpenAI access token. Use only when\n --model-type is openaiapi. Defaults to your\n previously saved access token, if one exists.\n --srt Output result in an SRT file.\n --vtt Output result in a VTT file.\n --txt Output result in a TXT file.\n --hide-gui Hide the main application window.\n -h, --help Displays help on commandline options.\n --help-all Displays help including Qt specific options.\n -v, --version Displays version information.\n\nArguments:\n files Input file paths\n')),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Examples"),":"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-shell"},'# Translate two MP3 files from French to English using OpenAI Whisper API\nbuzz add --task translate --language fr --model-type openaiapi /Users/user/Downloads/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp3 /Users/user/Downloads/koaf9083k1lkpsfdi0.mp3\n\n# Transcribe an MP4 using Whisper.cpp "small" model and immediately export to SRT and VTT files\nbuzz add --task transcribe --model-type whispercpp --model-size small --prompt "My initial prompt" --srt --vtt /Users/user/Downloads/buzz/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp4\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.6374cab2.js b/assets/js/runtime~main.087af775.js similarity index 82% rename from assets/js/runtime~main.6374cab2.js rename to assets/js/runtime~main.087af775.js index e6309f5d..3bd20d9a 100644 --- a/assets/js/runtime~main.6374cab2.js +++ b/assets/js/runtime~main.087af775.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,o,a,n={},f={};function i(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=n,i.c=f,e=[],i.O=(t,r,o,a)=>{if(!r){var n=1/0;for(b=0;b=a)&&Object.keys(i.O).every((e=>i.O[e](r[d])))?r.splice(d--,1):(f=!1,a0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[r,o,a]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);i.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var f=2&o&&e;"object"==typeof f&&!~t.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,i.d(a,n),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"assets/js/"+({34:"871e3331",53:"935f2afb",217:"3b8c55ea",237:"1df93b7f",355:"e53fa2b7",382:"1102fda7",468:"1a20bc57",514:"1be78505",542:"2d9f39b3",836:"0480b142",860:"3e407b54",918:"17896441",958:"6dbc2e00",971:"c377a04b"}[e]||e)+"."+{34:"b7e0063b",53:"ee4c5b72",217:"a80ecf58",237:"71d7b441",355:"270fcee2",382:"2b1034e1",468:"beddf27c",514:"131974b6",542:"d25c1ab7",836:"7d3a97be",860:"987a7018",918:"0aaaf3b3",958:"24fcb0eb",971:"b0b8fe80",972:"d5cc17b1"}[e]+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="docs:",i.l=(e,t,r,n)=>{if(o[e])o[e].push(t);else{var f,d;if(void 0!==r)for(var c=document.getElementsByTagName("script"),b=0;b{f.onerror=f.onload=null,clearTimeout(s);var a=o[e];if(delete o[e],f.parentNode&&f.parentNode.removeChild(f),a&&a.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=l.bind(null,f.onerror),f.onload=l.bind(null,f.onload),d&&document.head.appendChild(f)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/buzz/",i.gca=function(e){return e={17896441:"918","871e3331":"34","935f2afb":"53","3b8c55ea":"217","1df93b7f":"237",e53fa2b7:"355","1102fda7":"382","1a20bc57":"468","1be78505":"514","2d9f39b3":"542","0480b142":"836","3e407b54":"860","6dbc2e00":"958",c377a04b:"971"}[e]||e,i.p+i.u(e)},(()=>{var e={303:0,532:0};i.f.j=(t,r)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>o=e[t]=[r,a]));r.push(o[2]=a);var n=i.p+i.u(t),f=new Error;i.l(n,(r=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;f.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",f.name="ChunkLoadError",f.type=a,f.request=n,o[1](f)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,n=r[0],f=r[1],d=r[2],c=0;if(n.some((t=>0!==e[t]))){for(o in f)i.o(f,o)&&(i.m[o]=f[o]);if(d)var b=d(i)}for(t&&t(r);c{"use strict";var e,t,r,o,a,n={},f={};function i(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=n,i.c=f,e=[],i.O=(t,r,o,a)=>{if(!r){var n=1/0;for(u=0;u=a)&&Object.keys(i.O).every((e=>i.O[e](r[d])))?r.splice(d--,1):(f=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[r,o,a]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);i.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var f=2&o&&e;"object"==typeof f&&!~t.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,i.d(a,n),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"assets/js/"+({34:"871e3331",53:"935f2afb",217:"3b8c55ea",237:"1df93b7f",355:"e53fa2b7",382:"1102fda7",468:"1a20bc57",514:"1be78505",542:"2d9f39b3",836:"0480b142",860:"3e407b54",918:"17896441",958:"6dbc2e00",971:"c377a04b"}[e]||e)+"."+{34:"b7e0063b",53:"ee4c5b72",217:"a80ecf58",237:"71d7b441",355:"270fcee2",382:"2b1034e1",468:"9441f8cd",514:"131974b6",542:"d25c1ab7",836:"d79c8435",860:"987a7018",918:"0aaaf3b3",958:"24fcb0eb",971:"b0b8fe80",972:"d5cc17b1"}[e]+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="docs:",i.l=(e,t,r,n)=>{if(o[e])o[e].push(t);else{var f,d;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u{f.onerror=f.onload=null,clearTimeout(s);var a=o[e];if(delete o[e],f.parentNode&&f.parentNode.removeChild(f),a&&a.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=l.bind(null,f.onerror),f.onload=l.bind(null,f.onload),d&&document.head.appendChild(f)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/buzz/",i.gca=function(e){return e={17896441:"918","871e3331":"34","935f2afb":"53","3b8c55ea":"217","1df93b7f":"237",e53fa2b7:"355","1102fda7":"382","1a20bc57":"468","1be78505":"514","2d9f39b3":"542","0480b142":"836","3e407b54":"860","6dbc2e00":"958",c377a04b:"971"}[e]||e,i.p+i.u(e)},(()=>{var e={303:0,532:0};i.f.j=(t,r)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>o=e[t]=[r,a]));r.push(o[2]=a);var n=i.p+i.u(t),f=new Error;i.l(n,(r=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;f.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",f.name="ChunkLoadError",f.type=a,f.request=n,o[1](f)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,n=r[0],f=r[1],d=r[2],c=0;if(n.some((t=>0!==e[t]))){for(o in f)i.o(f,o)&&(i.m[o]=f[o]);if(d)var u=d(i)}for(t&&t(r);c Introduction | Buzz - + @@ -20,7 +20,7 @@ real-time, Whisper.cpp, Faster Whisper, Whisper-compatible Hugging Face models, and the OpenAI Whisper API
  • Command-Line Interface
  • Available on Mac, Windows, and Linux
  • - + \ No newline at end of file diff --git a/docs/cli.html b/docs/cli.html index eba845c8..d72a2b66 100644 --- a/docs/cli.html +++ b/docs/cli.html @@ -4,13 +4,13 @@ CLI | Buzz - +
    -

    CLI

    Commands

    add

    Start a new transcription task.

    Usage: buzz add [options] [file file file...]

    Options:
    -t, --task <task> The task to perform. Allowed: translate,
    transcribe. Default: transcribe.
    -m, --model-type <model-type> Model type. Allowed: whisper, whispercpp,
    huggingface, fasterwhisper, openaiapi. Default:
    whisper.
    -s, --model-size <model-size> Model size. Use only when --model-type is
    whisper, whispercpp, or fasterwhisper. Allowed:
    tiny, base, small, medium, large. Default:
    tiny.
    --hfid <id> Hugging Face model ID. Use only when
    --model-type is huggingface. Example:
    "openai/whisper-tiny"
    -l, --language <code> Language code. Allowed: af (Afrikaans), am
    (Amharic), ar (Arabic), as (Assamese), az
    (Azerbaijani), ba (Bashkir), be (Belarusian),
    bg (Bulgarian), bn (Bengali), bo (Tibetan), br
    (Breton), bs (Bosnian), ca (Catalan), cs
    (Czech), cy (Welsh), da (Danish), de (German),
    el (Greek), en (English), es (Spanish), et
    (Estonian), eu (Basque), fa (Persian), fi
    (Finnish), fo (Faroese), fr (French), gl
    (Galician), gu (Gujarati), ha (Hausa), haw
    (Hawaiian), he (Hebrew), hi (Hindi), hr
    (Croatian), ht (Haitian Creole), hu
    (Hungarian), hy (Armenian), id (Indonesian), is
    (Icelandic), it (Italian), ja (Japanese), jw
    (Javanese), ka (Georgian), kk (Kazakh), km
    (Khmer), kn (Kannada), ko (Korean), la (Latin),
    lb (Luxembourgish), ln (Lingala), lo (Lao), lt
    (Lithuanian), lv (Latvian), mg (Malagasy), mi
    (Maori), mk (Macedonian), ml (Malayalam), mn
    (Mongolian), mr (Marathi), ms (Malay), mt
    (Maltese), my (Myanmar), ne (Nepali), nl
    (Dutch), nn (Nynorsk), no (Norwegian), oc
    (Occitan), pa (Punjabi), pl (Polish), ps
    (Pashto), pt (Portuguese), ro (Romanian), ru
    (Russian), sa (Sanskrit), sd (Sindhi), si
    (Sinhala), sk (Slovak), sl (Slovenian), sn
    (Shona), so (Somali), sq (Albanian), sr
    (Serbian), su (Sundanese), sv (Swedish), sw
    (Swahili), ta (Tamil), te (Telugu), tg (Tajik),
    th (Thai), tk (Turkmen), tl (Tagalog), tr
    (Turkish), tt (Tatar), uk (Ukrainian), ur
    (Urdu), uz (Uzbek), vi (Vietnamese), yi
    (Yiddish), yo (Yoruba), zh (Chinese). Leave
    empty to detect language.
    -p, --prompt <prompt> Initial prompt.
    -wt, --word-timestamps Generate word-level timestamps.
    --openai-token <token> OpenAI access token. Use only when
    --model-type is openaiapi. Defaults to your
    previously saved access token, if one exists.
    --srt Output result in an SRT file.
    --vtt Output result in a VTT file.
    --txt Output result in a TXT file.
    --hide-gui Hide the main application window.
    -h, --help Displays help on commandline options.
    --help-all Displays help including Qt specific options.
    -v, --version Displays version information.

    Arguments:
    files Input file paths

    Examples:

    # Translate two MP3 files from French to English using OpenAI Whisper API
    buzz add --task translate --language fr --model-type openaiapi /Users/user/Downloads/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp3 /Users/user/Downloads/koaf9083k1lkpsfdi0.mp3

    # Transcribe an MP4 using Whisper.cpp "small" model and immediately export to SRT and VTT files
    buzz add --task transcribe --model-type whispercpp --model-size small --prompt "My initial prompt" --srt --vtt /Users/user/Downloads/buzz/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp4
    - +

    CLI

    Commands

    add

    Start a new transcription task.

    Usage: buzz add [options] [file url file...]

    Options:
    -t, --task <task> The task to perform. Allowed: translate,
    transcribe. Default: transcribe.
    -m, --model-type <model-type> Model type. Allowed: whisper, whispercpp,
    huggingface, fasterwhisper, openaiapi. Default:
    whisper.
    -s, --model-size <model-size> Model size. Use only when --model-type is
    whisper, whispercpp, or fasterwhisper. Allowed:
    tiny, base, small, medium, large. Default:
    tiny.
    --hfid <id> Hugging Face model ID. Use only when
    --model-type is huggingface. Example:
    "openai/whisper-tiny"
    -l, --language <code> Language code. Allowed: af (Afrikaans), am
    (Amharic), ar (Arabic), as (Assamese), az
    (Azerbaijani), ba (Bashkir), be (Belarusian),
    bg (Bulgarian), bn (Bengali), bo (Tibetan), br
    (Breton), bs (Bosnian), ca (Catalan), cs
    (Czech), cy (Welsh), da (Danish), de (German),
    el (Greek), en (English), es (Spanish), et
    (Estonian), eu (Basque), fa (Persian), fi
    (Finnish), fo (Faroese), fr (French), gl
    (Galician), gu (Gujarati), ha (Hausa), haw
    (Hawaiian), he (Hebrew), hi (Hindi), hr
    (Croatian), ht (Haitian Creole), hu
    (Hungarian), hy (Armenian), id (Indonesian), is
    (Icelandic), it (Italian), ja (Japanese), jw
    (Javanese), ka (Georgian), kk (Kazakh), km
    (Khmer), kn (Kannada), ko (Korean), la (Latin),
    lb (Luxembourgish), ln (Lingala), lo (Lao), lt
    (Lithuanian), lv (Latvian), mg (Malagasy), mi
    (Maori), mk (Macedonian), ml (Malayalam), mn
    (Mongolian), mr (Marathi), ms (Malay), mt
    (Maltese), my (Myanmar), ne (Nepali), nl
    (Dutch), nn (Nynorsk), no (Norwegian), oc
    (Occitan), pa (Punjabi), pl (Polish), ps
    (Pashto), pt (Portuguese), ro (Romanian), ru
    (Russian), sa (Sanskrit), sd (Sindhi), si
    (Sinhala), sk (Slovak), sl (Slovenian), sn
    (Shona), so (Somali), sq (Albanian), sr
    (Serbian), su (Sundanese), sv (Swedish), sw
    (Swahili), ta (Tamil), te (Telugu), tg (Tajik),
    th (Thai), tk (Turkmen), tl (Tagalog), tr
    (Turkish), tt (Tatar), uk (Ukrainian), ur
    (Urdu), uz (Uzbek), vi (Vietnamese), yi
    (Yiddish), yo (Yoruba), zh (Chinese). Leave
    empty to detect language.
    -p, --prompt <prompt> Initial prompt.
    -wt, --word-timestamps Generate word-level timestamps. (available since 1.2.0)
    --openai-token <token> OpenAI access token. Use only when
    --model-type is openaiapi. Defaults to your
    previously saved access token, if one exists.
    --srt Output result in an SRT file.
    --vtt Output result in a VTT file.
    --txt Output result in a TXT file.
    --hide-gui Hide the main application window.
    -h, --help Displays help on commandline options.
    --help-all Displays help including Qt specific options.
    -v, --version Displays version information.

    Arguments:
    files or urls Input file paths or urls. Url import availalbe since 1.2.0.

    Examples:

    # Translate two MP3 files from French to English using OpenAI Whisper API
    buzz add --task translate --language fr --model-type openaiapi /Users/user/Downloads/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp3 /Users/user/Downloads/koaf9083k1lkpsfdi0.mp3

    # Transcribe an MP4 using Whisper.cpp "small" model and immediately export to SRT and VTT files
    buzz add --task transcribe --model-type whispercpp --model-size small --prompt "My initial prompt" --srt --vtt /Users/user/Downloads/buzz/1b3b03e4-8db5-ea2c-ace5-b71ff32e3304.mp4
    + \ No newline at end of file diff --git a/docs/faq.html b/docs/faq.html index 3eecaa7a..8eac1afa 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -4,14 +4,14 @@ FAQ | Buzz - +
    -

    FAQ

    1. Where are the models stored?

      The models are stored in ~/.cache/Buzz (Linux), ~/Library/Caches/Buzz -(Mac OS) or %USERPROFILE%\AppData\Local\Buzz\Buzz\Cache (Windows).

      Paste the location in your file manager to access the models.

    2. What can I try if the transcription runs too slowly?

      Speech recognition requires large amount of computation, so one option is to try using a lower Whisper model size or using a Whisper.cpp model to run speech recognition of your computer. If you have access to a computer with GPU that has at least 6GB of VRAM you can try using the Faster Whisper model.

      Buzz also supports using OpenAI API to do speech recognition on a remote server. To use this feature you need to set OpenAI API key in Preferences. See Preferences section for more details.

    3. How to record system audio?

      To transcribe system audio you need to configure virtual audio device and connect output from the applications you want to transcribe to this virtual speaker. After that you can select it as source in the Buzz. See Usage section for more details.

      Relevant tools:

    4. What model should I use?

      Model size to use will depend on your hardware and use case. Smaller models will work faster but will have more inaccuracies. Larger models will be more accurate but will require more powerful hardware or longer time to transcribe.

      When choosing among large models consider the following. "Large" is the first released older model, "Large-V2" is later updated model with better accuracy, for some languages considered the most robust and stable. "Large-V3" is the latest model with the best accuracy in many cases, but some times can hallucinate or invent words that were never in the audio. "Turbo" model tries to get a good balance between speed and accuracy. The only sure way to know what model best suits your needs is to test them all in your language.

    5. How to get GPU acceleration for faster transcription?

      On Linux GPU acceleration is supported out of the box on Nvidia GPUs. If you still get any issues install CUDA 12, cuBLASS and cuDNN.

      On Windows see this note on enabling CUDA GPU support.

      For Faster whisper CUDA 12 is required, computers with older CUDA versions will use CPU.

    6. How to fix Unanticipated host error[PaErrorCode-9999]?

      Check if there are any system settings preventing apps from accessing the microphone.

      On Windows, see if Buzz has permission to use the microphone in Settings -> Privacy -> Microphone.

      See method 1 in this video https://www.youtube.com/watch?v=eRcCYgOuSYQ

      For method 2 there is no need to uninstall the antivirus, but see if you can temporarily disable it or if there are settings that may prevent Buzz from accessing the microphone.

    7. Can I use Buzz on a computer without internet?

      Yes, Buzz can be used without internet connection if you download the necessary models on some other computer that has the internet and manually move them to the offline computer. The easiest way to find where the models are stored is to go to Help -> Preferences -> Models. Then download some model, and push "Show file location" button. This will open the folder where the models are stored. Copy the models folder to the same location on the offline computer. F.e. for Linux it is .cache/Buzz/models in your home directory.

    8. Buzz crashes, what to do?

      If a model download was incomplete or corrupted, Buzz may crash. Try to delete the downloaded model files in Help -> Preferences -> Models and re-download them.

      If that does not help, check the log file for errors and report the issue so we can fix it. The log file is located in ~/Library/Logs/Buzz (Mac OS) or %USERPROFILE%\AppData\Local\Buzz\Buzz\Logs (Windows). On Linux run the Buzz from the command line to see the relevant messages.

    9. Where can I get latest development version?

      Latest development version will have latest bug fixes and most recent features. If you feel a bit adventurous it is recommended to try the latest development version as they needs some testing before they get released to everybody.

      Linux users can get the latest version with this command sudo snap install buzz --edge

      For other platforms do the following:

      • Go to the build section
      • Click on the link to the latest build
      • Scroll down to the artifacts section in the build page
      • Download the installation file. Please note that you need to be logged in the Github to see the download links.
    - +

    FAQ

    1. Where are the models stored?

    The models are stored in ~/.cache/Buzz (Linux), ~/Library/Caches/Buzz +(Mac OS) or %USERPROFILE%\AppData\Local\Buzz\Buzz\Cache (Windows).

    Paste the location in your file manager to access the models.

    2. What can I try if the transcription runs too slowly?

    Speech recognition requires large amount of computation, so one option is to try using a lower Whisper model size or using a Whisper.cpp model to run speech recognition of your computer. If you have access to a computer with GPU that has at least 6GB of VRAM you can try using the Faster Whisper model.

    Buzz also supports using OpenAI API to do speech recognition on a remote server. To use this feature you need to set OpenAI API key in Preferences. See Preferences section for more details.

    3. How to record system audio?

    To transcribe system audio you need to configure virtual audio device and connect output from the applications you want to transcribe to this virtual speaker. After that you can select it as source in the Buzz. See Usage section for more details.

    Relevant tools:

    4. What model should I use?

    Model size to use will depend on your hardware and use case. Smaller models will work faster but will have more inaccuracies. Larger models will be more accurate but will require more powerful hardware or longer time to transcribe.

    When choosing among large models consider the following. "Large" is the first released older model, "Large-V2" is later updated model with better accuracy, for some languages considered the most robust and stable. "Large-V3" is the latest model with the best accuracy in many cases, but some times can hallucinate or invent words that were never in the audio. "Turbo" model tries to get a good balance between speed and accuracy. The only sure way to know what model best suits your needs is to test them all in your language.

    5. How to get GPU acceleration for faster transcription?

    On Linux GPU acceleration is supported out of the box on Nvidia GPUs. If you still get any issues install CUDA 12, cuBLASS and cuDNN.

    On Windows see this note on enabling CUDA GPU support.

    For Faster whisper CUDA 12 is required, computers with older CUDA versions will use CPU.

    6. How to fix Unanticipated host error[PaErrorCode-9999]?

    Check if there are any system settings preventing apps from accessing the microphone.

    On Windows, see if Buzz has permission to use the microphone in Settings -> Privacy -> Microphone.

    See method 1 in this video https://www.youtube.com/watch?v=eRcCYgOuSYQ

    For method 2 there is no need to uninstall the antivirus, but see if you can temporarily disable it or if there are settings that may prevent Buzz from accessing the microphone.

    7. Can I use Buzz on a computer without internet?

    Yes, Buzz can be used without internet connection if you download the necessary models on some other computer that has the internet and manually move them to the offline computer. The easiest way to find where the models are stored is to go to Help -> Preferences -> Models. Then download some model, and push "Show file location" button. This will open the folder where the models are stored. Copy the models folder to the same location on the offline computer. F.e. for Linux it is .cache/Buzz/models in your home directory.

    8. Buzz crashes, what to do?

    If a model download was incomplete or corrupted, Buzz may crash. Try to delete the downloaded model files in Help -> Preferences -> Models and re-download them.

    If that does not help, check the log file for errors and report the issue so we can fix it. The log file is located in ~/Library/Logs/Buzz (Mac OS) or %USERPROFILE%\AppData\Local\Buzz\Buzz\Logs (Windows). On Linux run the Buzz from the command line to see the relevant messages.

    9. Where can I get latest development version?

    Latest development version will have latest bug fixes and most recent features. If you feel a bit adventurous it is recommended to try the latest development version as they needs some testing before they get released to everybody.

    Linux users can get the latest version with this command sudo snap install buzz --edge

    For other platforms do the following:

    - Go to the [build section](https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain)
    - Click on the link to the latest build
    - Scroll down to the artifacts section in the build page
    - Download the installation file. Please note that you need to be logged in the Github to see the download links.
    + \ No newline at end of file diff --git a/docs/installation.html b/docs/installation.html index 52930f72..eb99a7f7 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -4,7 +4,7 @@ Installation | Buzz - + @@ -14,7 +14,7 @@ system. Buzz is available on Mac (Intel), WindowsApp Store version.)

    macOS (Intel, macOS 11.7 and later)

    Install via brew:

    brew install --cask buzz

    Alternatively, download and run the Buzz-x.y.z.dmg file.

    For Mac Silicon (and for a better experience on Mac Intel), download Buzz Captions on the App Store.

    Windows (Windows 10 and later)

    Download and run the Buzz-x.y.z.exe file.

    Linux

    sudo apt-get install libportaudio2 libcanberra-gtk-module libcanberra-gtk3-module
    sudo snap install buzz
    sudo snap connect buzz:audio-record
    sudo snap connect buzz:password-manager-service
    sudo snap connect buzz:pulseaudio
    sudo snap connect buzz:removable-media

    Get it from the Snap Store

    Alternatively, on Ubuntu 20.04 and later, install the dependencies:

    sudo apt-get install libportaudio2

    Then, download and extract the Buzz-x.y.z-unix.tar.gz file

    PyPI

    pip install buzz-captions
    python -m buzz
    - + \ No newline at end of file diff --git a/docs/preferences.html b/docs/preferences.html index fa4f2264..9923b38f 100644 --- a/docs/preferences.html +++ b/docs/preferences.html @@ -4,7 +4,7 @@ Preferences | Buzz - + @@ -21,7 +21,7 @@ processing power and more powerful hardware to work.

    user_cache_dir.

    BUZZ_FAVORITE_LANGUAGES - Coma separated list of supported language codes to show on top of language list.

    BUZZ_LOCALE - Buzz UI locale to use. Defaults to one of supported system locales.

    BUZZ_DOWNLOAD_COOKIEFILE - Location of a cookiefile to use for downloading private videos or as workaround for anti-bot protection.

    - + \ No newline at end of file diff --git a/docs/usage/file_import.html b/docs/usage/file_import.html index c17aca05..054b0e10 100644 --- a/docs/usage/file_import.html +++ b/docs/usage/file_import.html @@ -4,14 +4,14 @@ File Import | Buzz - +

    File Import

    To import a file:

    • Click Import Media File on the File menu (or the '+' icon on the toolbar, or Command/Ctrl + O).
    • Choose an audio or video file.
    • Select a task, language, and the model settings.
    • Click Run.
    • When the transcription status shows 'Completed', double-click on the row (or select the row and click the '⤢' icon) to open the transcription.
    FieldOptionsDefaultDescription
    Export As"TXT", "SRT", "VTT""TXT"Export file format
    Word-Level TimingsOff / OnOffIf checked, the transcription will generate a separate subtitle line for each word in the audio. Enabled only when "Export As" is set to "SRT" or "VTT".

    (See the Live Recording section for more information about the task, language, and quality settings.)

    Media File Import on Buzz

    - + \ No newline at end of file diff --git a/docs/usage/live_recording.html b/docs/usage/live_recording.html index 07a595b6..a3678896 100644 --- a/docs/usage/live_recording.html +++ b/docs/usage/live_recording.html @@ -4,7 +4,7 @@ Live Recording | Buzz - + @@ -17,7 +17,7 @@ operating system ( see LoopBeAudio, LoopBack, and Virtual Audio Cable).

    1. Install BlackHole via Homebrew

      brew install blackhole-2ch
    2. Open Audio MIDI Setup from Spotlight or from /Applications/Utilities/Audio Midi Setup.app.

      Open Audio MIDI Setup from Spotlight

    3. Click the '+' icon at the lower left corner and select 'Create Multi-Output Device'.

      Create multi-output device

    4. Add your default speaker and BlackHole to the multi-output device.

      Screenshot of multi-output device

    5. Select this multi-output device as your speaker (application or system-wide) to play audio into BlackHole.

    6. Open Buzz, select BlackHole as your microphone, and record as before to see transcriptions from the audio playing through BlackHole.

    Record audio playing from computer (Windows)

    To transcribe system audio you need to configure virtual audio device and connect output from the applications you whant to transcribe to this virtual speaker. After that you can select it as source in the Buzz.

    1. Install VB CABLE as virtual audio device.

    2. Configure using Windows Sound settings. Right-click on the speaker icon in the system tray and select "Open Sound settings". In the "Choose your output device" dropdown select "CABLE Input" to send all system sound to the virtual device or use "Advanced sound options" to select application that will output their sound to this device.

    Record audio playing from computer (Linux)

    As described on Ubuntu Wiki on any Linux with pulse audio you can redirect application audio to a virtual speaker. After that you can select it as source in Buzz.

    Overall steps:

    1. Launch application that will produce the sound you want to transcribe and start the playback. For example start a video in a media player.
    2. Launch Buzz and open Live recording screen, so you see the settings.
    3. Configure sound routing from the application you want to transcribe sound from to Buzz in Recording tab of the PulseAudio Volume Control (pavucontrol).
    - + \ No newline at end of file diff --git a/docs/usage/translations.html b/docs/usage/translations.html index 761d5805..36ea2030 100644 --- a/docs/usage/translations.html +++ b/docs/usage/translations.html @@ -4,13 +4,13 @@ Translations | Buzz - +

    Translations

    Default Translation task uses Whisper model ability to translate to English. Since version 1.0.0 Buzz supports additional AI translations to any other language.

    To use translation feature you will need to configure OpenAI API key and translation settings. Set OpenAI API ket in Preferences. Buzz also supports custom locally running translation AIs that support OpenAI API. For more information on locally running AIs see ollama or LM Studio. For information on available custom APIs see this discussion thread

    To configure translation for Live recordings enable it in Advances settings dialog of the Live Recording settings. Enter AI model to use and prompt with instructions for the AI on how to translate. Translation option is also available for files that already have speech recognised. Use Translate button on transcription viewer toolbar.

    For AI to know how to translate enter translation instructions in the "Instructions for AI" section. In your instructions you should describe to what language you want it to translate the text to. Also, you may need to add additional instructions to not add any notes or comments as AIs tend to add them. Example instructions to translate English subtitles to Spanish:

    You are a professional translator, skilled in translating English to Spanish. You will only translate each sentence sent to you into Spanish and not add any notes or comments.

    If you enable "Enable live recording transcription export" in Preferences, Live text transcripts will be exported to a text file as they get generated and translated. This file can be used to further integrate Live transcripts with other applications like OBS Studio.

    Approximate cost of translation for 1 hour long audio with ChatGPT gpt-4o model is around 0.50$

    - + \ No newline at end of file diff --git a/index.html b/index.html index edcc14b6..b9bbe484 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,13 @@ Buzz - +
    - + \ No newline at end of file