Forked from https://github.com/hitautodestruct/acidmachine . This is the original web-based music sequencer that became Acid Machine.
This fork aims to add MIDI export functionality for use with DAWs like Reaper.
- Web-based music sequencer
- 303 bass and drum patterns
- Interactive grid interface
- Planned MIDI export functionality
- Git
- Visual Studio Code
- PHP (Thread Safe version, 8.2.x or 8.3.x recommended)
# Open Command Prompt
cd C:\Users\[YourUsername]\Documents\Projects
# Create projects folder if needed
mkdir Projects
# Clone the repository
git clone https://github.com/mdkberry/acidmachine.git
# Navigate to the project
cd acidmachine- Launch VSCode
- File → Open Folder → Select the
acidmachinefolder - Install required extensions:
- PHP Server (by brapifra) - for running the local server
- PHP Intelephense (by Ben Mewburn) - for syntax highlighting and linting (optional)
-
Download PHP:
- Visit php.net/downloads/windows
- Download the "VS16 x64 Thread Safe" ZIP version
-
Extract PHP:
# Extract to a simple location C:\php\
-
Verify Installation:
C:\php\php.exe --version # Should output something like "PHP 8.3.12"
-
Add PHP to System PATH:
- Right-click "This PC" → Properties → Advanced system settings
- Click "Environment Variables"
- Under "System variables", find "Path" → Edit
- Click "New" → Add
C:\php - Click "OK" to save all changes
- Restart VSCode and Command Prompt
-
Test PATH:
php --version # Should work without specifying full path
- Open VSCode Settings:
Ctrl+, - Search for "php executable path" or "phpserver.phpPath"
- Edit
settings.jsonand add:
{
"php.validate.executablePath": "C:\\php\\php.exe",
"phpserver.phpPath": "C:\\php\\php.exe"
}- Save the file (
Ctrl+S) - Reload VSCode window:
Ctrl+Shift+P→ "Developer: Reload Window"
- In VSCode, right-click
index.php→ "PHP Server: Serve project" - Status bar should show:
http://localhost:3000 - Click the link to open in your browser
- The Acid Machine interface should load with synth controls and drum pads
- Test functionality:
- Click "Play" to loop 303 bass + drums
- Toggle pads for live grid plotting
- Open Output panel:
Ctrl+Shift+U - Select "PHP Server" or "PHP Language Server" from dropdown
- Look for error messages
If issues persist:
Ctrl+Shift+P→ "PHP Server: Reload server"
- Wrong PHP version: Ensure you're using Thread Safe (TS) version for Windows
- Antivirus/Firewall: Allow
php.exeif blocked - Project-specific settings: Add the JSON configuration to
.vscode/settings.jsonin your project root
If the extension fails, use the terminal method:
# In VSCode terminal
php -S localhost:8000
# Open browser to:
# http://localhost:8000/index.phpThis project is in active development with plans to add MIDI export functionality.
This project is a fork of the original Acid Machine and inherits its MIT License terms.
The MIT License allows free use, modification, and distribution of the software. For the full license text, see the LICENSE file.
Original Author: errozero (2015)
