how to create perfect 10 dB sound using matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
PRIYANK SHAH
am 17 Sep. 2011
Kommentiert: Mustafa Samanci
am 18 Apr. 2019
Is this possible to measure sound level (db) of generated sound signal using matlab ? i have sent sound signal sound card .. but i dont know how to measure it or how to save that data for ploting nd convert it into dB? nd how to measure or create exact sound signal in dB?
6 Kommentare
Daniel Shub
am 23 Sep. 2011
Maybe he doesn't mean sound, maybe he wants something that is 10 dB re 1V or 10 dB re some MATLAB unit.
Akzeptierte Antwort
Walter Roberson
am 19 Sep. 2011
You cannot do this without either (A) a lot of information about the amplifier circuit and the speaker, or else (B) a calibrated microphone whose signal you are reading in and using to adjust the values of your output.
The output to your sound card is just going to be a bunch of digital bits. The output of your sound card is just going to be an analog voltage signal with a fairly nominal power level such as 0.3V peak to peak.
Neither the bits nor the output voltage are going to be sound waves: you need at least a speaker for that, and fairly likely an amplifier to reach 10 dB.
Recall, though, that amplifiers and speakers almost never have "flat" response to all frequencies, so you are probably going to have to pick a frequency and work with it -- unless, that is, your 10 dB should refer to the total Sound Pressure Level, and even then there isn't much point emitting frequencies that are going to break the speaker or get cut off by the safeties built in to the speakers.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!