New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #130: user changes to examples/audio_transcribe #133
base: master
Are you sure you want to change the base?
Conversation
Ok, there are instructions in audio_transcribe about how to run this from the command line, but first you would need to download the file: long_interview_example.aif from my public dropbox link and put it in |
FYI: There're actually two copies of the short interview: one in |
Ok, I tried |
Sorry, my participant changed their mind and I had to remove the file, so the dropbox link won't work anymore. I'll try to generate a replacement soon. Meanwhile, do you have any idea why |
No worries about the Dropbox link, by the way. I got the issue to manifest with a long-ish podcast, so there's a good starting point. |
I just got this to work with a I'm not sure this is reliable, particularly, because I don't really know that it will always generate this timeout error at the end of the file (before, never?), but, at least it worked and I'm really grateful for your help. I'd love to dig deeper and do some better testing to improve this example or create a new one to your design standards, @Uberi (if you think that would be valuable). |
Glad you got it working! I'd definitely like to include this, so when there's time I'll do a proper review and merge it. Ideally, we'd want to exclude the line ending changes and split out the long examples into their own files. There's a small issue with listen() that will be fixed in the next release (it's actually done, but still needs to be packaged up and published) - that should get things working pretty robustly. I'll be sure to update in this thread. |
Sorry, @Uberi, I'm really eager to make this useful, but I can't figure out what you mean by "the line endings changes"- are you saying you would like me to break the long transcription up into multiple lines, or that I messed up some kind of line endings that used to be there? Similarly, when you say "split out the long examples into their own files", do you mean write each loop of a transcription into its own file, or move the source code for long transcriptions into a separate file (from I think I'll have some time to next week (probably this
Thanks! |
Hey @combinatorist, If you check out the diff for this PR, you'll notice that there are about 3500 lines changed, but the actual number of changes is somewhat less. That seems to be due to the line endings being changed from CRLF to LF. As for those questions:
|
Hi @Uberi, sorry, I was going to work on this during a flight, but had terrible wifi, so I put it off. I think I might have some spare time later this month, so for what it's worth:
I'll also fix the line endings. Let me know if you happen to think of anything else! |
Actually, when I look at the diff online, I don't see a difference in line breaks. Maybe it's displaying differently, but I think what you're seeing is just where I commented out a lot of code that wasn't relevant to my specific use case. Regardless, I'm going to start over with my code in a separate example (as you suggested), so I won't be commenting anything out anymore. |
Hmm, for some reason I'm getting various networking errors with Google, but notice the shortest phrase worked. I've tried to get really short phrases in case it's a timeout issue, but that didn't appear to work
|
OK, FWIW, I downloaded Google's example docs and managed to get a 40 minute clip to transcribe in 4 minutes., but I had to use a URI in Google Cloud Storage (required an account etc). I just need to add this to the python module and we're set! |
#130
The point of my changes were to:
for
loop or a file list)It works for
.aif
(from inside a garage.band
media file) files that are only 5 seconds, but my next smallest is at least a minute and it fails.