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

Is there a way to draw waveform from Uint8List directly from buffer ? #16

Closed
purelog1c opened this issue May 6, 2022 · 3 comments
Closed

Comments

@purelog1c
Copy link

No description provided.

@ryanheise
Copy link
Owner

Is this a question on Dart's Uint8List/buffer library rather than on the capabilities of just_waveform itself?

@hey-nicolasklein
Copy link

One could just do:

final audioFile =
          File(p.join((await getTemporaryDirectory()).path, 'waveform.m4a'));

await audioFile.writeAsBytes((widget.file));

where widget.file is a uInt8List.

@ryanheise
Copy link
Owner

I think I can close this issue since @purelog1c appears to no longer be interested in the issue. (Although the answer should be clear by viewing the code in the example directory).

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