2024-08-30T02:14:31.477Zgithub.com/Devsurojitroy/Deadpool-theme-website-/commit/7746817503c33edf0364c162e44ab09e88388ebc2024-08-30T01:18:17.841Zgithub.com/Devsurojitroy/If-u-touch-u-lose/commit/66ff70398668776a96d8e7bfc7660bb33a06cf412024-08-30T00:49:13.898Zgithub.com/Devsurojitroy/5000-year-callander-/commit/048ef5178c487adb878ca7fba19df3206692cd862024-08-29T23:34:24.401Zgithub.com/Devsurojitroy/A-simple-resume-for-coders-/commit/454f50eccf753f0aaf98631966f59469b2b2f6fb2024-08-29T22:38:20.533Zgithub.com/Devsurojitroy/2d-game/commit/e5459ac881c5a729a96b2f2da7c14e909910492d2024-08-29T21:35:01.880Zgithub.com/Devsurojitroy/3d-resume-for-coder/commit/68a9571db226309c0a32086e3f54c102877299302024-08-29T20:32:10.632Zgithub.com/Devsurojitroy/The-boys-theme-3d-cube/commit/b3eddc1c2b6016329e24f1209d5b3d54d9a5c4dd2024-08-29T19:43:41.539Zgithub.com/Devsurojitroy/Water-drinking-website-/commit/0a3254e852093a737f951a5baf99b2dc2c78a7e62024-08-29T18:51:03.841Zgithub.com/Devsurojitroy/Recipe-finder-website-/commit/54ab77f8affea1f98d49e6c014f8847c0dcfa4292024-08-29T17:16:57.095Zgithub.com/Devsurojitroy/Touch-response-website-/commit/a9bd68e658b2de954e546d98c9d54c584b7f3206 github.com/Devsurojitroy/Touch-response-website-/commit/ccdf2e72120ad487a200fd3a2cba48a451691efc2024-08-29T17:15:36.479Zgithub.com/Devsurojitroy/Touch-response-website-/commit/a9bd68e658b2de954e546d98c9d54c584b7f3206 github.com/Devsurojitroy/Touch-response-website-/commit/ccdf2e72120ad487a200fd3a2cba48a451691efc2024-08-29T16:19:45.455Zgithub.com/Devsurojitroy/Batman-sos2024-08-29T16:13:52.324Zgithub.com/Devsurojitroy/Batman-sos/tree/main?tab=readme-ov-file2024-08-29T15:26:23.757Zgithub.com/Devsurojitroy/Daily-gym-motivation-/tree/main2024-08-29T14:37:34.535Zgithub.com/Devsurojitroy/School-students-marks/tree/main2024-08-29T05:30:09.942Zgithub.com/Devsurojitroy/Attendance-for-students-/tree/main2024-08-29T04:47:39.597Zgithub.com/Devsurojitroy/Wallpaper-for-phones-/tree/main2024-08-29T04:17:01.083Zgithub.com/Devsurojitroy/Reminder-callander-website-/tree/main2024-08-29T03:46:20.292ZLol idk what i made2024-08-29T03:19:28.539Zgithub.com/Devsurojitroy/Daily-quotes-/tree/main2024-08-29T02:29:39.847Zgithub.com/Devsurojitroy/Rock-paper-scissors-/tree/main2024-08-29T01:41:21.596Zgithub.com/Devsurojitroy/Ecommerce-website-demo/tree/main2024-08-28T23:38:20.099Zgithub.com/Devsurojitroy/Chemistry-quiz/commit/9abc6afa0dbb9cb60e9da09e1b1806a5232eb2e12024-08-28T22:33:38.101Zgithub.com/Devsurojitroy/Physics-quiz/commit/5fc7fb1c061306f12725813e2186dc83bf9db0942024-08-28T21:17:41.927Zgithub.com/Devsurojitroy/Website-for-car-parts-and-details-prototype-/commits/main2024-08-28T20:17:08.438Zgithub.com/Devsurojitroy/3d-cube-for-portfolio-/commit/327ac580909ae5c3963467d1516046b8d914e0492024-08-28T19:37:22.991Zgithub.com/Devsurojitroy/Wallpaper-for-pc-website-/commit/a272b39c1a88cc14e79ae2c06f1584d28892e2a12024-08-28T17:26:40.187Zgithub.com/Devsurojitroy/Nutrition-website-/commit/1ec3013c8d7143937b7e85476aa4da65bc9940fe2024-08-28T16:23:15.134Zgithub.com/Devsurojitroy/Avengers-team-membership-website-/commit/3347400fa755a62b08ebd9e8b75bba700fecf8902024-08-28T15:16:35.233Zgithub.com/Devsurojitroy/Harry-Potter-theme-website-with-quiz-/commit/f3665d5bf75951ad5cb5207fde6cc194be587d542024-08-28T11:29:09.409Zgithub.com/Devsurojitroy/Smart-home-website-2024-08-28T10:39:03.660Zgithub.com/Devsurojitroy/Monitor-deadpixel-screen-testing-website-2024-08-28T09:48:32.637Zgithub.com/Devsurojitroy/Maths-quiz-website-2024-08-28T09:46:05.828Zgithub.com/Devsurojitroy/Maths-quiz-website-2024-08-28T08:58:47.302Zgithub.com/Devsurojitroy/Smart-watch-tracking-app-2024-08-27T14:24:32.054Zgithub.com/Devsurojitroy/Devsurojitroy/commit/63a3cfbb5e6b9e0d7ea979bf6b7aad35d519eb562024-08-27T12:58:34.097Zgithub.com/Devsurojitroy/Devsurojitroy/commit/c483ce5edc0e5438f46f8c3af4927fdb5f0a1a6b2024-08-27T11:58:05.866Zgithub.com/Devsurojitroy/Devsurojitroy/commit/ddc1fa565e66c0ffaa7e5c426a496735554723db2024-08-27T10:58:13.626Zgithub.com/Devsurojitroy/Devsurojitroy/commit/55169ca1a931af88123e9bf358c2d51b699916cd2024-08-27T09:06:18.485Zgithub.com/Devsurojitroy/Devsurojitroy/commit/e258355b1254ee88c1279000d5c4ac0067b290492024-08-27T01:54:23.737Zgithub.com/Devsurojitroy/Devsurojitroy/commit/8e9adba2beeafac52af53e59a76a7846b15adb442024-08-27T00:55:33.122Zgithub.com/Devsurojitroy/Devsurojitroy/commit/7e96f688f6103dd33e81b438a77a54f1e549105e2024-08-27T00:08:46.459Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/raspberry%20pi%20jarvis%20os2024-08-26T23:03:34.135Zgithub.com/Devsurojitroy/Devsurojitroy/commit/7befcd10dca8f04cf79f9f8ed9cbd3f6deda7c292024-08-26T22:04:44.306Zgithub.com/Devsurojitroy/Devsurojitroy/commit/e682d17861c8fbb2b4e1bcb1a638175fc5e1416c2024-08-26T21:08:08.879Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/emergency%20loan%20%2C%20sos%20app2024-08-26T20:08:27.022Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/gym%20bro%20guid%20advance%20website%202024-08-26T19:42:41.235Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/gym%20bro%20guid%20advance%20website%202024-08-26T18:27:44.593Zgithub.com/Devsurojitroy/Devsurojitroy/commit/5641cbc6dd2cf9e8c67133fa598d41a82c1755782024-08-26T16:41:15.800ZMovie watching site with step to make github.com/Devsurojitroy/Devsurojitroy/commit/9643b8d9fee2917b7054dc7c3a384db2685950c12024-08-26T15:52:33.379Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/app%20animation%20loading%20screen%202024-08-26T14:51:15.280Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/3d%20cube%20face%20god%20of%20war%20character%202024-08-26T13:54:28.823Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/3d%20website%202024-08-26T12:48:25.752Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/iron%20man%20like%20hud%20for%20desktop%202024-08-26T11:55:36.508Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/apple%20like%20firmware%20for%20speaker%202024-08-26T11:54:31.406Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/Setup%20the%20Raspberry%20Pi%3AInstall%20the%20necessary%20libraries%3Asudoapple%20like%20speaker%20firmware%20%0Asudo%20apt-get%20install%20python3%20python3-pip%0Asudo%20apt-get%20install%20alsa-utils%0Asudo%20apt-get%20install%20sox%0Asudo%20pip3%20install%20numpy%20scipyPython%20Script%20for%20Basic%20Audio%20Processing%3ABelow%20is%20a%20Python%20script%20that%20processes%20live%20audio%2C%20applies%20a%20simple%20equalizer%20effect%2C%20and%20outputs%20it%20to%20the%20speaker.import%20pyaudio%0Aimport%20numpy%20as%20np%0Aimport%20scipy.signal%0A%0A%23%20Audio%20settings%0ACHUNK%20%3D%201024%0AFORMAT%20%3D%20pyaudio.paInt16%0ACHANNELS%20%3D%201%0ARATE%20%3D%2044100%0A%0A%23%20Create%20PyAudio%20object%0Ap%20%3D%20pyaudio.PyAudio%28%29%0A%0A%23%20Open%20input%20and%20output%20streams%0Astream%20%3D%20p.open%28format%3DFORMAT%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20channels%3DCHANNELS%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20rate%3DRATE%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20input%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20output%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20frames_per_buffer%3DCHUNK%29%0A%0A%23%20Define%20Equalizer%20bands%20%28Example%3A%20Boost%20bass%2C%20reduce%20treble%29%0Adef%20equalizer%28data%2C%20rate%29%3A%0A%20%20%20%20%23%20Convert%20audio%20data%20to%20numpy%20array%0A%20%20%20%20audio_data%20%3D%20np.frombuffer%28data%2C%20dtype%3Dnp.int16%29%0A%0A%20%20%20%20%23%20Apply%20a%20low-pass%20filter%20for%20bass%20boost%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%20150%2C%20%27low%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20audio_data%29%0A%0A%20%20%20%20%23%20Apply%20a%20high-pass%20filter%20to%20reduce%20treble%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%204000%2C%20%27high%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20filtered_data%29%0A%0A%20%20%20%20%23%20Convert%20back%20to%20bytes%0A%20%20%20%20return%20filtered_data.astype%28np.int16%29.tobytes%28%29%0A%0A%23%20Main%20loop%20for%20real-time%20audio%20processing%0Aprint%28%22Processing%20audio...%22%29%0Atry%3A%0A%20%20%20%20while%20True%3A%0A%20%20%20%20%20%20%20%20%23%20Read%20audio%20data%20from%20input%0A%20%20%20%20%20%20%20%20data%20%3D%20stream.read%28CHUNK%2C%20exception_on_overflow%3DFalse%29%0A%0A%20%20%20%20%20%20%20%20%23%20Process%20audio%20data%20through%20equalizer%0A%20%20%20%20%20%20%20%20processed_data%20%3D%20equalizer%28data%2C%20RATE%29%0A%0A%20%20%20%20%20%20%20%20%23%20Write%20processed%20audio%20to%20output%0A%20%20%20%20%20%20%20%20stream.write%28processed_data%29%0Aexcept%20KeyboardInterrupt%3A%0A%20%20%20%20print%28%22Audio%20processing%20stopped.%22%29%0Afinally%3A%0A%20%20%20%20%23%20Clean%20up%0A%20%20%20%20stream.stop_stream%28%29%0A%20%20%20%20stream.close%28%29%0A%20%20%20%20p.terminate%28%29Running%20the%20Script%3ASave%20the%20script%20as%20audio_processor.py.Run%20the%20script%20on%20your%20Raspberry%20Pi%3Apython3%20audio_processor.py2024-08-26T11:53:43.423Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/Setup%20the%20Raspberry%20Pi%3AInstall%20the%20necessary%20libraries%3Asudoapple%20like%20speaker%20firmware%20%0Asudo%20apt-get%20install%20python3%20python3-pip%0Asudo%20apt-get%20install%20alsa-utils%0Asudo%20apt-get%20install%20sox%0Asudo%20pip3%20install%20numpy%20scipyPython%20Script%20for%20Basic%20Audio%20Processing%3ABelow%20is%20a%20Python%20script%20that%20processes%20live%20audio%2C%20applies%20a%20simple%20equalizer%20effect%2C%20and%20outputs%20it%20to%20the%20speaker.import%20pyaudio%0Aimport%20numpy%20as%20np%0Aimport%20scipy.signal%0A%0A%23%20Audio%20settings%0ACHUNK%20%3D%201024%0AFORMAT%20%3D%20pyaudio.paInt16%0ACHANNELS%20%3D%201%0ARATE%20%3D%2044100%0A%0A%23%20Create%20PyAudio%20object%0Ap%20%3D%20pyaudio.PyAudio%28%29%0A%0A%23%20Open%20input%20and%20output%20streams%0Astream%20%3D%20p.open%28format%3DFORMAT%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20channels%3DCHANNELS%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20rate%3DRATE%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20input%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20output%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20frames_per_buffer%3DCHUNK%29%0A%0A%23%20Define%20Equalizer%20bands%20%28Example%3A%20Boost%20bass%2C%20reduce%20treble%29%0Adef%20equalizer%28data%2C%20rate%29%3A%0A%20%20%20%20%23%20Convert%20audio%20data%20to%20numpy%20array%0A%20%20%20%20audio_data%20%3D%20np.frombuffer%28data%2C%20dtype%3Dnp.int16%29%0A%0A%20%20%20%20%23%20Apply%20a%20low-pass%20filter%20for%20bass%20boost%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%20150%2C%20%27low%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20audio_data%29%0A%0A%20%20%20%20%23%20Apply%20a%20high-pass%20filter%20to%20reduce%20treble%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%204000%2C%20%27high%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20filtered_data%29%0A%0A%20%20%20%20%23%20Convert%20back%20to%20bytes%0A%20%20%20%20return%20filtered_data.astype%28np.int16%29.tobytes%28%29%0A%0A%23%20Main%20loop%20for%20real-time%20audio%20processing%0Aprint%28%22Processing%20audio...%22%29%0Atry%3A%0A%20%20%20%20while%20True%3A%0A%20%20%20%20%20%20%20%20%23%20Read%20audio%20data%20from%20input%0A%20%20%20%20%20%20%20%20data%20%3D%20stream.read%28CHUNK%2C%20exception_on_overflow%3DFalse%29%0A%0A%20%20%20%20%20%20%20%20%23%20Process%20audio%20data%20through%20equalizer%0A%20%20%20%20%20%20%20%20processed_data%20%3D%20equalizer%28data%2C%20RATE%29%0A%0A%20%20%20%20%20%20%20%20%23%20Write%20processed%20audio%20to%20output%0A%20%20%20%20%20%20%20%20stream.write%28processed_data%29%0Aexcept%20KeyboardInterrupt%3A%0A%20%20%20%20print%28%22Audio%20processing%20stopped.%22%29%0Afinally%3A%0A%20%20%20%20%23%20Clean%20up%0A%20%20%20%20stream.stop_stream%28%29%0A%20%20%20%20stream.close%28%29%0A%20%20%20%20p.terminate%28%29Running%20the%20Script%3ASave%20the%20script%20as%20audio_processor.py.Run%20the%20script%20on%20your%20Raspberry%20Pi%3Apython3%20audio_processor.py2024-08-26T09:36:00.190Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/jumpscare%20prank2024-08-26T08:41:58.126Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/bank%20payment%20tracker%20on%20python%202024-08-26T08:13:25.420Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/jarvis%20ai%20chatbot%202024-08-26T07:48:49.098Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/jarvis%20ai%20chatbot%20@2024-08-26T06:57:48.433Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/a%20developer%20portfolio%20website%20example%202024-08-26T06:06:42.138Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/Spotify%20like%20music%20player%202024-08-26T05:22:26.775Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/youtube%20like%20video%20player%202024-08-26T04:37:58.775Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/login%20page%20mechanism%202024-08-23T19:23:31.993Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/face%20recognition%2022024-08-23T17:49:10.382Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/apple%20like%20mp3%20player%20with%20all%20steps%20and%20info2024-08-23T16:55:39.070Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/lyrics%20bot My python song bot code is done2024-08-23T16:19:25.611Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/lyrics%20bot I made a ai bot to create lyrics2024-08-23T00:16:31.548ZNew logo design2024-08-22T23:58:36.752ZMy ai poem2024-08-22T23:54:51.085Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/portfolio%202024-08-22T23:54:25.617Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/portfolio%202024-08-22T22:46:43.206Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/face%20recognition%202024-08-22T22:33:45.545Zscrapbook.hackclub.com/about2024-08-22T22:30:09.454Zgithub.com/Devsurojitroy/Devsurojitroy/blob/main/calculator%20 My calculator python code
github.com/Devsurojitroy/Touch-response-website-/commit/a9bd68e658b2de954e546d98c9d54c584b7f3206 github.com/Devsurojitroy/Touch-response-website-/commit/ccdf2e72120ad487a200fd3a2cba48a451691efc
github.com/Devsurojitroy/Touch-response-website-/commit/a9bd68e658b2de954e546d98c9d54c584b7f3206 github.com/Devsurojitroy/Touch-response-website-/commit/ccdf2e72120ad487a200fd3a2cba48a451691efc
github.com/Devsurojitroy/Avengers-team-membership-website-/commit/3347400fa755a62b08ebd9e8b75bba700fecf890
github.com/Devsurojitroy/Harry-Potter-theme-website-with-quiz-/commit/f3665d5bf75951ad5cb5207fde6cc194be587d54
Movie watching site with step to make github.com/Devsurojitroy/Devsurojitroy/commit/9643b8d9fee2917b7054dc7c3a384db2685950c1
github.com/Devsurojitroy/Devsurojitroy/blob/main/Setup%20the%20Raspberry%20Pi%3AInstall%20the%20necessary%20libraries%3Asudoapple%20like%20speaker%20firmware%20%0Asudo%20apt-get%20install%20python3%20python3-pip%0Asudo%20apt-get%20install%20alsa-utils%0Asudo%20apt-get%20install%20sox%0Asudo%20pip3%20install%20numpy%20scipyPython%20Script%20for%20Basic%20Audio%20Processing%3ABelow%20is%20a%20Python%20script%20that%20processes%20live%20audio%2C%20applies%20a%20simple%20equalizer%20effect%2C%20and%20outputs%20it%20to%20the%20speaker.import%20pyaudio%0Aimport%20numpy%20as%20np%0Aimport%20scipy.signal%0A%0A%23%20Audio%20settings%0ACHUNK%20%3D%201024%0AFORMAT%20%3D%20pyaudio.paInt16%0ACHANNELS%20%3D%201%0ARATE%20%3D%2044100%0A%0A%23%20Create%20PyAudio%20object%0Ap%20%3D%20pyaudio.PyAudio%28%29%0A%0A%23%20Open%20input%20and%20output%20streams%0Astream%20%3D%20p.open%28format%3DFORMAT%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20channels%3DCHANNELS%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20rate%3DRATE%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20input%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20output%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20frames_per_buffer%3DCHUNK%29%0A%0A%23%20Define%20Equalizer%20bands%20%28Example%3A%20Boost%20bass%2C%20reduce%20treble%29%0Adef%20equalizer%28data%2C%20rate%29%3A%0A%20%20%20%20%23%20Convert%20audio%20data%20to%20numpy%20array%0A%20%20%20%20audio_data%20%3D%20np.frombuffer%28data%2C%20dtype%3Dnp.int16%29%0A%0A%20%20%20%20%23%20Apply%20a%20low-pass%20filter%20for%20bass%20boost%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%20150%2C%20%27low%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20audio_data%29%0A%0A%20%20%20%20%23%20Apply%20a%20high-pass%20filter%20to%20reduce%20treble%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%204000%2C%20%27high%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20filtered_data%29%0A%0A%20%20%20%20%23%20Convert%20back%20to%20bytes%0A%20%20%20%20return%20filtered_data.astype%28np.int16%29.tobytes%28%29%0A%0A%23%20Main%20loop%20for%20real-time%20audio%20processing%0Aprint%28%22Processing%20audio...%22%29%0Atry%3A%0A%20%20%20%20while%20True%3A%0A%20%20%20%20%20%20%20%20%23%20Read%20audio%20data%20from%20input%0A%20%20%20%20%20%20%20%20data%20%3D%20stream.read%28CHUNK%2C%20exception_on_overflow%3DFalse%29%0A%0A%20%20%20%20%20%20%20%20%23%20Process%20audio%20data%20through%20equalizer%0A%20%20%20%20%20%20%20%20processed_data%20%3D%20equalizer%28data%2C%20RATE%29%0A%0A%20%20%20%20%20%20%20%20%23%20Write%20processed%20audio%20to%20output%0A%20%20%20%20%20%20%20%20stream.write%28processed_data%29%0Aexcept%20KeyboardInterrupt%3A%0A%20%20%20%20print%28%22Audio%20processing%20stopped.%22%29%0Afinally%3A%0A%20%20%20%20%23%20Clean%20up%0A%20%20%20%20stream.stop_stream%28%29%0A%20%20%20%20stream.close%28%29%0A%20%20%20%20p.terminate%28%29Running%20the%20Script%3ASave%20the%20script%20as%20audio_processor.py.Run%20the%20script%20on%20your%20Raspberry%20Pi%3Apython3%20audio_processor.py
github.com/Devsurojitroy/Devsurojitroy/blob/main/Setup%20the%20Raspberry%20Pi%3AInstall%20the%20necessary%20libraries%3Asudoapple%20like%20speaker%20firmware%20%0Asudo%20apt-get%20install%20python3%20python3-pip%0Asudo%20apt-get%20install%20alsa-utils%0Asudo%20apt-get%20install%20sox%0Asudo%20pip3%20install%20numpy%20scipyPython%20Script%20for%20Basic%20Audio%20Processing%3ABelow%20is%20a%20Python%20script%20that%20processes%20live%20audio%2C%20applies%20a%20simple%20equalizer%20effect%2C%20and%20outputs%20it%20to%20the%20speaker.import%20pyaudio%0Aimport%20numpy%20as%20np%0Aimport%20scipy.signal%0A%0A%23%20Audio%20settings%0ACHUNK%20%3D%201024%0AFORMAT%20%3D%20pyaudio.paInt16%0ACHANNELS%20%3D%201%0ARATE%20%3D%2044100%0A%0A%23%20Create%20PyAudio%20object%0Ap%20%3D%20pyaudio.PyAudio%28%29%0A%0A%23%20Open%20input%20and%20output%20streams%0Astream%20%3D%20p.open%28format%3DFORMAT%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20channels%3DCHANNELS%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20rate%3DRATE%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20input%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20output%3DTrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20frames_per_buffer%3DCHUNK%29%0A%0A%23%20Define%20Equalizer%20bands%20%28Example%3A%20Boost%20bass%2C%20reduce%20treble%29%0Adef%20equalizer%28data%2C%20rate%29%3A%0A%20%20%20%20%23%20Convert%20audio%20data%20to%20numpy%20array%0A%20%20%20%20audio_data%20%3D%20np.frombuffer%28data%2C%20dtype%3Dnp.int16%29%0A%0A%20%20%20%20%23%20Apply%20a%20low-pass%20filter%20for%20bass%20boost%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%20150%2C%20%27low%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20audio_data%29%0A%0A%20%20%20%20%23%20Apply%20a%20high-pass%20filter%20to%20reduce%20treble%0A%20%20%20%20sos%20%3D%20scipy.signal.butter%2810%2C%204000%2C%20%27high%27%2C%20fs%3Drate%2C%20output%3D%27sos%27%29%0A%20%20%20%20filtered_data%20%3D%20scipy.signal.sosfilt%28sos%2C%20filtered_data%29%0A%0A%20%20%20%20%23%20Convert%20back%20to%20bytes%0A%20%20%20%20return%20filtered_data.astype%28np.int16%29.tobytes%28%29%0A%0A%23%20Main%20loop%20for%20real-time%20audio%20processing%0Aprint%28%22Processing%20audio...%22%29%0Atry%3A%0A%20%20%20%20while%20True%3A%0A%20%20%20%20%20%20%20%20%23%20Read%20audio%20data%20from%20input%0A%20%20%20%20%20%20%20%20data%20%3D%20stream.read%28CHUNK%2C%20exception_on_overflow%3DFalse%29%0A%0A%20%20%20%20%20%20%20%20%23%20Process%20audio%20data%20through%20equalizer%0A%20%20%20%20%20%20%20%20processed_data%20%3D%20equalizer%28data%2C%20RATE%29%0A%0A%20%20%20%20%20%20%20%20%23%20Write%20processed%20audio%20to%20output%0A%20%20%20%20%20%20%20%20stream.write%28processed_data%29%0Aexcept%20KeyboardInterrupt%3A%0A%20%20%20%20print%28%22Audio%20processing%20stopped.%22%29%0Afinally%3A%0A%20%20%20%20%23%20Clean%20up%0A%20%20%20%20stream.stop_stream%28%29%0A%20%20%20%20stream.close%28%29%0A%20%20%20%20p.terminate%28%29Running%20the%20Script%3ASave%20the%20script%20as%20audio_processor.py.Run%20the%20script%20on%20your%20Raspberry%20Pi%3Apython3%20audio_processor.py
github.com/Devsurojitroy/Devsurojitroy/blob/main/apple%20like%20mp3%20player%20with%20all%20steps%20and%20info