Covert voice to binary?

조회 수: 4 (최근 30일)
Radwa
Radwa 2015년 2월 3일
편집: Radwa 2015년 2월 5일
I want to decrease the sampling point in record voice in .mov program and also I want to convert to binary vector or hexadecimal .
I use this fid = fopen('Recording.mov', 'r'); if fid == -1, error('Cannot open file'); end data = fread(fid, Inf, '*uint8') fclose(fid);
But I want to decrease sampling rate ( I have DSP toolbox ), and also I want It in binary format or hexa . and this order make loss in a lot of data datahex = sprintf('%02x', data)
  댓글 수: 2
Andreas Goser
Andreas Goser 2015년 2월 3일
And your questionn is?
Radwa
Radwa 2015년 2월 4일
to convert record voice to hexadecimal vector

댓글을 달려면 로그인하십시오.

답변 (2개)

Youssef  Khmou
Youssef Khmou 2015년 2월 4일
see :
dec2hex(value)
the value must be decimal and positive, or at least floor(value).

Jan
Jan 2015년 2월 4일
The question is not clear. What exactly is "voice"? Did you record it already and in which format is it saved? What kind of transformation are you thinking of? It is impossible to guess, what you want to do based on "voice" and "981ba682" only. So please take the chance to edit the question and insert more details.

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by