Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Producing polyphonic melodies with Pic??

Status
Not open for further replies.

Analyzer

Full Member level 6
Joined
Nov 18, 2001
Messages
374
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,518
bitscope wavepod

Hi there,

In my project i would like to use polyphonic sound alerts instead of using horrible buzzer.Well maybe you heard alert of cherokee jeeps when its doors are open or when lights are open+key is not located. (like Blimp! Blimp! Blimp!) Can i produce these sounds with a pic or something like filters/special ics'? I can't find any sources for this.Thanks.

Analyzer. :(
 

sum of terms

You should be able to describe your sound in musical terms converted into math. For instance, a sine wave with harmonics will simulate a musical instrument tone. Then multiply it by an amplitude function. Then combine several of these musical tones by summing them. Finally put the instantaneous amplitude into a DAC. I suspect that you will have ot use a real DAC to get decent musical tones. The PIC pwm method is very crude.
 

Hmm,

Thank you but is there any instant solution for my project? I can imagine, your solution is good but complicated.So please inform me if there is an instant ic for this.Thank you.

Analyzer.
 

past

Before the days of custom IC designs you could buy ready made music generators that could be programmed to sound like different instruments. Now you cannot.

You can generate the sould mathematically as described above and store the samples in a ROM for reading out to a DAC.
 

Hi,

I think i find the solution :

**broken link removed**
 

Hi flatulent

I found in Many messaging devices(telephone), they use Eprom (eg hoktel)to store music(digitally) and they play back,the out put using PWM techiq is there any software or device that converts Human voice or small song to digital form so that it can be programmed in to eprom..

Please give me some DOC or information ,Thanks

Regards
pro_ind
 

no info

I do not have personal knowledge of specific chips that use ROM readouts for sound.


They type of DAC will control the musical quality. If you are using a very small speaker, the PWM method will work. If you are using a larger speaker and are keen on music in general the real binary DAC will produce the least distortion and noise.
 

PIC

Hi

For ordinary waves you can check bitscope wavepod, and Harry have wav to eprom, you just take the wav file and pick the appropriate hex code. check here:

hxxp://w1.859.telia.com/~u85920178/

Continue here: Projects->EPROM circuits-> EPROM AF Gen and Wav 2 EPROM, (you see it on the left).

Do not know if this helps.

Good luck
 

you are luck ! i just finish a polyphonic piano from cypress psoc. i have attached the application note here. let me know if you have futher question.
 

Hi hwlee,

Thank you for your document, but can you publish full circuit diagram instead of block diagram please? Can i adapt these info to more common mcu's such as pics?
Thank you.

Analyzer
 

i get the circuit from cypress FAE. since the mcu contains the analog function i needed for the piano, i do not have to worry about the "whole" circuit. as a matter of fact, i only need to put serveral c and r onto the board.

i believe you can use pic or other general purpose mcu. what you need is those analog blocks containing in psoc.

let me try to find something helpful and get back to you latter, ok ?
 

Hi, Analyzer

are you trying to make a piano with good sound quality like a MIDI player or just a piano that can make sound (more like a toy) ?

hwlee
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top