What I want do do is transfer DAB+ by HackRF One,in the virtual machine.
I used:
./toolame -b 128 prog1.wav prog1.mp2
dabplus-enc -i prog2.wav -b 88 -o prog2.dabp
(edit 2programmes.mux)
odr-dabmux 2programmes.mux
firstly,I don't know if the .mp2 file is useful for DAB+.And if there is no mp2,can the .efi file be created?
secondly,i get the "myfirst.efi",want to creat the .iq file.
hackrf@ubuntu:~$ odr-dabmod myfirst.eti -f myfirst.iq ODR-DabMod version v0.6.0
Compiled with features: zeromq
Input
Type: file
Source: myfirst.eti
Output
Sampling rate: 2.048 MHz
WARN No Remote-Control started
Starting up version v0.6.0
Input file format: raw
Input file length: 30726144
Input file nb frames: 5001
ERROR Could not set priority for modulator:1
Setting up timestamp decoder with 0 offset
ERROR Could not initialise TII: TII::TII DAB mode 0 not valid!
No resampler
Process time:
InputMemory: 6406 us (0.07 %)
DabModulator: 5771599 us (59.72 %)
OutputFile: 3886973 us (40.22 %)
total: 9664978 us (100.00 %)
Process time:
PrbsGenerator: 261275 us (4.66 %)
FicSource: 1765 us (0.03 %)
PrbsGenerator: 9817 us (0.18 %)
ConvEncoder: 21835 us (0.39 %)
PuncturingEncoder: 23873 us (0.43 %)
SubchannelSource: 1735 us (0.03 %)
PrbsGenerator: 20143 us (0.36 %)
ConvEncoder: 78988 us (1.41 %)
PuncturingEncoder: 65433 us (1.17 %)
TimeInterleaver: 51136 us (0.91 %)
SubchannelSource: 1410 us (0.03 %)
PrbsGenerator: 15414 us (0.28 %)
ConvEncoder: 53688 us (0.96 %)
PuncturingEncoder: 65592 us (1.17 %)
TimeInterleaver: 102599 us (1.83 %)
FrameMultiplexer: 6299 us (0.11 %)
BlockPartitioner: 5918 us (0.11 %)
QpskSymbolMapper: 149209 us (2.66 %)
FrequencyInterleaver: 314395 us (5.61 %)
PhaseReference: 3235 us (0.06 %)
DifferentialModulator: 1709244 us (30.51 %)
NullSymbol: 2800 us (0.05 %)
SignalMultiplexer: 116851 us (2.09 %)
OfdmGenerator: 580042 us (10.35 %)
GainControl: 1528952 us (27.29 %)
GuardIntervalInserter: 207977 us (3.71 %)
OutputMemory: 202871 us (3.62 %)
total: 5602496 us (100.00 %)
Closing input file...
End of file reached.
modulator stopped.
5001 DAB frames encoded
120.024 seconds encoded
Terminating
and the "5.1.2 Modulation of ETI for Offline Processing" seems to be used for USRP,so I don't if HackRF One can trensfer the .ip file.
Thirdly,in the "5.2.2 Other Hardware"
I used:
mkfifo /tmp/ofdm.fifo
odr-dabmod mod.ini & hackrf_transfer -t /tmp/ofdm.fifo -f 216928000 -x 47 -a 1 -s 4096000 -b 1750000
And i get:
hackrf@ubuntu:~$ odr-dabmod mod.ini & hackrf_transfer -t /tmp/ofdm.fifo -f 216928000 -x 47 -a 1 -s 4096000 -b 1750000
[1] 27648
ODR-DabMod version v0.6.0
Compiled with features: zeromq
Input
Type: file
Source: myfirst.eti
Output
Name: /tmp/ofdm.fifo
Sampling rate: 4.096 MHz
Starting up version v0.6.0
Input file format: raw
Input file length: 30726144
Input file nb frames: 5001
ERROR Could not set priority for modulator:1
Setting up timestamp decoder with 0 offset
ERROR Could not initialise TII: TII::TII DAB mode 0 not valid!
call hackrf_sample_rate_set(4096000 Hz/4.096 MHz)
call hackrf_baseband_filter_bandwidth_set(1750000 Hz/1.750 MHz)
call hackrf_set_freq(216928000 Hz/216.928 MHz)
call hackrf_set_amp_enable(1)
Stop with Ctrl-C
FIRFilter: Reading 45 taps...
0.0 MiB / 1.000 sec = 0.0 MiB/second
Couldn't transfer any bytes for one second.
Exiting... hackrf_is_streaming() result: HACKRF_TRUE (1)
Total time: 1.00066 s
hackrf_stop_tx() done
hackrf_close() done
hackrf_exit() done
fclose(fd) done
exit
So,I'm confuse for the DAB+ transfering by HackRF One.
Is there someone can help me?Thank you.