-
Notifications
You must be signed in to change notification settings - Fork 369
topology2: cavs-sdw: add compressed playback pipeline with phase vocoder #10986
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,6 +78,10 @@ Class.Widget."phase_vocoder" { | |
| shift 0 | ||
| } | ||
| text.0 { | ||
| # Speeds over 1 are disabled for now to be able to operate | ||
| # Phase Vocoder Module without DP-DP bind need. The compress | ||
| # decoder must be DP, so the DP mode and more free PCM flow | ||
| # is not available for the Phase Vocoder. | ||
| name "phase_vocoder_speed_enum" | ||
| !values [ | ||
| "0.5" | ||
|
|
@@ -86,16 +90,16 @@ Class.Widget."phase_vocoder" { | |
| "0.8" | ||
| "0.9" | ||
| "1.0" | ||
| "1.1" | ||
| "1.2" | ||
| "1.3" | ||
| "1.4" | ||
| "1.5" | ||
| "1.6" | ||
| "1.7" | ||
| "1.8" | ||
| "1.9" | ||
| "2.0" | ||
| #"1.1" | ||
| #"1.2" | ||
| #"1.3" | ||
| #"1.4" | ||
| #"1.5" | ||
| #"1.6" | ||
| #"1.7" | ||
| #"1.8" | ||
| #"1.9" | ||
| #"2.0" | ||
|
Comment on lines
+93
to
+102
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. debug ?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was thinking it's good to show that speeds over 1 can be enabled by un-commenting these lines when we have DP-DP bind in SOF. Or just revert this patch to get back the speeds. Should I just remove lines for 1.1 - 2.0? |
||
| ] | ||
| } | ||
| ops.1 { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,114 @@ | ||
| # Phase vocoder input formats: mono + stereo, all rates, | ||
| # 8/16/24/32-bit. ibs = frames * channels * bytes_per_sample | ||
| # (480 frames per DP period, matching current stereo values). | ||
| num_input_audio_formats 40 | ||
|
singalsu marked this conversation as resolved.
|
||
| CombineArrays.Object.Base.input_audio_format [ | ||
| # mono | ||
| { | ||
| in_channels [ 1 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 8 ] | ||
| in_valid_bit_depth [ 8 ] | ||
| in_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ] | ||
| ibs [ 480 ] | ||
| } | ||
| { | ||
| in_channels [ 1 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 16 ] | ||
| in_valid_bit_depth [ 16 ] | ||
| ibs [ 960 ] | ||
| } | ||
| { | ||
| in_channels [ 1 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 32 ] | ||
| in_valid_bit_depth [ 24 ] | ||
| ibs [ 1920 ] | ||
| } | ||
| { | ||
| in_channels [ 1 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 32 ] | ||
| in_valid_bit_depth [ 32 ] | ||
| ibs [ 1920 ] | ||
| } | ||
| # stereo | ||
| { | ||
| in_channels [ 2 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 8 ] | ||
| in_valid_bit_depth [ 8 ] | ||
| in_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ] | ||
| ibs [ 960 ] | ||
| } | ||
| { | ||
| in_channels [ 2 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 16 ] | ||
| in_valid_bit_depth [ 16 ] | ||
| ibs [ 1920 ] | ||
| } | ||
| { | ||
| in_channels [ 2 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 32 ] | ||
| in_valid_bit_depth [ 24 ] | ||
| ibs [ 3840 ] | ||
| } | ||
| { | ||
| in_channels [ 2 ] | ||
| in_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| in_bit_depth [ 32 ] | ||
| in_valid_bit_depth [ 32 ] | ||
| ibs [ 3840 ] | ||
| } | ||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,114 @@ | ||
| # Phase vocoder output formats: mono + stereo, all rates, | ||
| # 8/16/24/32-bit. obs = frames * channels * bytes_per_sample | ||
| # (240 frames per DP period, matching current stereo values). | ||
| num_output_audio_formats 40 | ||
| CombineArrays.Object.Base.output_audio_format [ | ||
| # mono | ||
| { | ||
| out_channels [ 1 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 8 ] | ||
| out_valid_bit_depth [ 8 ] | ||
| out_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ] | ||
| obs [ 240 ] | ||
| } | ||
| { | ||
| out_channels [ 1 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 16 ] | ||
| out_valid_bit_depth [ 16 ] | ||
| obs [ 480 ] | ||
| } | ||
| { | ||
| out_channels [ 1 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 32 ] | ||
| out_valid_bit_depth [ 24 ] | ||
| obs [ 960 ] | ||
| } | ||
| { | ||
| out_channels [ 1 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 32 ] | ||
| out_valid_bit_depth [ 32 ] | ||
| obs [ 960 ] | ||
| } | ||
| # stereo | ||
| { | ||
| out_channels [ 2 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 8 ] | ||
| out_valid_bit_depth [ 8 ] | ||
| out_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ] | ||
| obs [ 480 ] | ||
| } | ||
| { | ||
| out_channels [ 2 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 16 ] | ||
| out_valid_bit_depth [ 16 ] | ||
| obs [ 960 ] | ||
| } | ||
| { | ||
| out_channels [ 2 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 32 ] | ||
| out_valid_bit_depth [ 24 ] | ||
| obs [ 1920 ] | ||
| } | ||
| { | ||
| out_channels [ 2 ] | ||
| out_rate [ | ||
| 8000 | ||
| 44100 | ||
| 48000 | ||
| 96000 | ||
| 192000 | ||
| ] | ||
| out_bit_depth [ 32 ] | ||
| out_valid_bit_depth [ 32 ] | ||
| obs [ 1920 ] | ||
| } | ||
| ] |
Uh oh!
There was an error while loading. Please reload this page.