{"id":13400136,"url":"https://github.com/waywardgeek/sonic","last_synced_at":"2025-04-12T23:40:01.226Z","repository":{"id":1302468,"uuid":"1244696","full_name":"waywardgeek/sonic","owner":"waywardgeek","description":"Simple library to speed up or slow down speech","archived":false,"fork":false,"pushed_at":"2025-02-27T20:18:11.000Z","size":11900,"stargazers_count":633,"open_issues_count":23,"forks_count":164,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-12T23:39:56.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waywardgeek.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2011-01-12T08:19:08.000Z","updated_at":"2025-04-11T01:31:48.000Z","dependencies_parsed_at":"2023-10-12T04:42:14.527Z","dependency_job_id":"a534d25c-eb56-4ec7-a1c4-3c50dc49b538","html_url":"https://github.com/waywardgeek/sonic","commit_stats":{"total_commits":189,"total_committers":19,"mean_commits":9.947368421052632,"dds":0.3915343915343915,"last_synced_commit":"0555641f2d7e52a3d1720b4ae5affb5d50bdde23"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waywardgeek%2Fsonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waywardgeek%2Fsonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waywardgeek%2Fsonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waywardgeek%2Fsonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waywardgeek","download_url":"https://codeload.github.com/waywardgeek/sonic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647254,"owners_count":21139081,"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":[],"created_at":"2024-07-30T19:00:48.841Z","updated_at":"2025-04-12T23:40:01.195Z","avatar_url":"https://github.com/waywardgeek.png","language":"C","funding_links":[],"categories":["GPU computing","C","Software"],"sub_categories":["Other FX"],"readme":"Sonic is a simple algorithm for speeding up or slowing down speech.  However,\nit's optimized for speed ups of over 2X, unlike previous algorithms for changing\nspeech rate.  The Sonic library is a very simple ANSI C library that is designed\nto easily be integrated into streaming voice applications, like TTS back ends.\n\nThe primary motivation behind Sonic is to enable the blind and visually impaired\nto improve their productivity with open source speech engines, like espeak.\nSonic can also be used by the sighted.  For example, Sonic can improve the\nexperience of listening to an audio book on an Android phone.\n\nA native Java port of Sonic is in Sonic.java.  Main.java is a simple example of\nhow to use Sonic.java.  To play with it, you'll need a \"talking.wav\" file in the\ncurrent directory, and you'll want to change the speed, pitch or other\nparameters manually in Main.java, in the main method.\n\nSonic is Copyright 2010, 2011, Bill Cox, all rights reserved.  It is released\nunder the Apache 2.0 license, to promote usage as widely as possible.\n\nPerformance test:\n\nI sped up a 751958176 byte wav file with sonic (a 9 hour, 28 minute mono audio\nfile encoded at 16-bit 11.KHz), but with the output writing disabled.  The\nreported time, running Ubuntu 11.04 on my HP Pavilion dm4 laptop was:\n\nreal    0m50.839s\nuser    0m47.370s\nsys     0m0.620s\n\nThe Java version is not much slower.  It reported:\n\nreal    0m52.043s\nuser    0m51.190s\nsys     0m0.310s\n\nUpdate, May 7, 2017\n-------------------\nI upgraded the pitch change algorithm to use a 12-point sinc FIR filter for\ninterpolation, rather than linearly interpolating between points.  This\nsignificantly reduces noise introduced by the pitch change algorithm.  It is\nmost noticable in low-sample-rate streams, such as the 11,025 Hz output of the\nEloquence TTS engine.  The upgrade is in both the C and Java versions.\n\n\nAuthor: Bill Cox\nemail: waywardgeek@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaywardgeek%2Fsonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaywardgeek%2Fsonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaywardgeek%2Fsonic/lists"}