SlopScore
00 crowd

Vocal

Vibe coded ai slop to use your voice as a midi instrument
Open repo on GitHubgithub.com/winterSteve25/Vocal
C# · ★ 1 · 0 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)media
listed 2 hours ago by winterSteve25 · last checked 2 hours ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-09-19: Vibe coded ai slop to use your voice as a midi instrument; its own README says "Vibe coded ai slop to use your voice as a midi instrument". 1 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as winterSteve25. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
Vibe coded ai slop to use your voice as a midi instrument
topics
midimusicvoice
created
2025-09-13 · pushed 2 months ago · 6 commits · 1 contributor
languages
C# 100%
paperwork
licensereadme 42% health
dependencies
no dependency graph (no manifest, or disabled) · OSV.dev, checked 2 hours ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
media
ai_generated
mostly
human_touch
light
status
works-on-my-machine
language (detected)
csharp
topic (detected)
midimusicvoice
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: Vibe coded ai slop to use your voice as a midi instrument; its own README says "Vibe coded ai slop to use your voice as a midi instrument". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README — the repo's own words, folded up so the grading fits on one screen

Vocal

A real-time vocal pitch detection application that converts your voice into MIDI signals. Sing, hum, or whistle into your microphone and watch as your voice is transformed into playable MIDI notes with visual feedback.

License .NET

Features

  • Real-time pitch detection using advanced signal processing algorithms
  • MIDI output via virtual MIDI device for use with any DAW or music software
  • Visual feedback with real-time note display and frequency information
  • Smart stabilization to prevent note flickering and false triggers
  • Loudness-based note triggering - only sends MIDI when you're actually singing
  • Low latency audio processing for responsive performance

How It Works

  1. Audio Capture: Records audio from your default microphone using NAudio
  2. Pitch Detection: Uses NWaves pitch extraction with autocorrelation algorithms
  3. Stabilization: Applies multiple filtering techniques to ensure stable note detection
  4. MIDI Generation: Converts detected pitches to MIDI note-on/note-off messages
  5. Visual Display: Shows current note, MIDI number, and frequency in real-time

Requirements

System Requirements

  • Windows 10/11 (for teVirtualMIDI driver)
  • .NET 9.0 Runtime
  • Audio input device (microphone)

Dependencies

  • NAudio - Audio capture and MIDI handling
  • NWaves - Digital signal processing and pitch extraction
  • Raylib-cs - Real-time graphics and window management
  • teVirtualMIDI - Virtual MIDI port creation

Installation

  1. Install teVirtualMIDI Driver

  2. Clone the Repository

    git clone https://github.com/winterSteve25/Vocal.git
    cd vocal
  3. Build the Project

    dotnet build
  4. Run the Application

    dotnet run

Usage

Getting Started

  1. Launch the application
  2. A virtual MIDI device named "Vocal" will be created
  3. Start singing, humming, or whistling into your microphone
  4. Watch the real-time note detection in the application window

Connecting to Music Software

The application creates a virtual MIDI device that appears as "Vocal" in your system. You can connect this to any MIDI-compatible software:

  • DAWs: Ableton Live, FL Studio, Logic Pro, Cubase, etc.
  • Virtual Instruments: Any VST/AU instrument or sampler
  • MIDI Utilities: MIDI monitoring tools, loopers, etc.

Controls

  • Close Window: ESC key or window close button
  • Audio Input: Automatically uses default microphone (configurable in code)

Configuration

Audio Settings

private const int SampleRate = 44100;      // Audio sample rate
private const float SampleTime = 0.05f;    // Processing buffer size (50ms)
private const int MinStableFrames = 15;    // Stability requirement

Pitch Detection Settings

var stabilizer = new StabilizedPitchDetector(
    historySize: 5,           // Number of previous samples to consider
    stabilityThreshold: 5.0,  // Frequency tolerance in Hz
    minStableFrames: 3,       // Frames needed for stable detection
    smoothingSize: 3          // Smoothing window size
);

Sensitivity Adjustment

var loudness = (int)(sbyte.MaxValue * MathF.Max(0, MathF.Min(Rms(block) / 0.1f, 1)));

Adjust the 0.1f value to change microphone sensitivity (lower = more sensitive).

Technical Details

Architecture

Microphone → NAudio → Circular Buffer → NWaves Pitch Extractor → 
Stabilization → MIDI Conversion → Virtual MIDI Device → Your DAW

Pitch Detection Algorithm

  • Uses autocorrelation for fundamental frequency detection
  • Applies Hamming windowing to reduce spectral leakage
  • Implements multi-stage stabilization:
    • Median filtering for noise reduction
    • Hysteresis to prevent rapid note changes
    • Majority voting from recent history
    • Confidence-based note switching

MIDI Implementation

  • Note Range: MIDI 0-127 (C-1 to G9)
  • Velocity: Based on input loudness/RMS level
  • Channel: 1 (configurable)
  • Polyphonic: Single note at a time (monophonic)

Troubleshooting

Common Issues

No MIDI Output

  • Ensure teVirtualMIDI driver is installed
  • Check that "Vocal" appears in your DAW's MIDI input list
  • Verify the application is running without errors

Poor Pitch Detection

  • Sing clearly and steadily
  • Reduce background noise
  • Adjust microphone sensitivity
  • Try singing in a comfortable vocal range (C3-C6)

Audio Issues

  • Check microphone permissions
  • Verify correct audio input device
  • Ensure microphone is not muted or too quiet

Performance Issues

  • Close unnecessary applications
  • Reduce buffer size if experiencing latency
  • Check CPU usage during operation

Debug Information

The application displays real-time information:

  • FPS: Rendering performance
  • Note Name: Current detected note (e.g., "A4")
  • MIDI Number: MIDI note value (0-127)
  • Frequency: Detected pitch in Hz

Development

Building from Source

git clone https://github.com/winterSteve25/Vocal.git
cd vocal
dotnet restore
dotnet build --configuration Release

Project Structure

Vocal/
├── Program.cs              # Main application logic
├── CircularArray.cs        # Audio buffer implementation
├── StabilizedPitchDetector.cs  # Pitch stabilization
├── MidiHelper.cs          # MIDI utility functions
├── Vocal.csproj           # Project configuration
└── README.md              # This file

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • NAudio - Excellent .NET audio library
  • NWaves - Comprehensive digital signal processing
  • Raylib - Simple and powerful graphics library
  • teVirtualMIDI - Essential for Windows MIDI routing
  • Tobias Erichsen - For the fantastic virtual MIDI driver

Related Projects


Happy Singing! 🎤✨

Read the rest on GitHub

Scan report · 2026-09-19
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review

0 comments

log in to comment.

report this listinglog in to report