mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
Merge branch 'release-2.4.0' of bitbucket.org:k1jt/wsjtx into release-2.4.0
This commit is contained in:
commit
3962a1eeba
@ -21,7 +21,7 @@ There are two system variables that must be set manually since the M1 Macs do no
|
|||||||
automatic parameter settings by means of the sysctl.conf file present in the download.
|
automatic parameter settings by means of the sysctl.conf file present in the download.
|
||||||
Type these commands - you will be asked for your password which will not be echoed:
|
Type these commands - you will be asked for your password which will not be echoed:
|
||||||
|
|
||||||
sudo sysctl -w kern.sysv.shmmax=104857600
|
sudo sysctl -w kern.sysv.shmmax=52428800
|
||||||
sudo sysctl -w kern.sysv.shmall=25600
|
sudo sysctl -w kern.sysv.shmall=25600
|
||||||
|
|
||||||
It is important to note that these parameter settings will not survive a reboot. If you
|
It is important to note that these parameter settings will not survive a reboot. If you
|
||||||
@ -46,7 +46,7 @@ change has been made by typing:
|
|||||||
|
|
||||||
sysctl -a | grep sysv.shm
|
sysctl -a | grep sysv.shm
|
||||||
|
|
||||||
If shmmax is not shown as 104857600 then contact me since WSJT-X will fail to load with
|
If shmmax is not shown as 52428800 then contact me since WSJT-X will fail to load with
|
||||||
an error message: "Unable to create shared memory segment".
|
an error message: "Unable to create shared memory segment".
|
||||||
|
|
||||||
You can now close the Terminal window. It will not be necessary to repeat this procedure
|
You can now close the Terminal window. It will not be necessary to repeat this procedure
|
||||||
@ -105,10 +105,23 @@ would probably be corrupted.)
|
|||||||
|
|
||||||
It is possible to run two instances of WSJT-X simultaneously. See "Section 16.2
|
It is possible to run two instances of WSJT-X simultaneously. See "Section 16.2
|
||||||
Frequently asked Questions" in the User Guide. If you wish to run more than two instances
|
Frequently asked Questions" in the User Guide. If you wish to run more than two instances
|
||||||
simultaneously, the sysctl.conf file needs to be modified. Please email me with your
|
simultaneously, the shmall parameter in the sysctl.conf file needs to be modified as follows.
|
||||||
requirements and I will provide a replacement sysctl.conf to suit.
|
|
||||||
|
The shmall parameter determines the amount of shared memory which is allocated in 4096 byte pages
|
||||||
|
with 50MB (52428800) required for each instance. The shmall parameter is calculated as:
|
||||||
|
(n * 52428800)/4096 where 'n' is the number of instances required to run simultaneously. If
|
||||||
|
you are using an Intel Mac, modify the shmall parameter in the sysctl.conf file using a Mac editor
|
||||||
|
and then install in the /etc directory using the installation procedure described above for an
|
||||||
|
Intel Mac. Remember to reboot your Mac afterwards.
|
||||||
|
|
||||||
|
If you are using an M1 Mac, then simply issue the sudo sysctl -w kern.sysv.shmall=xxx command where
|
||||||
|
xxx is the new value of shmall that is required.
|
||||||
|
|
||||||
|
Note that the shmmax parameter remains unchanged. This is the maximum amount of shared memory that
|
||||||
|
any one instance is allowed to request from the total shared memory allocation and should not
|
||||||
|
be changed.
|
||||||
|
|
||||||
If two instances of WSJT-X are running, it is likely that you might need additional
|
If two instances of WSJT-X are running, it is likely that you might need additional
|
||||||
audio devices, from two rigs for example. Visit Audio MIDI Setup and create an Aggregate Device
|
audio devices, from two rigs for example. Visit Audio MIDI Setup and create an Aggregate Device
|
||||||
which will allow you to specific more than one interface. I recommend you consult Apple's guide
|
which will allow you to specify more than one interface. I recommend you consult Apple's guide
|
||||||
on combining multiple audio interfaces which is at https://support.apple.com/en-us/HT202000.
|
on combining multiple audio interfaces which is at https://support.apple.com/en-us/HT202000.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
kern.sysv.shmmax=104857600
|
kern.sysv.shmmax=52428800
|
||||||
kern.sysv.shmmin=1
|
kern.sysv.shmmin=1
|
||||||
kern.sysv.shmmni=128
|
kern.sysv.shmmni=128
|
||||||
kern.sysv.shmseg=32
|
kern.sysv.shmseg=32
|
||||||
|
@ -9,6 +9,9 @@ program q65sim
|
|||||||
integer*2 iwave(NMAX) !Generated waveform
|
integer*2 iwave(NMAX) !Generated waveform
|
||||||
integer itone(85) !Channel symbols (values 0-65)
|
integer itone(85) !Channel symbols (values 0-65)
|
||||||
integer y(63) !Codeword
|
integer y(63) !Codeword
|
||||||
|
integer istart !averaging compatible start seconds
|
||||||
|
integer imins !minutes for 15s period timestamp
|
||||||
|
integer isecs !seconds for 15s period timestamp
|
||||||
real*4 xnoise(NMAX) !Generated random noise
|
real*4 xnoise(NMAX) !Generated random noise
|
||||||
real*4 dat(NMAX) !Generated real data
|
real*4 dat(NMAX) !Generated real data
|
||||||
complex cdat(NMAX) !Generated complex waveform
|
complex cdat(NMAX) !Generated complex waveform
|
||||||
@ -26,6 +29,7 @@ program q65sim
|
|||||||
print*,' f1 = Drift or Doppler rate (Hz/min)'
|
print*,' f1 = Drift or Doppler rate (Hz/min)'
|
||||||
print*,' Stp = Step size (Hz)'
|
print*,' Stp = Step size (Hz)'
|
||||||
print*,' Stp = 0 implies no Doppler tracking'
|
print*,' Stp = 0 implies no Doppler tracking'
|
||||||
|
print*,' Creates filenames which increment to permit averaging in first period'
|
||||||
go to 999
|
go to 999
|
||||||
endif
|
endif
|
||||||
call getarg(1,msg)
|
call getarg(1,msg)
|
||||||
@ -97,11 +101,14 @@ program q65sim
|
|||||||
1004 format('File TR Freq Mode S/N Dop DT f1 Stp Message'/70('-'))
|
1004 format('File TR Freq Mode S/N Dop DT f1 Stp Message'/70('-'))
|
||||||
|
|
||||||
do ifile=1,nfiles !Loop over requested number of files
|
do ifile=1,nfiles !Loop over requested number of files
|
||||||
if(ntrperiod.lt.60) then
|
istart = (ifile*ntrperiod*2) - (ntrperiod*2)
|
||||||
write(fname,1005) ifile !Output filename
|
if(ntrperiod.lt.30) then !wdg was 60
|
||||||
1005 format('000000_',i6.6,'.wav')
|
imins=istart/60
|
||||||
|
isecs=istart-(60*imins)
|
||||||
|
write(fname,1005) imins,isecs !Construction of output filename for 15s periods with averaging
|
||||||
|
1005 format('000000_',i4.4, i2.2,'.wav')
|
||||||
else
|
else
|
||||||
write(fname,1106) ifile
|
write(fname,1106) istart/60 !Output filename to be compatible with averaging 30-300s periods
|
||||||
1106 format('000000_',i4.4,'.wav')
|
1106 format('000000_',i4.4,'.wav')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -118,7 +125,7 @@ program q65sim
|
|||||||
sig=sqrt(2*bandwidth_ratio)*10.0**(0.05*snrdb)
|
sig=sqrt(2*bandwidth_ratio)*10.0**(0.05*snrdb)
|
||||||
if(snrdb.gt.90.0) sig=1.0
|
if(snrdb.gt.90.0) sig=1.0
|
||||||
write(*,1020) ifile,ntrperiod,f0,csubmode,snrdb,fspread,xdt,f1,nstp,trim(msgsent)
|
write(*,1020) ifile,ntrperiod,f0,csubmode,snrdb,fspread,xdt,f1,nstp,trim(msgsent)
|
||||||
1020 format(i4,i6,f7.1,2x,a1,2x,f5.1,f6.2,2f6.1,i4,2x,a)
|
1020 format(i4,i6,f7.1,2x,a1,2x,f5.1,1x,f6.2,2f6.1,i4,2x,a)
|
||||||
phi=0.d0
|
phi=0.d0
|
||||||
dphi=0.d0
|
dphi=0.d0
|
||||||
k=(xdt+0.5)*12000 !Start audio at t=xdt+0.5 s (TR=15 and 30 s)
|
k=(xdt+0.5)*12000 !Start audio at t=xdt+0.5 s (TR=15 and 30 s)
|
||||||
|
@ -33,7 +33,7 @@ SplashScreen::SplashScreen ()
|
|||||||
revision ()}.simplified () + "</h2>"
|
revision ()}.simplified () + "</h2>"
|
||||||
"V2.0 has many new features.<br /><br />"
|
"V2.0 has many new features.<br /><br />"
|
||||||
"The release notes have more details.<br /><br />"
|
"The release notes have more details.<br /><br />"
|
||||||
"Send issue reports to wsjtgroup@yahoogroups.com, and be sure to save .wav<br />"
|
"Send issue reports to https://wsjtx.groups.io, and be sure to save .wav<br />"
|
||||||
"files where appropriate.<br /><br />"
|
"files where appropriate.<br /><br />"
|
||||||
"<b>Open the Help menu and select Release Notes for more details.</b><br />"
|
"<b>Open the Help menu and select Release Notes for more details.</b><br />"
|
||||||
"<img src=\":/icon_128x128.png\" />"
|
"<img src=\":/icon_128x128.png\" />"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user