How to Create Background Music with Copilot
Generate background music in your IDE with Copilot and ToolRouter. Custom tracks for developer content.
ToolMusic GeneratorCopilot generates background music within your IDE, making it seamless to create audio assets alongside tutorial recordings and demo videos. This code-first workflow keeps music creation part of your content production pipeline, eliminating the need to switch to separate audio tools.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Music Generator tool:
- In Copilot Chat: "Generate a background music track -- 60 seconds, chill electronic, for a tutorial video"
- Copilot generates the track and returns the file
- Ask for adjustments or additional variations
- Download and add to your project assets
Example Prompt
Try this with Copilot using the Music Generator tool
Generate 60 seconds of lo-fi background music for a coding tutorial video. Relaxed, minimal, no vocals.
Tips
- Great for creating audio assets alongside your code tutorials and demos
- Generate a consistent music style across a series of tutorial videos
- Keep tracks simple and low-key so they do not distract from narration