Skip to content

Allow Audio Debugging #217

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

Closed
Tracked by #197
torch2424 opened this issue Dec 21, 2018 · 5 comments · Fixed by #250
Closed
Tracked by #197

Allow Audio Debugging #217

torch2424 opened this issue Dec 21, 2018 · 5 comments · Fixed by #250
Assignees
Labels
Debugger Issues concerning the Wasmboy debugger enhancement New feature or request

Comments

@torch2424
Copy link
Owner

Would be cool to do things like inspect each individual channel, and record audio on each channel.

Would also be nice to show live wave forms and all of that. Would be great for the debugger rebuild see #168

@torch2424 torch2424 added enhancement New feature or request Debugger Issues concerning the Wasmboy debugger labels Dec 21, 2018
@torch2424 torch2424 self-assigned this Dec 21, 2018
@torch2424
Copy link
Owner Author

Here are some good recording libraries:

https://github.com/higuma/web-audio-recorder-js/blob/master/lib/WebAudioRecorder.js
https://github.com/mattdiamond/Recorderjs/blob/master/src/recorder.js

Though it seems that they just get the PCM samples, and just append them to a buffer, and save that. Which we could do ourselves with the Lib callback functions.

@torch2424
Copy link
Owner Author

Here are some great tests on the GB APU https://github.com/LIJI32/SameSuite/tree/master/apu

Would be great to see what they are testing, and how we can visualize this.

@torch2424
Copy link
Owner Author

torch2424 commented Dec 28, 2018

Some useful tools for audio debugging (Thanks for the suggestions DevEd and beware, and anyone else on the awesome-gbdev discord):

  • Simplified register view with only the NRxx registers listed
  • Wave Pattern Visualizer Example
  • Volume Envelopes Example
  • Channel Frequency Viewer Docs
  • WaveForm Viewer Example
  • Audio Recorder

Other random notes:

  • NRx3+NRx4 something that could be done is the equivalent frequency in Hz and the nearest note

@torch2424
Copy link
Owner Author

torch2424 commented Dec 28, 2018

@torch2424
Copy link
Owner Author

Moved the volume envelopes into it's own issue. As I don't personally see that as that important currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Debugger Issues concerning the Wasmboy debugger enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant