Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:31 19 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMite ' PLAY VOLUME ' .....

Author Message
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 735
Posted: 12:43am 31 Oct 2021
Copy link to clipboard 
Print this post

....Seems to not affect either the PLAY SOUND or PLAY TONE outputs ?
my site
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10613
Posted: 09:00am 31 Oct 2021
Copy link to clipboard 
Print this post

Play sound uses individual volumes on each sound 0-25
play volume works on play tone

In both cases the modification is linear so you have to make a much bigger change than you expect. Try play volume 5,5 and you will hear a difference.

I've just checked on the scope and the commands are working as expected
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 735
Posted: 12:36am 01 Nov 2021
Copy link to clipboard 
Print this post

Yes ... Thank You ..... That is how it is working ..
I must have been dreaming of a ' master volume '  
Right after dreaming the wave shape letters could be
variables ( that would really help a lot )

Did You put together the MMBasic ' SOUND ' system ?
my site
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10613
Posted: 07:52am 01 Nov 2021
Copy link to clipboard 
Print this post

  Quote  Did You put together the MMBasic ' SOUND ' system ?


Yes. Note the latest beta where I have implemented a log curve on the volume controls
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 735
Posted: 10:04am 01 Nov 2021
Copy link to clipboard 
Print this post

  matherp said  
Yes.

I sincerely bow to You  
The closest thing I have found
( as far as Basic with musical capability
( and I have looked for decades ) )
is BBCBasic .
Would You please explain one more time
why the waveshape parameter cannot be
a variable ?
my site
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10613
Posted: 08:26am 02 Nov 2021
Copy link to clipboard 
Print this post

See V5.07.01b3
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 735
Posted: 07:37pm 05 Nov 2021
Copy link to clipboard 
Print this post

  matherp said  See V5.07.01b3



Rem :       WORKS LIKE A CHARM !... :)
Dim i$(3)
Data s,q,w,t
For x=0 To 3
Read i$(x)
Next x
For y = 0 To 3
Print "y=";y;"    ";"voice= ";i$(y)
Play sound 1,b,i$(y),300,25
Pause 2000
Next y

my site
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025