- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I would like to replicate the LUT (Look Up Table) process used in Altera's synthesizer demo. There is a list of notes, or tones that get loaded and sent to the audio codec. Below is an example of what I'm talking about. --- Quote Start --- /////////// note list /////////// always @(step) begin case (step) 0:TT=8'h1f; 1:TT=8'h1a; 2:TT=8'h97; 3:TT=8'hf6; 4:TT=8'h35; 5:TT=8'h84; 6:TT=8'h13; 7:TT=8'h12; 8:TT=8'h31; 9:TT=8'h85; 10:TT=8'h36; 11:TT=8'h86; 12:TT=8'h37; 13:TT=8'h87; 14:TT=8'h3a; 15:TT=8'h8a; 16:TT=8'h8a; 17:TT=8'h87; 18:TT=8'h86; 19:TT=8'h85; 20:TT=8'h95; 21:TT=8'hf4; 22:TT=8'h83; 23:TT=8'h8a; 24:TT=8'h8a; 25:TT=8'h87; . . . 53:TT=8'h83; 54:TT=8'h84; 55:TT=8'h13; 56:TT=8'h12; 57:TT=8'h21; 58:TT=8'h1f;//end endcase end assign step_r=58;///Total note --- Quote End --- Is there an application or such that can take a .wav file or .mp3 or other format and generate similar notes. Thanks in advance! -JordenLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i would start with a MIDI file of the song you're trying to load. wav and mp3 are stored audio samples while MIDI is essentially control data, much more similar to the note list you have here.
you will probably need to write some code to translate MIDI notes to verilog "notes".
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page