- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, i come across this project in this site http://www.fpga4fun.com/musicbox.html,
which creates a music box. I wan to implement them in DE1 board but i dun know how to use the audio parameters. is there any tutorial on this, or links? any help will be appreciated.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kwuaker,
hi. thank u for the file. nice tone, rudolf. 1 question though, what if i want to use the line out to the speaker instead of the GPIO pins? what needs to be adjusted? Also, if dun wan to use an mif files, is it still possible to run a tone? i know i ask a lot, just interested to know this things. thnx again- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the line out is connected to the wolfson audio codec chip. You would have to communicate with that chip to initialize it, and then generate the tones. This is a little more complicated though - if you're interested take a look at the DE1 synthesizer demo for tone generated music, or at the DE1 audio demo for playing PCM.
Using a mif file is not required, it's just to have some kind of ROM behavior. You can use even a big case switch to specify the tones to play, like in the MusicBox tutorial.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ kwuaker
hi. thanx again, learning a lot from ur project. i wan to learn more on how the rom, mif function and how it is created. trying to analyze ur mif file but struggling. really zero on this topic. i am still googling rom and mif tutorial, if u have anything, i am eager to learn this. thnx in advance. more power.
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