GNU Radioで音声の リアルタイム変換したいけど まだうまくいってない
by
takurx
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
GNU RadioͰԻͷ ϦΞϧλΠϜม͍͚ͨ͠Ͳ ·ͩ͏·͍ͬͯ͘ͳ͍ தˏtakuzirra 2018/04/14(Sat.) Open Source UN-Conference 2018 Kawagoe
Slide 2
Slide 2 text
͓લ୭Αʁ • @takuzirra • https://twitter.com/takuzirra • ΈࠐΈΤϯδχΞͷͭΓ͕ͩͬͨɺ • ࠷ۙஔͷςετΛͨ͠Γɺ • VBAΛॻ͍ͨΓɺKiCADͰج൘࡞ͨ͠Γɺ • DjangoΛษڧͨ͠ΓɺGNU RadioͰ༡ΜͩΓ͍ͯ͠Δ ͍;Γܶ൛ͬͨʔʂ དྷिͷٕज़ॻయ͜Ε͔Β
Slide 3
Slide 3 text
ಈػᶃ • ԻͷϦΞϧλΠϜ߹ͷͷهࣄΛΈͨͷͱ • Ի߹γεςϜWORLDͰԻΛมͯ͠Έͨͱ͍͏Λฉ͍ͯɺ GNU Radioͱ߹ΘͤΕϦΞϧλΠϜมͰ͖ΔΜ͡Όͳ͍͔ͱࢥ͍ɺ ͬͯΈͨͱ͜Ζ https://news.mynavi.jp/article/20180208-582470/ https://qiita.com/ohtaman/items/84426cee09c2ba4abc22
Slide 4
Slide 4 text
LTͷωλ͕ࢥ͍͔ͭͳ ͔ͬͨͷͰɺԻͷϦ ΞϧλΠϜมΛࢼ͠ ͡Ίͨ ಈػᶄ ϑΟϧλΛ͔͚Δ͙Β͍ͳΒ؆୯ʹͰ͖ΔͷͰͳ͍͔ͱࢥ͍
Slide 5
Slide 5 text
GNU Radioʹ͍ͭͯ • ιϑτΣΞແઢͷΦʔϓϯιʔειϑτΣΞ • ϚΠΫͰԻ͔ΒRFϑϩϯτΤϯυͰߴपʢʙ6GHzʣ ·Ͱ৴߸Λऔಘͯ͠ɺFFTͨ͠ΓɺσίʔυͰ͖ͨΓ͢Δ • FM/AMϥδΦ͔ΒWiFi, Bluetooth, Zigbee, LoRa, GNSS ͳͲͳͲ……
Slide 6
Slide 6 text
Πϯετʔϧ • $ sudo apt-get install gnuradio //on Ubuntu • $ sudo apt-get install gr-osmosdr //֤RFϑϩϯτΤϯυ ରԠͨ͠ϒϩοΫΛՃ͢ΔͨΊ • ιʔε͔ΒΠϯετʔϧ͢Δ߹ɺsbracͰ͞Εͯ ͍ΔϓϩάϥϜΛ͏ͱศར
Slide 7
Slide 7 text
αϯϓϦϯάͯ͠ग़ྗ • ͔ͨ͠͠Β͔ͨ͠͠Β͜ΕͰͯ͢͏·͍ͬͯ͘͠· ͏ͷͰͳ͍͔ͱࢥ͕ͬͨɺͦΜͳ͜ͱͳ͔ͬͨɻΑ ͘Θ͔Βͳ͍ϊΠζ͕ͷ͍ͬͯΔ
Slide 8
Slide 8 text
FFTͯ͠ΈΔ • ܗ͕ʹԠ͍ͯ͠ΔͷͰɺϚΠΫೝࣝͯͦ͠͏ͩ
Slide 9
Slide 9 text
FFTͨ͠ܗ
Slide 10
Slide 10 text
ϩʔύεϑΟϧλ͕ඞཁʁ • ͷपʹ߹ΘͤΔ ɻ 500Hz͙Β͍ʁͲΕ͙Β͍ͷप ʹ߹ΘͤΔ͔ߟ͑Δඞཁ͕͋Δ
Slide 11
Slide 11 text
ϩʔύεϑΟϧλͨ͠ܗ • 4kHzͰϑΟϧλͯ͠ΈͨɻϑΟϧλͰ͖ͯͦ͏ͩɻ͔͠͠Իಉ͡ɻͬͱԼͷपʁ
Slide 12
Slide 12 text
ϑΝΠϧอଘ • ετϦʔϛϯάෆ۩߹ղੳ͠ʹ͍͘ͷͰɺϑΝΠϧอଘ ʹཱͪฦΔ
Slide 13
Slide 13 text
ϑΝΠϧ࠶ੜ • ϑΝΠϧ͔ΒͷಡΈग़͠ɺ৴߸ͷఆٛͱͯ͠ɺ Throttle͕͍ΔͬΆ͍
Slide 14
Slide 14 text
ࠓޙͷలʢ࣍ճ༧ࠂʢԾʣ ʣ • ϩʔύεϑΟϧλͰ͖ͨˡਓͷͷҧ͍ͬͯ୯७ͳϑΟ ϧλͰͳͦ͞͏͚ͩͲɺͲ͏ҧ͏ͷʁˡௐΔ • ϑΝΠϧอଘʗ࠶ੜ֬ೝͰ͖ͨ • Λߴͨ͘͠Γɺͨ͘͠Γ͍ͨ͠ • python blockʹͷมϥΠϒϥϦΛຒΊࠐΈ͍ͨ • ະདྷͲͬͪͩʗ࣍ճ࡞ʹ͝ظ͍ͩ͘͞