Skip to content
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

audio/waveform.mp3 must be an existed file? #13

Closed
AsashioB opened this issue Mar 13, 2022 · 3 comments
Closed

audio/waveform.mp3 must be an existed file? #13

AsashioB opened this issue Mar 13, 2022 · 3 comments

Comments

@AsashioB
Copy link

If I want to handle an generated file, what should I do?

@ryanheise
Copy link
Owner

Even if you generate a file, it still has a file path, doesn't it?

@hey-nicolasklein
Copy link

I think OP is referring to the generation of waveforms e.g. during an audio recording. In this case there is no path for the file. But you could provide a stream of amplitude values.

OP should probably use the AudioWaveformWidget and Painter from the example. The just waveform packet is for extracting the amplitude values, not for visualizing them directly. In addition, most recording packages provide the amplitude values during recording. So there is no need for just waveforms.

@ryanheise
Copy link
Owner

You could be right that that is what @AsashioB means (in which case your answer is correct), although to me the question is still not clear. Since @AsashioB hasn't responded, I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants