Skip to content

ircam-ismm/web-audio-api-rtlsdr-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-audio-api-rs | RTL-SRD Source

work in progress

Goal: Provide a stream from the rtl-sdr that can be piped into an audio graph using a MediaStreamSourceNode

Use https://github.com/adamgreig/rtlsdr-rs or eventually fork it to clean the repo structure

Next steps:

  • have C lib as submodule
  • use build script to build the C lib and link it properly
  • have it work without warning

Create a RtlSdrStream that have stream attribute

@note

  • we will somehow need to expose the NapiMediaStream from 'node-web-audio-api' to create the JS properly

Mac

brew install cmake
brew install libusb libusb-compat # don't know which one...

Issue locating libusb by CMake

Build librtlsdr \o/

mkdir build && cmake -DLIBUSB_INCLUDE_DIR=/opt/homebrew/include/libusb-1.0/ -DLIBUSB_LIBRARY_DIRS=/opt/homebrew/lib/ -S . -B build && cd build && make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages