If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Semitone Spectrogram
12 posts
• Page 2 of 2 • 1, 2
Re: Semitone Spectrogram
Refer to Wikipedia's article on heterodyne. Basically what I do is the following;
1. For each note generate sine(wt) and cosine(wt) with the corresponding angular frequency w.
2. Multiply the input with sine and cosine, respectively.
3. Lowpass-filter products to remove the sum frequency and keep only the difference frequency components, call them x and y.
4. Evalueate x^2 + y^2 to get the squared amplitude of that semitone. Assumption is that within the semitone frequency band only one sinusoid is present else you get beats.
Note that in contrast to straight bandpass-filtering the input, with heterodyning you eliminate the need for an envelope follower.
1. For each note generate sine(wt) and cosine(wt) with the corresponding angular frequency w.
2. Multiply the input with sine and cosine, respectively.
3. Lowpass-filter products to remove the sum frequency and keep only the difference frequency components, call them x and y.
4. Evalueate x^2 + y^2 to get the squared amplitude of that semitone. Assumption is that within the semitone frequency band only one sinusoid is present else you get beats.
Note that in contrast to straight bandpass-filtering the input, with heterodyning you eliminate the need for an envelope follower.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Semitone Spectrogram
Huge work as usual martin...
- francoisreme
- Posts: 29
- Joined: Wed Feb 15, 2017 4:01 pm
12 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 29 guests