mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-03 16:01:18 -05:00
20 lines
322 B
Fortran
20 lines
322 B
Fortran
|
|
||
|
!--------------------------------------------------- i1tor4
|
||
|
subroutine i1tor4(d,jz,data)
|
||
|
|
||
|
! Convert wavefile byte data from to real*4.
|
||
|
|
||
|
integer*1 d(jz)
|
||
|
real data(jz)
|
||
|
integer*1 i1
|
||
|
equivalence(i1,i4)
|
||
|
|
||
|
do i=1,jz
|
||
|
n=d(i)
|
||
|
i4=n-128
|
||
|
data(i)=i1
|
||
|
enddo
|
||
|
|
||
|
return
|
||
|
end subroutine i1tor4
|