bad or not bad ?
This commit is contained in:
@@ -9,18 +9,19 @@ program panoramix
|
||||
integer :: nblus
|
||||
real :: value, phi, ka
|
||||
|
||||
write(0, *) "*** Panoramix ***"
|
||||
call soundbrotch_version()
|
||||
|
||||
nblus = 0
|
||||
do
|
||||
read (*, *, iostat=errcode) left, right
|
||||
if (errcode .NE. 0) then
|
||||
write(0, *) 'EOF ? ', errcode
|
||||
! write(0, *) 'EOF ? ', errcode
|
||||
exit
|
||||
endif
|
||||
|
||||
! *** NON WORKING CODE ***
|
||||
phi = real(nblus) / 20000.0
|
||||
phi = real(nblus) / 60000.0
|
||||
ka = sin(phi)
|
||||
value = (real(left)+real(right)) / 2.05
|
||||
left = int(value*ka)
|
||||
|
||||
Reference in New Issue
Block a user