This extension aims to mirror the features of Albert Gräf's Emacs-based Pd-Remote as a Visual Studio Code Extension.
The @vscode/vsce module needs to be installed globally, or nothing will work. To these ends, run sudo make install-vsce
OR sudo npm install -g @vscode/vsce
once.
- To install requisite modules using npm, run
npm install
- To package the extension, run
vsce package
- Go to the Extensions Tab in VS Codes Sidebar
- Click the "..." symbol at the top of the Extensions Window
- Select "Install from VSIX"
- Select your previously packaged or downloaded .vsix file
- Make sure you have installed VS Code in PATH
- Run
code --install-extension [extension-name].vsix
You may use the examples in Albert Gräf's Repository to test the extension. The default connection is opened on localhost:4711 over UDP. You may change these values in VSCodes workspace or user settings.
Following Commands are supported as of now. You may invoke them either by searching for them in VSCodes Command Prompt (cmd+Shift+P
) or by using the Keybindings (which can be changed in VSCodes Keybinding Settings).
Command Prompt Name | Default Keybinding | Message Sent |
---|---|---|
Pd-Remote: Create pdsend Process | Starts the pdsend process | |
Pd-Remote: Kill pdsend Process | Kills the pdsend process | |
Pd-Remote: Send Start | ctrl+c ctrl+s | Start (sends a play 1 message) |
Pd-Remote: Send Stop | ctrl+c ctrl+t | Stop (sends a play 0 message) |
Pd-Remote: Send Restart | ctrl+c ctrl+r | Restart (sends play 0, then play 1 ) |
Pd-Remote: Send DSP On | ctrl+/ | DSP on (pd dsp 1 ) |
Pd-Remote: Send DSP Off | ctrl+. | DSP off (pd dsp 0 ) |
Pd-Remote: Send Compile | ctrl+c ctrl+k | Sends a Compile message (faustgen2~ compile or pdluax reload , depending on file type) |
Pd-Remote: Send Message | ctrl+c ctrl+m | Prompts for a message to send to Pd |