Skip to main content

An AI-powered podcast studio that uses multiple AI agents working together.

Project description

Neural Noise: Podcast Studio

Neural Noise banner

Neural Noise is an AI-powered podcast studio that uses multiple AI agents working together. These agents collaborate to analyze content, write scripts, and generate audio, creating high-quality podcast content with minimal human input. The team generates a script that the cast team (TTS of your choice) will then record.

Examples

Source Neural Noise NotebookLM

| BBC News article (TikTok owner sacks intern for sabotaging AI project ) | Listen to Neural Noise version | Listen to NotebookLM version | | BBC AI Podcast | Listen to Neural Noise version | Listen to NotebookLM version |

Objective

The main objective of Neural Noise is to create a Python package that simplifies the process of generating AI podcasts. It utilizes OpenAI for content analysis and script generation, ElevenLabs for high-quality text-to-speech conversion, and Streamlit for an intuitive user interface.

Features

  • Content analysis and script generation using OpenAI's language models
  • High-quality voice synthesis with ElevenLabs or OpenAI
  • Audio processing and manipulation with pydub
  • User-friendly interface built with Streamlit

Installation

To install Neural Noise, follow these steps:

  1. Install the package:

    pip install neuralnoise
    

    or from source:

    git clone https://github.com/leopiney/neuralnoise.git
    cd neuralnoise
    uv sync
    
  2. Set up your API keys:

    • Create a .env file in the project root

    • Add your OpenAI and ElevenLabs API keys:

      OPENAI_API_KEY=your_openai_api_key
      
      # Optional
      ELEVENLABS_API_KEY=your_elevenlabs_api_key
      

Usage

To run the Neural Noise application first make sure that you create a configuration file you want to use. There are examples in the config folder.

Then you can run the application with:

nn <url|filepath> --name <name> --config-path <config>

Want to edit the generated script?

The generated script and audio segments are saved in the output/<name> folder. To edit the script:

  1. Locate the JSON file in this folder containing all script segments and their text content.
  2. Make your desired changes to specific segments in the JSON file. Locate the "sections" and "segments" content in this file that you want to change, then feel free to edit the content of the segments you want to change.
  3. Run the same command as before (same name) to regenerate the podcast.

The application will regenerate the podcast, preserving unmodified segments and only processing the changed ones. This approach allows for efficient editing without regenerating the entire podcast from scratch.

Roadmap

  • Add local LLM provider. More generic LLM configuration. Leverage AutoGen for this.
  • Add local TTS provider
  • Add podcast generation format options: interview, narrative, etc.
  • Add more agent roles to the studio. For example, a "Content Curator" or "Content Researcher" that uses tools to find and curate content before being analyzed. Or a "Sponsor" agent that adds segways to ads in the podcast script (à la LTT).
  • Add music and sound effects options
  • Real-time podcast generation with human and AI collaboration (🤔)

Contributing

Contributions to Neural Noise are welcome! Please feel free to submit a Pull Request.

License

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

Related projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neuralnoise-0.3.0.tar.gz (13.5 kB view details)

Uploaded Source

File details

Details for the file neuralnoise-0.3.0.tar.gz.

File metadata

  • Download URL: neuralnoise-0.3.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.26

File hashes

Hashes for neuralnoise-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1d8039c1fa8c72c816989f82548441e8aeb62ada4695e6ef1b567ee08fe2f6a1
MD5 64fb96173fab8fb289846f5e8add746b
BLAKE2b-256 dbf8b3a5addb1f7ea7e164b475dbbba5a4c0baf7bd5f12008188ae5e0281b26b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page