'잡동사니'에 해당되는 글 13872건

  1. 2023.04.03 외근 야근
  2. 2023.04.02 벚꽃구경
  3. 2023.04.01 만우절
  4. 2023.03.31 chart.js log 스케일
  5. 2023.03.31 fftw plan
  6. 2023.03.30 libfftw3 precision
  7. 2023.03.30 리눅스 커맨드 라인에서 몇줄씩 건너뛰고 출력하기
  8. 2023.03.30 탄핵으로도 부족한 만행
  9. 2023.03.29 티스토리 로고변경 4
  10. 2023.03.29 spectrogram

어우.. 일찍 끝날줄 알았는데 맨날 늦게 끝나 ㅠㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

도그도그  (0) 2023.04.18
대략 빡침  (0) 2023.04.13
리듬.깨짐  (0) 2023.03.26
외근 외근.야근  (0) 2023.03.21
언제나 피곤  (0) 2023.03.12
Posted by 구차니

우리동네 앞이 가장 좋네

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

청소조금  (0) 2023.04.08
수의사 처방제 확대시행  (0) 2023.04.05
심장 사상충약 투약!  (0) 2023.03.17
노랫만에 한강 나들이  (0) 2023.02.26
버섯탕수욕 마이쪙!  (0) 2023.02.25
Posted by 구차니

거짓말을 용납할 수 없는 각박한 세상이 되어가는 느낌

Posted by 구차니
Programming/web 관련2023. 3. 31. 12:15

'Programming > web 관련' 카테고리의 다른 글

Canvas2D: Multiple readback operations using getImageData  (0) 2023.07.24
webGPU  (0) 2023.05.18
chatGPT님 가라사대 Server-Sent Events (SSE)  (0) 2023.03.15
JWT 로그인 예제  (0) 2022.08.24
quirks mode  (0) 2022.08.08
Posted by 구차니

fftw를 이용하여 fft 연산을 하려고 하면

fft_plan_dft*() 함수로 plan을 만들고 (이 과정에서 input, output 포인터 지정)

fftw_execute() 함수로 fft 연산을 한다.

 

fft_plan_dft_*() 함수만 해도 수행에 꽤 시간이 걸리는 관계로

포인터를 바꾸어서 다시 할당할게 아니라.. 메모리 복사를 한번 더 하고

plan에 지정된 포인터를 재사용 하는게 cpu 점유율을 낮추는 방법이 될 것 같다.

 

Plans for all transform types in FFTW are stored as type fftw_plan (an opaque pointer type), and are created by one of the various planning routines described in the following sections. An fftw_plan contains all information necessary to compute the transform, including the pointers to the input and output arrays.

