{"id":17383111,"url":"https://github.com/vareille/toot","last_synced_at":"2025-04-15T09:44:12.708Z","repository":{"id":55534153,"uuid":"109703367","full_name":"vareille/toot","owner":"vareille","description":"a beep that really beeps - cross-platform command line tool to toot \"tooot\" - it's also a C C++ library","archived":false,"fork":false,"pushed_at":"2024-03-29T13:10:34.000Z","size":142,"stargazers_count":58,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-29T14:27:47.233Z","etag":null,"topics":["beep","bsd","c","cli","command-line-tool","cpp","library","mac","minix","osx","raspbian","shell","shell-scripts","solaris","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vareille.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-11-06T14:08:37.000Z","updated_at":"2024-04-14T16:57:48.240Z","dependencies_parsed_at":"2022-08-15T02:40:50.246Z","dependency_job_id":"8af216b3-b4fb-4a14-b12e-4db92bf5794e","html_url":"https://github.com/vareille/toot","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vareille%2Ftoot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vareille%2Ftoot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vareille%2Ftoot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vareille%2Ftoot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vareille","download_url":"https://codeload.github.com/vareille/toot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249047546,"owners_count":21204273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beep","bsd","c","cli","command-line-tool","cpp","library","mac","minix","osx","raspbian","shell","shell-scripts","solaris","unix","windows"],"created_at":"2024-10-16T07:40:37.610Z","updated_at":"2025-04-15T09:44:12.668Z","avatar_url":"https://github.com/vareille.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"SPDX-License-Identifier: Zlib\nCopyright (c) 2017 - 2024 Guillaume Vareille http://ysengrin.com\n\t ________________________________________________________________\n\t|                                                                |\n\t| 100% compatible C C++  -\u003e  You can rename all .c files as .cpp |\n\t|________________________________________________________________|\n\nI've got tired of beep not working, here is toot (cross-platform C C++), toot works.\nIt simply tries to call different ways to produce a sine wave that might be present on your machine.\n   __              __\n  / /_____  ____  / /_\n / __/ __ \\/ __ \\/ __/\n/ /_/ /_/ / /_/ / /_\n\\__/\\____/\\____/\\__/\n a beep that beeps\n\nit's both a C/C++ library and a command line tool\nWindows OSX Linux BSD Solaris Minix Raspbian\n\ntoot v1.2.2 [Jan 23, 2024]\n\nhttps://github.com/vareille/toot\ngit clone https://github.com/vareille/toot\n     _____________________________________________________________\n    |                                                             |\n    | my email address is at the top of the header file tootlib.h |\n    |_____________________________________________________________|\n\t ________________________________________________________________\n\t|                                                                |\n\t| 100% compatible C C++  -\u003e  You can rename all .c files as .cpp |\n\t|________________________________________________________________|\n     ____________________________________________________________\n    |  _________   ______________   ____________   ____________  |\n    | |         | |              | |            | |            | |\n    | | NO INIT | | NO MAIN LOOP | | NO LINKING | | NO INCLUDE | |\n    | |_________| |______________| |____________| |____________| |\n    |____________________________________________________________|\n\nvoid toot(float aFrequency_Hz, int aLength_ms) ;\n\nUsage:  toot [-f frequency_Hz] [-l length_ms]\n        toot [-v] [--verbose]\n        toot [-h] [--help]\n        toot [--version]\nDefault: toot -f 440. -l 400\nExample: toot\n\nthe release pane contains windows and osx executables\n\nmake sure the volume is on (though some beeps may use the hardware speaker)\nif you can't adjust frequency / length (or if it doesn't beep)\n\ton osx:\t\tinstall sox (from macport.org or brew.sh)\n\ton unix:\tinstall sox\n\nIf you know of any other way to reliably generate sine wave sound or beep on\nanykind of machine, I'll be happy to add them to toot.\n\nUNIX (including MacOS) :\n$ clang -o toot tootlib.c toot.c\n( or gcc tcc icx)\n( or g++ clang++ icpx )\n\nMinGW :\n\u003e gcc -o toot.exe tootlib.c toot.c -luser32\n\nWindows Borland C :\n\u003e bcc32c -o toot.exe toot.c tootlib.c -luser32\n\nWindows TinyCC v0.9.27 :\n\u003e tcc -o toot.exe toot.c tootlib.c -luser32\n\nWindows Intel C :\n\u003e icx-cc -o toot.exe toot.c tootlib.c -luser32\n\u003e icx-cl -o toot.exe toot.c tootlib.c user32.lib\n\n\nWindows cli :\n\u003e cl toot.c tootlib.c user32.lib /W4\n\nVisualStudio :\nCreate an application project or an empty project (it links against user32.lib)\n\n************************************************************************\nI am also the author of tiny file dialogs\nit's a cross-platform C C++ file that offers many native dialogs\nno init, no main loop, no include, no linking\n _________\n/         \\   NotifyPopup InputBox PasswordBox MessageBox ColorPicker\n|tiny file|   OpenFileDialog SaveFileDialog SelectFolderDialog\n| dialogs |   ASCII UTF-8 (and also MBCS UTF-16 on windows)\n\\____  ___/   Native dialog library for WINDOWS MAC OSX GTK+ QT CONSOLE\n     \\|       http://tinyfiledialogs.sourceforge.net\n************************************************************************\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvareille%2Ftoot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvareille%2Ftoot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvareille%2Ftoot/lists"}