Skip to content

mark-renker/transient_shaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Transient Shaper

This project implements a real-time audio transient shaper for Tiny Tapeout. It enhances or reduces the attack and sustain portions of audio signals using envelope-based processing.

How it works

The transient shaper processes audio in real-time by:

  1. Dual Envelope Detection: Uses separate fast and slow envelope followers to track signal dynamics
  2. Attack Enhancement: Boosts the initial transient portion of audio signals when enabled
  3. Sustain Modulation: Separately controls the sustained portion of the signal
  4. Real-time Processing: Operates at 24MHz for low-latency audio processing

Interface

  • Input: 6-bit audio input + 2 control bits (attack enable, sustain enable)
  • Output: 8-bit processed audio output
  • Clock: 24MHz
  • Reset: Active-low asynchronous reset

Pin Configuration

  • ui_in[5:0]: Audio input (6-bit unsigned)
  • ui_in[6]: Sustain amount control
  • ui_in[7]: Attack amount control
  • uo_out[7:0]: Processed audio output (8-bit)

Testing

The design includes comprehensive testbenches for simulation. Run tests with:

cd test
make

What is Tiny Tapeout?

Tiny Tapeout is an educational project that aims to make it easier and cheaper than ever to get your digital and analog designs manufactured on a real chip.

To learn more and get started, visit https://tinytapeout.com.

Technical Details

  • Platform: Tiny Tapeout (digital ASIC)
  • Tile size: 1
  • Technology: SKY130
  • Clock frequency: 24MHz
  • Signal path: All-digital processing

Resources

Author

Mark Renker

License

Licensed under Apache-2.0

About

Audio Transient Shaper - Real-time transient enhancement/reduction by envelope modulation for Tiny Tapeout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors