The Digital Musical Note Timer is a Logisim-based digital electronics project designed to simulate the timing and sequencing of musical notes using basic digital components such as counters, ROM, comparators, and shift registers.
This project demonstrates how musical note activation can be controlled entirely through digital logic, with each note having a configurable offset (start time) and duration (how long the note plays).
It also incorporates a 10-stage ring counter (built using a shift register) that sequentially activates notes across 10 time slots β simulating a digital rhythm or melody pattern.
This section manages the precise activation period of each musical note.
- A binary counter continuously increments with the system clock, representing elapsed time.
- The offset and duration inputs (each 4-bit) are user-defined.
- A ROM translates these binary values into corresponding time intervals (e.g., 0β1000 ms).
- Two comparators check:
- When the counter value equals the offset β note starts playing
- When the counter exceeds offset + duration β note stops
- The output stays HIGH for the specified duration, lighting up an LED (or triggering a buzzer tone).
To simulate multiple timed notes, the system employs a 10-stage shift register configured as a ring counter.
- The first stage receives a logic
1and circulates it through all 10 stages. - Each stage corresponds to one time slot (e.g., 1 second per stage).
- The ring counterβs output passes through a NOT gate and is combined with the timing logic through an AND gate.
- A third comparator ensures that note activation aligns with the current stage and user-defined timing parameters.
- This setup enables 4 parallel note channels, each capable of playing independently with their own offset, duration, and timing pattern.
| Component | Function |
|---|---|
| 4-bit Binary Counter | Generates time progression |
| ROM | Converts 4-bit offset and duration inputs into time intervals |
| Comparators (3 total) | Compare counter values with time intervals |
| Shift Register (10-stage) | Acts as a ring counter to sequence time slots |
| Logic Gates (AND, NOR, NOT) | Combine and control activation signals |
| LEDs (4 total) | Represent musical notes visually |
| Clock Pulse Generator | Provides the system timing base |
- The counter begins incrementing from zero.
- The ring counter advances the active stage every clock pulse.
- The ROM outputs the corresponding offset and duration values for each note.
- The comparators detect when the counter matches these time ranges.
- The AND gate combines the comparator outputs and the ring counter signal.
- The resulting signal lights up the LED, representing an active note.
- Practical understanding of sequential and combinational logic design.
- Implementation of timing control using counters and comparators.
- Use of ROM for mapping digital inputs to time values.
- Application of ring counters for sequence generation.
- Integration of multiple digital subsystems into a functional design.
- 4 independent note outputs
- 10 time slots controlled by a ring counter
- Adjustable offset and duration for each note
- Modular and scalable architecture
- Fully designed in Logisim
- Connect tone generators or buzzers to produce actual sounds.
- Implement microcontroller integration for programmable note patterns.
- Add variable clock frequency control for tempo adjustment.
- Display active note and timing info on a 7-segment display or LCD.
- Software: Logisim Evolution
- Language: Digital Logic Design
- Simulation Type: Sequential Circuit Simulation