Commit graph

181 commits

Author SHA1 Message Date
Chigozirim Igweamaka
1cf39069c3 Use previous implementation of FindMatches
It works better than the recent, the downside is that it finds matches
for silent recordings.
2024-07-14 15:06:01 +01:00
Chigozirim Igweamaka
9b10bd2f29 Move RecordData struct to models to avoid circular import 2024-07-14 15:04:41 +01:00
Chigozirim Igweamaka
7086dafc5b Create folders in main 2024-07-14 15:03:29 +01:00
Chigozirim Igweamaka
b52684f5af Set listen duration to 20 seconds 2024-07-14 15:02:45 +01:00
Chigozirim Igweamaka
f85b3f00d4 disable audio default processing to get better sound quality 2024-07-09 23:19:59 +01:00
Chigozirim Igweamaka
cf88253c00 FFmpeg command to downsample and convert to mono 2024-07-09 23:16:54 +01:00
Chigozirim Igweamaka
e459099775 Update comment 2024-07-09 23:11:42 +01:00
Chigozirim Igweamaka
783c81ae0f Handle case where no match was found 2024-07-09 23:10:50 +01:00
Chigozirim Igweamaka
b3b46cf21b Reimplement FindMatches 2024-07-09 23:08:21 +01:00
Chigozirim Igweamaka
e5222c9505 update print statement 2024-06-30 21:25:20 +01:00
Chigozirim Igweamaka
b1127d88a4 Implement animated number. 2024-06-30 21:09:18 +01:00
Chigozirim Igweamaka
9deab27dfe Implement animated number. 2024-06-30 21:08:17 +01:00
Chigozirim Igweamaka
550384d6a1 Disable swipe to close toast. 2024-06-30 16:06:59 +01:00
Chigozirim Igweamaka
50785ffed5 correction 2024-06-30 15:01:42 +01:00
Chigozirim Igweamaka
cf82256666 Implement eraze command to delete song files and db collections 2024-06-30 15:00:45 +01:00
Chigozirim Igweamaka
3ffa381e2d Add smooth scrolling to YouTube cards when circle is clicked 2024-06-30 14:25:14 +01:00
Chigozirim Igweamaka
7c784d6384 Add smooth scrolling to YouTube cards when circle is clicked 2024-06-30 14:16:28 +01:00
Chigozirim Igweamaka
46e2a87e76 Delete .m4a song file once done using it. 2024-06-29 22:58:40 +01:00
Chigozirim Igweamaka
39dd8efb94 rename variable 2024-06-29 22:53:48 +01:00
Chigozirim Igweamaka
7b047bda2b Merge branch 'main' of github.com:cgzirim/song-recognition into development 2024-06-27 05:57:03 +01:00
Chigozirim Igweamaka
2bf7d2bccd Get server URL from env 2024-06-27 05:56:01 +01:00
Chigozirim Igweamaka
feb6417daa Update README.md 2024-06-26 05:21:18 +01:00
Chigozirim Igweamaka
ffb0dca107 Update README.md 2024-06-26 04:56:45 +01:00
Chigozirim Igweamaka
b38d61571c Merge pull request #1 from cgzirim/development
Development
2024-06-25 02:38:52 +01:00
Chigozirim Igweamaka
5edb36887b Update packages 2024-06-23 22:47:24 +01:00
Chigozirim Igweamaka
24ae3a18f3 update script 2024-06-23 22:44:38 +01:00
Chigozirim Igweamaka
226671f7d7 remove print statement 2024-06-23 22:10:39 +01:00
Chigozirim Igweamaka
5d3dbf5d03 Find and return search duration. 2024-06-23 22:09:44 +01:00
Chigozirim Igweamaka
7a757abb37 Add CLI functionality for 'find', 'download', and 'serve' commands 2024-06-23 22:08:00 +01:00
Chigozirim Igweamaka
fda82f8f03 remove print statement 2024-06-23 14:44:46 +01:00
Chigozirim Igweamaka
1d012bed5e attempt to resample recording 2024-06-23 14:43:19 +01:00
Chigozirim Igweamaka
0d93723099 Write a helper function 2024-06-23 14:40:14 +01:00
Chigozirim Igweamaka
33b9c9e099 Update comment 2024-06-23 14:19:02 +01:00
Chigozirim Igweamaka
2f3bb8d32b Rewrite downsample function to add flexibility for downsampling to a target sample rate. 2024-06-23 14:11:25 +01:00
Chigozirim Igweamaka
8a891ec3cd Determine score from consistent relative timing. 2024-06-23 13:54:00 +01:00
Chigozirim Igweamaka
2d13181fa8 Fix race condition in by using atomic upsert operation. 2024-06-18 01:01:57 +01:00
Chigozirim Igweamaka
3e3976992a Improve downsampling function to handle input length that's not divisible by ratio 2024-06-17 11:49:18 +01:00
Chigozirim Igweamaka
026e9398c3 Improve lowpass filter. Thanks to ChatGPT 2024-06-17 11:19:09 +01:00
Chigozirim Igweamaka
5547fedd7c Revert "Download recording and set fallbacks for record data"
This reverts commit d65bbade43.
2024-06-11 08:45:46 +01:00
Chigozirim Igweamaka
d65bbade43 Download recording and set fallbacks for record data 2024-06-11 08:32:04 +01:00
Chigozirim Igweamaka
40dfac8ff8 Stop download 2024-06-11 03:56:59 +01:00
Chigozirim Igweamaka
8142eee840 Switch to life server 2024-06-11 03:52:36 +01:00
Chigozirim Igweamaka
ac370f31ce Exit with an error if any parameter is <= 0 2024-06-11 03:34:46 +01:00
Chigozirim Igweamaka
c4768d3c76 Remove recordData fallbacks 2024-06-11 03:34:12 +01:00
Chigozirim Igweamaka
5444d33bd0 Add fallbacks to recordData items 2024-06-11 03:09:31 +01:00
Chigozirim Igweamaka
8b287abf42 Uncomment function to download recording 2024-06-10 11:34:39 +01:00
Chigozirim Igweamaka
2ccf2e96c4 Connect to server on port 4443 2024-06-10 08:25:29 +01:00
Chigozirim Igweamaka
96e9c39bc1 Change HTTPS port 2024-06-10 08:19:31 +01:00
Chigozirim Igweamaka
7024aba3c7 Give ubuntu user access to cert files 2024-06-10 04:20:21 +01:00
Chigozirim Igweamaka
336377d606 Update 2024-06-10 04:04:29 +01:00