- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
Anybody can give me a simple example of how to generate simple tone/sound on DE1 board? Many thanks!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
up!!!!!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What shockinglyhockley meant was that there's another post about this topic :-)
That said, it depends what you want to do. Easiest way would be to create a square-wave that's nothing more than a counter that counts at a specified frequency and inverts the output signal, which you can directly (given the proper precautions!) hook up to a speaker. Alternatively, use a ROM and use the same counter to index into said ROM and pull samples out which you can then output on a DAC or PWM generator. -Mux
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