{"id":20754203,"url":"https://github.com/derekxkwan/dxk-sonicpi-util","last_synced_at":"2025-10-04T16:42:27.655Z","repository":{"id":82041466,"uuid":"171133801","full_name":"derekxkwan/dxk-sonicpi-util","owner":"derekxkwan","description":"some utility functions for use with sonic-pi","archived":false,"fork":false,"pushed_at":"2019-05-15T08:36:27.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-26T15:10:47.563Z","etag":null,"topics":["ruby","sonic-pi"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derekxkwan.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,"governance":null}},"created_at":"2019-02-17T14:49:18.000Z","updated_at":"2019-05-15T08:36:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"af925bdd-eed8-4d69-855e-9878c2d3e650","html_url":"https://github.com/derekxkwan/dxk-sonicpi-util","commit_stats":null,"previous_names":["mrufrufin/dxk-sonicpi-util","derekxkwan/dxk-sonicpi-util"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derekxkwan/dxk-sonicpi-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekxkwan%2Fdxk-sonicpi-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekxkwan%2Fdxk-sonicpi-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekxkwan%2Fdxk-sonicpi-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekxkwan%2Fdxk-sonicpi-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derekxkwan","download_url":"https://codeload.github.com/derekxkwan/dxk-sonicpi-util/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekxkwan%2Fdxk-sonicpi-util/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278343072,"owners_count":25971399,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ruby","sonic-pi"],"created_at":"2024-11-17T09:16:34.734Z","updated_at":"2025-10-04T16:42:27.596Z","avatar_url":"https://github.com/derekxkwan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dxk-sonicpi-util\nsome utility functions for use with sonic-pi\n\n## CAN IGNORE\n- ignore/comment out the top line if you wish as it is for importing my [Ruby array extensions](https://github.com/derekxkwan/dxk_ruby_ext)\n- also ignore/comment out the `load_synthdefs` line if you want as it is for loading my [custom synthdefs](https://github.com/derekxkwan/dxk-spisynths)\n- there's also a [Morse utility class](https://github.com/derekxkwan/morse_gem) you can also prob ignore if you want\n\n## FILES\n### dxk-sonicpi-util\n#### FUNCTIONS\n- **beat_transport**: a psuedo-transport-type-thing for syncs and cues\n    - args: enable = true, bpm = 120, beats_per_meas = 4, meas_per_phrase = 4, meas_per_half = 2\n- **ramp_var**: ramps sonic-pi variables\n    - args: to_ramp, to_val = 0, ramp_time = 1, grain = 0.125\n- **dur_subdiv**: divides an array of values into requested subdivisions\n  - args: input array, main duration = 0.5, subdivision = 0.25\n  - example: [1.5, 1] with main duration of 0.5 and subdivision of 0.25 = [[0.5, 0.25, 0.25, 0.25, 0.25], [0.5, 0.25, 0.25]]\n### dxk-sonicpi-methods\nessentially pseudo-macros for use with `beat_transport` and a defined bpm  (set :bpm, heresmybpm) to reduce typing\n#### FUNCTIONS\n- **tp_syncloop**: wraps around live_loop, sync: and use_bpm\n  - args: loopname, sync symbol\n- **tp_loop**: wraps around live_loop and use_bpm\n  - args: loopname\n- **tp_thread**: wraps around in_thread and use_bpm\n- **tp_syncthread**: wraps around in_thread, sync and use_bpm\n  - args: sync symbol\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekxkwan%2Fdxk-sonicpi-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderekxkwan%2Fdxk-sonicpi-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekxkwan%2Fdxk-sonicpi-util/lists"}