-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have one question #1
Comments
xaxis = frequency
yanxis = frequency's value (=note)
(int)frequency = 8192 Variable is maximum value of Frequency mic input
usually piano's note range is between 27 and 4096 Hz, but FFT need double size (find google, imaginary number + real sound size)
(int)blockSize = 4096 Variable is xaxis
blockSize's element of array are result of process
if the phone is nearby the piano, 60(yanxis) is threshold
…-----Original Message-----
From: ***@***.***>
To: ***@***.***>;
Cc: ***@***.***>;
Sent: 2022-11-09 (수) 18:51:27 (GMT+09:00)
Subject: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question (Issue #1)
It isn't issue.
I want to know xaxis and yaxis value meaming
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thank you
…On Tue, Nov 15, 2022 at 8:03 AM sangsu.Park ***@***.***> wrote:
xaxis = frequency
yanxis = frequency's value (=note)
(int)frequency = 8192 Variable is maximum value of Frequency mic input
usually piano's note range is between 27 and 4096 Hz, but FFT need double
size (find google, imaginary number + real sound size)
(int)blockSize = 4096 Variable is xaxis
blockSize's element of array are result of process
if the phone is nearby the piano, 60(yanxis) is threshold
-----Original Message-----
From: ***@***.***>
To: ***@***.***>;
Cc: ***@***.***>;
Sent: 2022-11-09 (수) 18:51:27 (GMT+09:00)
Subject: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question
(Issue #1)
It isn't issue.
I want to know xaxis and yaxis value meaming
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A25AWWJJGH2QG2V74N6FBDDWILOPLANCNFSM6AAAAAAR3HTCYI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
<!--
/* Font Definitions */
@font-face
{font-family:Batang;
panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
***@***.***";
panose-1:2 3 6 0 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->How are you?I have one helpDo you know iOS library for FFT? Sent from Mail for Windows From: sangsu.ParkSent: Tuesday, November 15, 2022 8:03 AMTo: Const4nt0228/Android-FFT-Sound-RecognizerCc: Imsonyong; AuthorSubject: Re: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question (Issue #1) xaxis = frequencyyanxis = frequency's value (=note)(int)frequency = 8192 Variable is maximum value of Frequency mic inputusually piano's note range is between 27 and 4096 Hz, but FFT need double size (find google, imaginary number + real sound size)(int)blockSize = 4096 Variable is xaxisblockSize's element of array are result of processif the phone is nearby the piano, 60(yanxis) is threshold-----Original Message-----From: ***@***.***>To: ***@***.***>;Cc: ***@***.***>;Sent: 2022-11-09 (수) 18:51:27 (GMT+09:00)Subject: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question (Issue #1)It isn't issue.I want to know xaxis and yaxis value meaming—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
APPLE Developer have FFT API (check this : https://developer.apple.com/documentation/accelerate/fast_fourier_transforms) |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->Thank youDo you have iOS project about FFT?If you have, Could you share it?If so, I will be happy. 😊 Sent from Mail for Windows From: sangsu.ParkSent: Monday, November 28, 2022 2:08 PMTo: Const4nt0228/Android-FFT-Sound-RecognizerCc: Imsonyong; AuthorSubject: Re: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question (Issue #1) APPLE Developer have FFT API (check this : https://developer.apple.com/documentation/accelerate/fast_fourier_transforms)—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
im really sorry but ,, im not a iOS dev, so i don't have any iOS project. |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->Happy new year Sent from Mail for Windows From: sangsu.ParkSent: Monday, November 28, 2022 2:18 PMTo: Const4nt0228/Android-FFT-Sound-RecognizerCc: Imsonyong; AuthorSubject: Re: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question (Issue #1) im really sorry but ,, im not a iOS dev, so i don't have any iOS project.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
to get Note, Should I confirm if "i" is in above frequencies, If not, toTransform[0][i] is in above frequencies? if(toTransform[0][111]>99999){
........ correct? and, Do you have skype? |
안녕하세요
사진에 나온 표(Table)은 음계(scale)에 해당하는 주파수(frequency)를 나타내는 표입니다.
'toTransform[0][i]' array에서 i는 주파수를 의미합니다
toTransform[0][261] 일 경우는 261Hz를 의미합니다. 하지만 스마트폰(Galaxy S10) 마이크를 이용했을 때 정확히 261이 아닌 259, 260, 261 hz에서 value가 변동했으므로 임의로 추가했습니다.
이 문제는 스마트폰의 마이크 환경마다 다르게 나타날 것이므로 실제로 여러번의 테스트를 해 봐야 할 것으로 보입니다.
toTransform[0][261] 의 value는 해당 주파수의 강도(amplitude)이며 이는 소리의 크기를 의미하기도 합니다.
'55 , 15, 30, 20... means frequencies' value' 가 맞습니다
숫자가 각각 다른 이유는 실제 테스트 결과 어떤 note는 55이상에서 검출되고 또 어떤 note는 30 이상에서 검출되기 때문에
각각 여러번의 테스트를 통해 일치하는 부분에 직접 matched value를 입력했습니다.
+ + )
주파수에 대해 조금 더 설명해보자면
현재 코드에서는 0~4096 범위의 주파수만 측정하도록 되어있습니다.
'int blockSize =4096'이 주파수의 범위입니다.
'int frequency'가 8192 인 이유는 FFT를 수행할 때 'blockSize' 크기와 같은 허수(Imaginary number)를 배열에 합치기 때문입니다.
정확한 코드 표기는
int frequency = blockSize*2 가 맞습니다
RealDoubleFFT의 경우 별도의 계산 과정 없이 라이브러리에 넘겨주면 되며
JTransform 같은 경우는 허수(Imagenary Number)와 실수(Real Number)를 합쳐주는 별도의 계산을 수행해야 합니다.
…-----Original Message-----
From: ***@***.***>
To: ***@***.***>;
Cc: ***@***.***>; ***@***.***>;
Sent: 2023-05-26 (금) 16:45:07 (GMT+09:00)
Subject: Re: [Const4nt0228/Android-FFT-Sound-Recognizer] I have one question (Issue #1)
to get Note, Should I confirm if "i" is in above frequencies, If not, toTransform[0][i] is in above frequencies?
if(toTransform[0][111]>99999){
} else if(toTransform[0][259]>55 ||toTransform[0][260]>55 || toTransform[0][261]>55 ){ scale2 = "C4"; //도 } else if(toTransform[0][293]>15 || toTransform[0][292]>30 || toTransform[0][294]>20 || toTransform[0][295]>30 || toTransform[0][296]>30 ){ scale2 = "D4"; //레 }
........
this code means "i" is the frequency to get Note.
55 , 15, 30, 20... means frequencies' value.
correct?
and, Do you have skype?
live:.cid.577a933b152c41f9
it is my skype id.
I want to learn FFT in detail from you.
Please help me
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
It isn't issue.
I want to know xaxis and yaxis value meaming
The text was updated successfully, but these errors were encountered: