{"id":18270609,"url":"https://github.com/ap4y/OrigamiEngine","last_synced_at":"2025-04-05T01:30:43.738Z","repository":{"id":4299167,"uuid":"5430586","full_name":"ap4y/OrigamiEngine","owner":"ap4y","description":"Lightweight audio engine for iOS and OSX with flac, cue, mp3, m4a, m3u support.","archived":true,"fork":false,"pushed_at":"2018-01-09T20:30:25.000Z","size":1546,"stargazers_count":543,"open_issues_count":37,"forks_count":118,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-04-14T22:31:59.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ap4y.github.com/OrigamiEngine/","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ap4y.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2012-08-15T19:30:10.000Z","updated_at":"2024-03-05T07:32:32.000Z","dependencies_parsed_at":"2022-08-29T19:11:10.919Z","dependency_job_id":null,"html_url":"https://github.com/ap4y/OrigamiEngine","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap4y%2FOrigamiEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap4y%2FOrigamiEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap4y%2FOrigamiEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap4y%2FOrigamiEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ap4y","download_url":"https://codeload.github.com/ap4y/OrigamiEngine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276032,"owners_count":20912285,"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-11-05T11:38:45.857Z","updated_at":"2025-04-05T01:30:42.992Z","avatar_url":"https://github.com/ap4y.png","language":"Objective-C","readme":"Lightweight iOS and OSX audio engine with opus, flac, cue, mp3, m4a, m3u support.\n\nSupported formats\n-------\n\n  * Audio sources: http and local files\n  * Audio files: `opus`, `flac`, `mp3`, `m4a`, `wav` and other from CoreAudio\n  * Playlists: `cue`, `m3u`\n\n\nFeatures\n-------\n\n- Ligthweight: 300kb compiled, 1.2mb with libFLAC\n- Small memory foorprint: no more than 2.5mb for the flac files\n- Low resource consumption: about 14% CPU usage for FLAC on ipod 4g\n- All operations in background with GCD\n- Event-based (using dispatch sources and CoreAudio async api)\n- Provides full audio metadata (vorbis, id3 tags) with embeeded cover images\n- HTTP data caching\n- Tested (currently about 85% code coverage)\n\nOverview\n-------\n\n Static library and [cocoapods](cocoapods.org) `podspec` provided. Static library can be compiled with embeeded FLAC library (check project targets). For OSX you can use static framework.\n\n Start playback:\n\n    self.player = [[ORGMEngine alloc] init];\n    NSURL* url = [NSURL URLWithString:tfUrl.text];\n    [_player playUrl:url];\n\nCommon operations:\n\n    [_player metadata];                         // current metadata\n    [_player pause];                            // pause playback\n    [_player resume];                           // resume playback\n    [_player stop];                             // stop playback\n    [_player seekToTime:seekSlider.value];      // seek to second\n    [_player setNextUrl:url withDataFlush:YES]; // play next track and clear current buffer\n\nDelegate methods:\n\n    - (NSURL*)engineExpectsNextUrl:(ORGMEngine*)engine; // provides continious playback\n    - (void)engine:(ORGMEngine*)engine didChangeState:(ORGMEngineState)state; // state change callback\n\n Check example project and tests for the additional information.\n\nDocumentation\n-------\n\nProject headers contain `appledoc` comments, precompiled docset [here](http://ap4y.github.com/OrigamiEngine/Documentation/index.html).\n\nTests\n-------\n\n`OCUnit` tests included into the project.\n\nCredits\n-------\n\n- http://cogx.org/ by Vincent Spader. FLAC decoder implementation based on `Cog` sources\n\nLicense\n-------\n(MIT license)\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap4y%2FOrigamiEngine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fap4y%2FOrigamiEngine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap4y%2FOrigamiEngine/lists"}