{"id":13776120,"url":"https://github.com/thgrund/TidalVST","last_synced_at":"2025-05-11T10:30:49.036Z","repository":{"id":44575606,"uuid":"347649095","full_name":"thgrund/TidalVST","owner":"thgrund","description":"Using Supercolliders VSTPluginController to control VST plugins with TidalCycles","archived":false,"fork":false,"pushed_at":"2024-05-05T19:56:16.000Z","size":49,"stargazers_count":30,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-05T20:40:55.263Z","etag":null,"topics":["livecoding","supercollider","tidalcycles","vst"],"latest_commit_sha":null,"homepage":"","language":"SuperCollider","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/thgrund.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-14T13:48:10.000Z","updated_at":"2024-08-03T18:10:12.930Z","dependencies_parsed_at":"2024-08-03T18:10:09.037Z","dependency_job_id":null,"html_url":"https://github.com/thgrund/TidalVST","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/thgrund%2FTidalVST","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgrund%2FTidalVST/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgrund%2FTidalVST/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgrund%2FTidalVST/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thgrund","download_url":"https://codeload.github.com/thgrund/TidalVST/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253551461,"owners_count":21926299,"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":["livecoding","supercollider","tidalcycles","vst"],"created_at":"2024-08-03T18:00:16.899Z","updated_at":"2025-05-11T10:30:48.631Z","avatar_url":"https://github.com/thgrund.png","language":"SuperCollider","readme":"\n\n# TidalVST\n\nUsing Supercolliders VSTPluginController to control VST plugins with TidalCycles.\n\nThis can currently be understood as a proof of concept. What you can do is to: \n\n- Use the VSTPluginController to make a VST plugin accesible for TidalCycles\n- Control VST parameters with TidalCycles pattern. You can use simple functions or even control busses!\n-  Apply all kind of effects from SuperDirt \n\n## Requirements\n\n- TidalCycles v1.7.1+\n- [SuperDirt](https://github.com/musikinformatik/SuperDirt) v1.7.1+\n- [VSTPlugin](https://github.com/Spacechild1/vstplugin) 0.4.0+\n\n## TidalCycles\n\n### Installation\n\nCreate a new control bus target in your `BootTidal.hs`:\n\n```Haskell\nlet vstTarget = Target {oName = \"hydra\", oAddress = \"127.0.0.1\", oHandshake = True, oPort = 3337, oBusPort = Just 3338, oLatency = 0.1, oSchedule = Pre BundleStamp, oWindow = Nothing}\n\ntidal \u003c- startStream (defaultConfig {cFrameTimespan = 1/20}) [(superdirtTarget {oLatency = 0.1}, [superdirtShape]),(vstTarget, [superdirtShape]) ]\n```\n\nAnd you need to add the content from  `newFunction.hs` in this repo to your `BootTidal.hs` too.\n\n## How to use it\n\nOne simple approach is to play notes withouth controlling any other parameter:\n\n```haskell\nd1 $ n (scale \"major\" \"0 5 ~7\") # s \"vst\" -- this name can be changed in the addSynth function  \n```\n\n But you can use the functions `varg1` .. `varg100` from `newFunction.hs`. The parameter mapping depends on the plugin. I prefer to create a more semantically meaning for a specific vst plugin parameter like `oscrate = varg23`. \n\n```haskell\nd1 $ n (scale \"major\" \"0 5 ~7\")\n   # s \"vst\"\n   # varg34 (\n      \"[0.25 \u003c0.5 0.75\u003e \u003c0.75 0\u003e]\"\n   )\n```\n\nYou can control  the vst parameter with control busses too! Like the functions you can access the control busses with `varg1bus` .. `varg100bus`.\n\n```haskell\nd1 $ n \"0/2\"\n   # s \"vst\"\n   # varg34bus 1 (\n      segment \"\u003c4 256\u003e\"\n      $ ( isaw * \"\u003c0.25 0.25 0.5\u003e\") + 0.25\n   ) # legato 2\n```\n\nAnd you can add global effects from SuperDirt \n\n```haskell\nd1 $ n (scale \"major\" \"0 5 ~7\")\n   # s \"vst\"\n   # room 0.2 # sz 0.4\n   # delay 1\n   # delaytime 0.2 # delayfeedback 0.2\n   # leslie 1\n   # lsize 2.8 # lrate 6.7\n   # legato 0.1\n```\n\nAndlocal effects from SuperDirt\n\n```haskell\nd1 $ n (scale \"major\" \"0 5 ~7\")\n   # s \"vst\"\n   # lpf (slow 4 $ sine * 4000)\n```\n\n## SuperCollider\n\nFor adding or removing a VST plugins you need to do the following changes in `TidalVST.scd`:\n\n1. Add something like `VSTPlugin.ar(sound, ~dirt.numChannels, id: \\myVstId);` to the \"VST\" SynthDef\n2. Add `\\myVstId -\u003e Synth(\"VST\", [id: \\myVstId]),`to the synths Dictionary\n3. Add `\\myVstId -\u003e VSTPluginController(synths.at(\\zebralette2), id: \\zebralette2).open(\"Zebralette\", editor: true, verbose: false),`to the instruments Dictionary.\n\nI think not every parameter should be necessary and it should be clean up soon. But to be unsure everything is working you should do it this way.\n\nThe `VSTPluginController` should looks into your VST and VST3 folder for the file names. These names should be the same for the `open` method. \n","funding_links":[],"categories":["Software"],"sub_categories":["SuperDirt extensions"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgrund%2FTidalVST","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthgrund%2FTidalVST","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgrund%2FTidalVST/lists"}