{"id":22007428,"url":"https://github.com/joshpetit/simple-java-microphone-api","last_synced_at":"2025-03-23T07:14:53.356Z","repository":{"id":122536908,"uuid":"282091912","full_name":"joshpetit/simple-java-microphone-api","owner":"joshpetit","description":"A simple API to work with microphones in java","archived":false,"fork":false,"pushed_at":"2020-08-16T14:46:56.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-28T13:52:14.010Z","etag":null,"topics":["java","java-microphone-api","library","microphone","simple"],"latest_commit_sha":null,"homepage":"","language":"Java","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/joshpetit.png","metadata":{"files":{"readme":"README.md","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,"publiccode":null,"codemeta":null}},"created_at":"2020-07-24T01:18:53.000Z","updated_at":"2022-11-02T15:55:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba1bb1ef-15a7-4041-87f6-eb568d049cc0","html_url":"https://github.com/joshpetit/simple-java-microphone-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fsimple-java-microphone-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fsimple-java-microphone-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fsimple-java-microphone-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Fsimple-java-microphone-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshpetit","download_url":"https://codeload.github.com/joshpetit/simple-java-microphone-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066712,"owners_count":20555430,"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":["java","java-microphone-api","library","microphone","simple"],"created_at":"2024-11-30T01:26:41.862Z","updated_at":"2025-03-23T07:14:53.326Z","avatar_url":"https://github.com/joshpetit.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Java Microphone API\nAn easy to use project I made to help with a few other projects that require\nsimple audio functions. Likely won't publish artifact until my use for this is \nexacerbated and I stop updating it.\n\n## Usage\n### Initialize\n\n`RecordBlob record = new RecordBlob(Record.Formats.DEFAULT, AudioFileFormat.Type.WAVE);`\n\n### Record\n```\nrecord.startRecord();\ntry {\n    Thread.sleep(5000); //Records for 5 seconds\n} catch (InterruptedException e) {\n    e.printStackTrace();\n}\nrecord.stopRecord();\n```\n\n### Play\n```\nrecord.play();\nThread.sleep(5000); //Allows the audio to play for 5 seconds\n```\n\n### Saving Files\n```\nFile file = new File(\"test.wav\");\nrecord.saveFile(file.getPath()); //Path or String argument\n```\n\n### Useful methods\n```\ngetAudioFile();\nreplay();\ngetAudioClip();\nloop();\npause();\ndeleteRecording();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpetit%2Fsimple-java-microphone-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshpetit%2Fsimple-java-microphone-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpetit%2Fsimple-java-microphone-api/lists"}