Author |
Topic: CD-quality stereo SOUND! (Read 1380 times) |
|
hitsware
Junior Member
member is offline


Gender: 
Posts: 70
|
 |
Re: CD-quality stereo SOUND!
« Reply #40 on: Jun 12th, 2015, 8:48pm » |
|
ENVELOPE to 0 .......... Only took 5 years :)
Re: noise The main noise I hear is during a lone low note with attendant envelope. Like I'm hearing the steps. HQSOUND seemed to help until I turn system gain up enough to match no HQSOUND and the noise is back. Code:
REM CALL @lib$+"HQSOUND"
*TEMPO 133
ENVELOPE 1,0,0,0,0,0,0,0,63,0,0,0,40,0
ENVELOPE 2,0,0,0,0,0,0,0,127,0,0,-2,126,0
ENVELOPE 3,0,0,0,0,0,0,0,127,-127,0,0,100,0
ENVELOPE 4,0,0,0,0,0,0,0,0,0,0,0,0,0
DIM orgn(11), bass(7), drum(7)
FOR x=0 TO 11: READ orgn(x): NEXT x
FOR x=0 TO 7: READ bass(x): NEXT x
FOR x=0 TO 7: READ drum(x): NEXT x
REPEAT
FOR x=0 TO 11: FOR y=0 TO 7
REM SOUND 0,1,orgn(x)+48,4
REM SOUND 1,1,orgn(x)+76,4
SOUND (4098-(bass(y)*4096)),2,orgn(x),1:SOUND 4098,2,0,3
REM SOUND 3,drum(y),140,4
NEXT y: NEXT x
UNTIL FALSE: END
DATA 32,24,4,32, 4,4,4,4, 24,24,4,4
DATA 1,0,0,1, 1,0,0,0
DATA 4,4,3,4, 4,4,3,4
|
|
Logged
|
|
|
|
rtr2
Guest
|
 |
Re: CD-quality stereo SOUND!
« Reply #41 on: Jun 13th, 2015, 02:53am » |
|
on Jun 12th, 2015, 8:48pm, hitsware wrote:| Like I'm hearing the steps. |
|
You may well be hearing the steps - SOUND has only 16 different levels (0-15) remember, which is quite coarse (they are 2dB steps I think). In fact you will probably hear the steps more clearly when using HQSOUND, since they aren't masked by quantising noise any longer!
I think you might find it helpful to consider the theoretical aspects of the BBC BASIC sound system (both with and without HQSOUND), rather than experimenting and trying to interpret what you hear. The beauty of digital audio is that everything is predictable, if you know the fundamental parameters (sampling rate etc.).
It's the same with all aspects of software really; trial and error is never the right way to do it. 
Richard.
|
|
Logged
|
|
|
|
hitsware
Junior Member
member is offline


Gender: 
Posts: 70
|
 |
Re: CD-quality stereo SOUND!
« Reply #42 on: Jun 19th, 2015, 5:49pm » |
|
Richard, For some reason your last message has disappeared ?
Good Oh ! ...... 2nd HQ works great ;D
How do I set ..
voice 0 left voice 1 right voice 2 & 3 center
Thank You .................
Code:
REM Initialise stereo mix:
M%!0 = &40004000 : REM left 1,0
M%!4 = &00000000 : REM left 3,2
M%!8 = &00000000 : REM right 1,0
M%!12 = &40004000 : REM right 3,2
|
|
Logged
|
|
|
|
rtr2
Guest
|
 |
Re: CD-quality stereo SOUND!
« Reply #43 on: Jun 19th, 2015, 7:11pm » |
|
on Jun 19th, 2015, 5:49pm, hitsware wrote:| For some reason your last message has disappeared ? |
|
It's still visible to me.
Quote: The REMs in the code you listed tell you. Just set the fields to the required gain values; there are eight 16-bit fields corresponding directly to the four 'left' gains and the four 'right' gains.
Richard.
|
|
Logged
|
|
|
|
hitsware
Junior Member
member is offline


Gender: 
Posts: 70
|
 |
Re: CD-quality stereo SOUND!
« Reply #44 on: Jun 19th, 2015, 10:03pm » |
|
Greek to me .........
|
|
Logged
|
|
|
|
hitsware
Junior Member
member is offline


Gender: 
Posts: 70
|
 |
Re: CD-quality stereo SOUND!
« Reply #45 on: Jun 20th, 2015, 01:14am » |
|
Dare to be great ! Put the 'balance' i.e. left/rightness into the ENVELOPE command In some of the bits that no one uses anyways ....
|
| « Last Edit: Jun 20th, 2015, 01:17am by hitsware » |
Logged
|
|
|
|
rtr2
Guest
|
 |
Re: CD-quality stereo SOUND!
« Reply #46 on: Jun 21st, 2015, 2:54pm » |
|
on Jun 19th, 2015, 10:03pm, hitsware wrote:Greek to me ......... |
|
That's to be expected where I am today (Volos, Greece)!
Richard.
|
|
Logged
|
|
|
|
hitsware
Junior Member
member is offline


Gender: 
Posts: 70
|
 |
Re: CD-quality stereo SOUND!
« Reply #47 on: Jun 21st, 2015, 3:14pm » |
|
Γεια σου
|
|
Logged
|
|
|
|
|