-
-
Notifications
You must be signed in to change notification settings - Fork 43
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 SPU emulation (duckstation) #1601
Open
sean-horton
wants to merge
84
commits into
AliveTeam:master
Choose a base branch
from
sean-horton:audio-historical
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
d8309d9
get audio panning working
sean-horton 5def8d7
revert accidental change of prev code
sean-horton c2cbbb1
stubs for alternate audio
sean-horton f2713c0
parse vab
sean-horton 527e26e
loading and parsing audio stuff
sean-horton 97ddf3e
audio is somewhat working in testing
sean-horton 5bd0017
Kind of working in AO and AE now
sean-horton 77e7b2b
cleanup some build testing I had with SDL_Mixer
sean-horton 13e7b87
thread performance
sean-horton 99fa9a4
Merge branch 'master' of github.com:sean-horton/alive_reversing into …
sean-horton 1784d0c
enable the other sound stuff
sean-horton d2b8947
I think songs are playing right
sean-horton fa928ea
pitches working
sean-horton aadf3a5
sfx panning
sean-horton 29e1b3c
more audio updates
sean-horton c3ed07f
long time since I visited, commit what I have
sean-horton b319132
openal checkpoint
sean-horton da53611
sequencer checkpoint - trying something new
sean-horton 12cd95b
another checkpoint - ticks are 44100hz...
sean-horton fb0c2ca
playback performance
sean-horton 0dfd867
going to try lock free
sean-horton b420d62
another checkpoint
sean-horton 140e854
another checkpoint
sean-horton 62bf87b
midi bend kind of working
sean-horton f1359e2
not much better
sean-horton 546f403
checkpoint again
sean-horton 6e23095
working gauss table?
sean-horton f325d3a
cleanup before reverb
sean-horton c54e49b
reverb checkpoint
sean-horton acf6ad8
working reverb
sean-horton 59e8722
change volume calculations
sean-horton 707c9e8
fix loop popping?
sean-horton dec841d
start of some cleanup
sean-horton 0ff1daf
formatting
sean-horton 3a357e7
lower mix volume
sean-horton 263b106
wrong voice may pitch bend from sequence
sean-horton ffb94d3
remove open-al from project
sean-horton 639af8d
big refactor for mutex locks on spu
sean-horton 4755899
missed config option
sean-horton eaccbfd
missed cmake option
sean-horton d31fdc0
always try and get a voice
sean-horton c6126ec
cleanup project files
sean-horton a8af51e
sequences did not say they ended
sean-horton e8e23a9
save some CPU cycles
sean-horton df9d454
cleanup + fix seq note off
sean-horton 006cf9e
AE sample looping
sean-horton 50472c4
store sequence volume on voice - seq could reset
sean-horton d787222
change voice volumes if seq volume changes
sean-horton 3853674
Make sure END_TRACK occurs on beat
sean-horton 562b5b2
proper volume - but samples mesed up?
sean-horton 59ccb46
clamp audio before SDL - add comments
sean-horton fc85acf
Merge branch 'master' of github.com:sean-horton/alive_reversing into …
sean-horton d3ecafd
Missed a case when playing sequences
sean-horton 6498697
allocate voices based on priority
sean-horton afc3a7c
simplify logic
sean-horton 6473937
fix note/pitch frequency calculation
sean-horton aad7e20
fix pitch shift
sean-horton 6b2e4e4
add lookup tables to fix notes
sean-horton 954908d
remove unneeded table entries
sean-horton 6acb744
Was looking at wrong level....
sean-horton 1dd882b
applying audio fixes
sean-horton 1b2391c
and another one
sean-horton a7680cb
and another one...
sean-horton c702c8f
and another one.
sean-horton b7d88fa
and another one
sean-horton 070ce32
last one, but some are broken still
sean-horton 65233c1
use remaining lookup tables
sean-horton d00aa57
add comment
sean-horton 63a05f9
RF escape audio is all messed up
sean-horton 16f0133
whistle fixes
sean-horton cecffc8
fix pitches?
sean-horton ad6cef7
add comment for removed item from table
sean-horton 9016f9e
cleanup
sean-horton ca27e1e
pitch can go lower
sean-horton 26429d9
Change volume division
sean-horton ea16ada
checkpoint incorporated new panning
sean-horton 5ab3534
better panning + minor refactor
sean-horton 211847d
Code review points
sean-horton 35b59e6
Fix memory leak causing crash
sean-horton 2ce1391
Fix memcpy of audio block
sean-horton c347886
Interpolation is now an interface
sean-horton d5b2a5c
Get Illeprih's reverb working
sean-horton 768eb27
Allow easier swap out of implementations
sean-horton 0275cc4
Add end of lines to files
sean-horton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the new panning is superior, no need to keep the original bad one in, should be removed instead, with all vars that it exclusively uses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds panning to the existing SDL audio rendering and is unrelated to the SPU emulation path. Since the existing SDL implementation is mono it's superior in the sense that it adds panning. I'm mentioning in case you don't want to modify the existing audio renderer otherwise I can remove the old panning.