{"action":"created","issue":{"url":"https://api.github.com/repos/enzienaudio/heavy/issues/255","repository_url":"https://api.github.com/repos/enzienaudio/heavy","labels_url":"https://api.github.com/repos/enzienaudio/heavy/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/enzienaudio/heavy/issues/255/comments","events_url":"https://api.github.com/repos/enzienaudio/heavy/issues/255/events","html_url":"https://github.com/enzienaudio/heavy/issues/255","id":303182699,"number":255,"title":"using @hv_table descriptor in VST framework","user":{"login":"sergiogranadamoreno","id":4422632,"avatar_url":"https://avatars0.githubusercontent.com/u/4422632?v=4","gravatar_id":"","url":"https://api.github.com/users/sergiogranadamoreno","html_url":"https://github.com/sergiogranadamoreno","followers_url":"https://api.github.com/users/sergiogranadamoreno/followers","following_url":"https://api.github.com/users/sergiogranadamoreno/following{/other_user}","gists_url":"https://api.github.com/users/sergiogranadamoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiogranadamoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiogranadamoreno/subscriptions","organizations_url":"https://api.github.com/users/sergiogranadamoreno/orgs","repos_url":"https://api.github.com/users/sergiogranadamoreno/repos","events_url":"https://api.github.com/users/sergiogranadamoreno/events{/privacy}","received_events_url":"https://api.github.com/users/sergiogranadamoreno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T17:08:03Z","updated_at":"2018-03-07T17:20:38Z","closed_at":null,"author_association":"NONE","body":"I'm trying to do a simple looping sampler (attached). I know from issue #131 that it is possible to use the @hv_table descriptor to load samples into tables. Although there is documentation on how to do this from Unity, I couldn't find information on how to modify the VST source code to get the same functionality in a VST plug-in. \r\n\r\nWould it be possible to use this descriptor to allow the user to load an audio file from hardisk via the VST interface? If so, does anybody knows documentation to start learning how to do this?\r\n\r\nThanks!\r\n[table-test.pd.zip](https://github.com/enzienaudio/heavy/files/1790080/table-test.pd.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/enzienaudio/heavy/issues/comments/371213726","html_url":"https://github.com/enzienaudio/heavy/issues/255#issuecomment-371213726","issue_url":"https://api.github.com/repos/enzienaudio/heavy/issues/255","id":371213726,"user":{"login":"diplojocus","id":594588,"avatar_url":"https://avatars1.githubusercontent.com/u/594588?v=4","gravatar_id":"","url":"https://api.github.com/users/diplojocus","html_url":"https://github.com/diplojocus","followers_url":"https://api.github.com/users/diplojocus/followers","following_url":"https://api.github.com/users/diplojocus/following{/other_user}","gists_url":"https://api.github.com/users/diplojocus/gists{/gist_id}","starred_url":"https://api.github.com/users/diplojocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diplojocus/subscriptions","organizations_url":"https://api.github.com/users/diplojocus/orgs","repos_url":"https://api.github.com/users/diplojocus/repos","events_url":"https://api.github.com/users/diplojocus/events{/privacy}","received_events_url":"https://api.github.com/users/diplojocus/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T17:20:38Z","updated_at":"2018-03-07T17:20:38Z","author_association":"CONTRIBUTOR","body":"@sergiogranadamoreno unfortunately there's no in-built mechanism in heavy for file loading, mainly because of the cross-platform support needed.\r\n\r\nIt should be possible to modify the VST source code to create an file openpanel, though it would be different on each operating system. From there you'd be able to access the audio file data and load it into a table in the patch context. "}}
{"actor":{"display_login":"diplojocus"}}