[링크 : https://www.fftw.org/fftw3_doc/Using-Plans.html]

'프로그램 사용 > fft, fftw' 카테고리의 다른 글

fft 0 Hz  (2) 2023.04.05
partial fft  (0) 2023.04.04
libfftw3 precision  (0) 2023.03.30
spectrogram  (0) 2023.03.29
fft 분석 패러미터  (0) 2023.03.29
Posted by 구차니

libfftw3 만 있는 줄 알았는데 yocto에서 이상한(?) l d 이런 붙는게 있다고 해서 찾아보니

double / long / quad / single 이라는 이상한(?) 정밀도가 존재한다.

$ apt-cache search libfftw*
libfftw3-double3 - Fast Fourier Transforms 계산용 라이브러리 - 이중 정밀도
libfftw3-long3 - Library for computing Fast Fourier Transforms - Long precision
libfftw3-quad3 - Library for computing Fast Fourier Transforms - Quad precision
libfftw3-single3 - Library for computing Fast Fourier Transforms - Single precision
libfftw3-bin - Library for computing Fast Fourier Transforms - Tools
libfftw3-dbg - Library for computing Fast Fourier Transforms - debug symbols
libfftw3-dev - Library for computing Fast Fourier Transforms - development
libfftw3-doc - Documentation for fftw version 3
libfftw3-3 - Fast Fourier Transforms 계산용 라이브러리
libfftw3-mpi-dev - MPI Library for computing Fast Fourier Transforms - development
libfftw3-mpi3 - MPI Library for computing Fast Fourier Transforms
libgnuradio-fft3.7.11 - gnuradio fast Fourier transform functions
sndfile-tools - Collection of programs for operating on sound files

 

Link to the single/long-double libraries; on Unix, -lfftw3f or -lfftw3l instead of (or in addition to) -lfftw3. (You can link to the different-precision libraries simultaneously.)
Include the same <fftw3.h> header file.
Replace all lowercase instances of ‘fftw_’ with ‘fftwf_’ or ‘fftwl_’ for single or long-double precision, respectively. (fftw_complex becomes fftwf_complex, fftw_execute becomes fftwf_execute, etcetera.)
Uppercase names, i.e. names beginning with ‘FFTW_’, remain the same.
Replace double with float or long double for subroutine parameters.

[링크 : https://www.fftw.org/fftw3_doc/Precision.html]

'프로그램 사용 > fft, fftw' 카테고리의 다른 글

partial fft  (0) 2023.04.04
fftw plan  (0) 2023.03.31
spectrogram  (0) 2023.03.29
fft 분석 패러미터  (0) 2023.03.29
FFT 윈도우, 오버랩  (0) 2023.03.23
Posted by 구차니
Linux2023. 3. 30. 10:12

라인단위로 저장되어 있는 파일이 길 경우

엑셀등의 파일에서 읽어들여 그래프 그리려고 하면 힘든데

일부만 추려내서 뽑으려고 할때 사용하려고 찾는 중

 

awk랑 sed로도 가능하다고

다만, n 번째가 클 경우 awk가 유리하다.

$ awk '!(NR%3)' file
$ sed -n 'n;n;p;' file

[링크 : http://underpop.online.fr/u/unix-school/guru-prasad/how-to-print-every-nth-line-in-file-in.htm]

'Linux' 카테고리의 다른 글

lvmcache bcache  (0) 2023.07.27
sysfs ethernet link status  (0) 2023.05.17
bash completion  (0) 2023.03.27
리눅스 키보드로 강제 종료하기  (0) 2023.03.10
shopt nohup  (0) 2023.01.27
Posted by 구차니

 

尹대통령 "후쿠시마 오염수 방류, 한국 국민에게 이해 구하겠다"

[링크 : https://v.daum.net/v/20230330073606295]

 

대통령실 "후쿠시마산 수산물이 국내 들어올 일 결코 없을 것"

[링크 : https://v.daum.net/v/20230330100713077]

 

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

mpox  (0) 2023.04.09
만우절  (0) 2023.04.01
성숙한 국민의식…'친일몰이'에도 윤대통령 지지율 1%p 상승  (0) 2023.03.24
3.1절  (0) 2023.03.01
외근이.잦아..  (0) 2023.02.28
Posted by 구차니
개소리 왈왈/블로그2023. 3. 29. 23:52

대문자에서 소문자로 바뀌었다?

 

[링크 : https://t1.daumcdn.net/tistory_admin/static/top/pc/img_common_tistory_230106.png]

'개소리 왈왈 > 블로그' 카테고리의 다른 글

도메인 결제  (0) 2023.06.02
블로그 방문자 수  (2) 2023.05.08
이글루스 서비스 종료 공지  (2) 2023.03.14
해피빈 기부  (0) 2023.02.17
티스토리 약관 개정.. 이것 봐라?  (0) 2023.01.04
Posted by 구차니

rtl-sdr에서 gqrx나 airspy sdr# 에서 처럼

주파수에 대한 그래프를 시간축으로 그리는 걸 spectrogram 이라고 하는 듯

 

[링크 : https://blog.freifunk.net/2017/06/26/choosing-spectrogram-visualization-library-javascript/]

[링크 : https://www.arc.id.au/Spectrogram.html]

 

에러 발생

[링크 : https://github.com/sebleier/spectrogram.js]

 

speccy - 오디오 초기화 문제 발생(linux google-chrome, firefox)

[링크 : https://github.com/drandrewthomas/Speccy]

 

+

정책 변경, deprecated로 인해서 먼가 손을 대긴 해야 할 듯

[링크 : https://sxbxn.tistory.com/12]

[링크 : https://developer.chrome.com/blog/autoplay/#webaudio]

'프로그램 사용 > fft, fftw' 카테고리의 다른 글

fftw plan  (0) 2023.03.31
libfftw3 precision  (0) 2023.03.30
fft 분석 패러미터  (0) 2023.03.29
FFT 윈도우, 오버랩  (0) 2023.03.23
cabs()  (0) 2023.02.15
Posted by 구차니