3 posts / 0 new
Last post
Offline
Last seen: 3 months 2 weeks ago
Joined: June 27, 2017
Get recorded Audio (NAO)

Hello,

I have a follow up question to this old forum post https://community.ald.softbankrobotics.com/en/forum/get-audio-sound-6432 . I will repeat it here in the new forum now:

"""
I found this post here on how to access the raw (recorded audio) data remotely: https://stackoverflow.com/questions/24243757/nao-robot-remote-audio-prob...

What would be the alternative to access files recorded with the ALAudioRecorder? I did this:

import time
from naoqi import ALProxy
filename = "/home/nao/test.wav"
recorder = ALProxy("ALAudioRecorder", ip_address, 9559)
recorder.startMicrophonesRecording(filename, "wav", 48000, (0, 0, 1, 0))
time.sleep(2)
recorder.stopMicrophonesRecording()

As fas as I understand files can only be stored at NAOs filesystem directly and not on my laptop. How can I access the files there? I would like to analyse the recorded wav file, e.g. with the help of scipy.io.wave.read(filename).
"""

Thanks in advance for your help!
Elke

Offline
Last seen: 1 day 13 hours ago
Joined: March 5, 2017

You want to connect via ftp, I use filezilla. Make sure you connect to port 22, search for the ./local folders for the file as specified.

Offline
Last seen: 3 months 2 weeks ago
Joined: June 27, 2017

Works perfectly, thank you very much for the fast answer!