FFmpeg
|
Go to the source code of this file.
Functions | |
sound (x3, Fs) = wavread(hfile) | |
wavwrite (y, Fs3,'__RealRhodesSounds_D4.wav') | |
id | binremainder: (id binremainder) |
main | lobe (real value) bins to read%lmag |
lobe magnitudes figure | plot (lmag) |
plot (y) | |
figure | plot (y1) |
wavwrite (y, Fs3,'fugue1.wav') | |
wavwrite (y, Fs3,'female1.wav') | |
wavwrite (y, Fs3,'piano1.wav') | |
Variables | |
clear all Piano sound | hfile = '4192__RealRhodesSounds__D4.wav' |
y = sinemodel_(x3, hamming(513)', 1024, 100,-35) | |
Compute the magnitude values on the to of the main lobe | loc =0 |
mag =0 | |
binremainder = round(loc)-loc | |
Compute a spectrum of size N from a series of sinusoidal values | Y = genspecsines([10.3, 20.6, 30.9], [-10, -13, -16], [0, 0, 0], 1024) |
the sinusoids | Y1 = (-10)*exp(1*i) |
y1 =ifft(Y1) | |
Y2 = (-13)*exp(1*i) | |
y2 =fftshift(real(ifft(Y2))) | |
Y3 = (-16)*exp(1*i) | |
y3 =fftshift(real(ifft(Y3))) | |
add the sinusoids in the time domain | ytime = y1+y2+y3 |
Function Documentation
main lobe | ( | real | value | ) |
plot | ( | y | ) |
wavwrite | ( | y | , |
Fs3 | , | ||
'__RealRhodesSounds_D4.wav' | |||
) |
wavwrite | ( | y | , |
Fs3 | , | ||
'fugue1.wav' | |||
) |
wavwrite | ( | y | , |
Fs3 | , | ||
'female1.wav' | |||
) |
wavwrite | ( | y | , |
Fs3 | , | ||
'piano1.wav' | |||
) |
Variable Documentation
mag =0 |
Definition at line 14 of file lab5.m.
Referenced by dca_parse_audio_coding_header(), vorbis_encode_frame(), and vorbis_parse_audio_packet().
y1 =ifft(Y1) |
Definition at line 33 of file lab5.m.
Referenced by decode_dvd_subtitles(), decode_frame(), draw_glyphs(), draw_mandelbrot(), encode_422_bitstream(), ff_ass_split_override_codes(), ff_j2k_init_component(), ff_mpeg4_encode_mb(), ff_rtjpeg_decode_frame_yuv420(), ff_vorbis_floor1_render_list(), filter(), find_smallest_bounding_rectangle(), gen_image(), get_block_rd(), gif_read_image(), init_noise(), make_glyphs(), sbr_hf_apply_noise(), srt_decode_frame(), srt_read_header(), srt_write_packet(), and video_audio_display().
Definition at line 33 of file lab5.m.
Referenced by decode_frame(), ff_yuv2packedX_altivec(), ulti_pattern(), yuv2422_1_c_template(), yuv2422_2_c_template(), yuv2422_X_c_template(), yuv2mono_X_c_template(), yuv2rgb48_1_c_template(), yuv2rgb48_2_c_template(), yuv2rgb48_X_c_template(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_write(), and yuv2rgb_X_c_template().
Definition at line 34 of file lab5.m.
Referenced by decode_frame(), yuv2422_1_c_template(), yuv2422_2_c_template(), yuv2422_X_c_template(), yuv2mono_X_c_template(), yuv2rgb48_1_c_template(), yuv2rgb48_2_c_template(), yuv2rgb48_X_c_template(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_write(), and yuv2rgb_X_c_template().
y2 =fftshift(real(ifft(Y2))) |
Definition at line 34 of file lab5.m.
Referenced by blur_image(), cinepak_decode_vectors(), decode_dvd_subtitles(), decode_frame(), decode_i2_frame(), encode_dvd_subtitles(), ff_ass_split_override_codes(), ff_rtjpeg_decode_frame_yuv420(), find_smallest_bounding_rectangle(), get_4block_rd(), get_dc(), get_visual_weight(), sad_hpel_motion_search(), srt_decode_frame(), srt_read_header(), srt_write_packet(), and umh_search().
y3 =fftshift(real(ifft(Y3))) |
Definition at line 35 of file lab5.m.
Referenced by decode_frame().
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11