-
Notifications
You must be signed in to change notification settings - Fork 369
audio: tensorflow: keyword detect #11092
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
Draft
singalsu
wants to merge
17
commits into
thesofproject:main
Choose a base branch
from
singalsu:tflm_mfcc_development
base: main
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.
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e653abb
[DNM] Audio: Buffers: Add support for DP-to-DP component binding
singalsu c7f40a1
[DNM] audio: stft_process: switch assert include to rtos/panic.h
singalsu ed33ff5
audio: tensorflow: static build support for HiFi3
lrgirdwo 59fa89d
audio: tensorflow: add model for banana, strawberry, orange keywords
singalsu c681808
audio: tflm: add wake-word inference component with KPB trigger
lrgirdwo 9d78fee
audio: mfcc: tune: emit mel40 and mel40_compress configs
singalsu 79f9c0a
audio: mfcc: raise max_frames to a full hop in DP mode
singalsu 511b171
topology2: add TFLM Wake-on-Voice branches for HDA and SoundWire
lrgirdwo b8869d2
platform: cavs25: enable TFLM Wake-on-Voice on cAVS 2.5
lrgirdwo c8246e5
docs: tensorflow: add TFLM Wake-on-Voice architecture README
lrgirdwo 4da0ac6
audio: tensorflow: tune: TFLM wake-word training pipeline
singalsu 01c6dd7
audio: tensorflow: tune: add single-speaker Piper keyword generator
singalsu 85381c8
audio: tflm: soft mel-log AGC for level-robust wake-word detection
singalsu 1aee10e
topology2: host-copier: add D0i3 compatibility attributes
singalsu 4f35a49
audio: tensorflow: support loading model from bytes control
singalsu f0fd1b1
audio: tensorflow: tune: export model blobs for topology and sof-ctl
singalsu e9305d0
[DNM] platform: cavs25: enable TFLM model loading from bytes control
singalsu 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,7 +86,6 @@ static inline void ring_buffer_writeback_shared(struct ring_buffer *ring_buffer, | |
| dcache_writeback_region(ptr, size); | ||
| } | ||
|
|
||
|
|
||
| /** | ||
| * @brief remove the queue from the list, free memory | ||
| */ | ||
|
|
@@ -101,6 +100,12 @@ static void ring_buffer_free(struct sof_audio_buffer *audio_buffer) | |
|
|
||
| sof_ctx_free(alloc, (__sparse_force void *)ring_buffer->_data_buffer); | ||
| sof_ctx_free(alloc, ring_buffer); | ||
|
|
||
| /* matches vregion_get() in ipc_comp_connect() for each ring_buffer */ | ||
| if (alloc && alloc->vreg) { | ||
| if (!vregion_put(alloc->vreg)) | ||
| rfree(alloc); | ||
| } | ||
|
Comment on lines
+104
to
+108
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. This commit is [DNM], so I'm not fixing it here. The DP-DP bind has separate PR in #10562. |
||
| } | ||
|
|
||
| static void ring_buffer_reset(struct sof_audio_buffer *audio_buffer) | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Note: Build works only with gcc.