documentation says to change boot/config.txt to allow use of given board. (dtoverlay=hifiberry-dacplus) but when save from vi or nano it says that the file is write only. but no sudo. what gives
12 comments
-
HiFiBerry team Are you talking about HiFiBerryOS? You don't need to edit the file on this.
-
Jjames3 yes, I guess I need to read more. I was following directions for "hifiberry software config". I have a DAC+ADC pro.
I tried ssh into root and gave the command:
"arecord -f cd -d 10 1; sleep 3; aplay 1" which resulted in:
Recording WAVE '1' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: main:830: audio open error: Device or resource busy
Analog input was disabled. I had opened an AirPlay channel from may Mac.
any suggestions
-
HiFiBerry team That means that some other process is already using the sound card. If you want to record audio (e.g. using arecord), HiFiBerryOS might not be the best choice and you might want to use Raspberry Pi OS instead as HiFiBerryOS is mainly built for music playback.
-
Jjames3 Does DAc+ADC pro also play. or are the RCA jacks only for monitoring input.
If I was to use ordinary Rasberian OS would it still hook up to the HifiBerry sound card automatically, if not how would I hook it up?
-
Jjames3 When I try to play "1" recorded above. I see the d1 diode glow red for about 10 sec. I do not hear any thing out of the RCA jacks on the DAC+ADC pro. Is this the way to hear it. Should I do set up some jumpers to hear it out the RCAs. Is there a more definitive documentation than the data sheet.
-
HiFiBerry team You might not have recorded something. You can simply play a test tone with sox:
https://www.hifiberry.com/docs/software/playing-test-sounds/ -
Jjames3 I am using hifiberryos. apt-get does not seem to be available. how do I install sox?
-
HiFiBerry team It's already installed. You can't install additional software on HiFiBerryOS.
-
Jjames3 that worked!
if I want to record from the analog input, the HiFiBerry instructions say:
"If you’re testing this with HiFiBerryOS, make sure that “Analogue input” is disabled."
can't I record from the analog input or just not from arecord?
-
HiFiBerry team HiFiBerryOS is not designed to record something. It's a music player distribution. While in general, arecord should also work, this hasn't been tested. If you want to use the DAC+ ADC for recording purposes a general-purpose distribution like Raspberry Pi OS is the better choice.
-
Jjames3 What software should I used to record with the normal Raspberry Pi OS?
-
HiFiBerry team Depends on what you want to do. From command line, arecord (check the manual page as there are MANY command line options) and sox will do the job. For a GUI, most people use Audacity