Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 20:50 29 Mar 2024 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 : PM audio LPF....wow....

     Page 4 of 4    
Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 03:27pm 29 Jun 2023
Copy link to clipboard 
Print this post

@ Stan:  https://www.dictionary.com/e/afghanistan-kyrgyzstan/

https://worldpopulationreview.com/country-rankings/stan-countries
Edited 2023-06-30 01:29 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 1567
Posted: 03:39pm 29 Jun 2023
Copy link to clipboard 
Print this post

The song.. Istanbul, was Constantinople https://www.google.com/search?client=opera&q=Istanbul%2C+was+Constantinople&sourceid=opera&ie=UTF-8&oe=UTF-8#fpstate=ive&vld=cid:77edf6fc,vid:0XlO39kCQ-8

Just a coffee break :) stan means place of. it's short for the Victorian surname Stanley. :)
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 1567
Posted: 11:56pm 29 Jun 2023
Copy link to clipboard 
Print this post

  Volhout said  @stanleyella

for count%=0 to 319
 samples!(count%)=(samples!(count%)*60)+10 'scale 3V samples to 0 to 79 pixels
next count%


is the same as

math scale samples!(),60,samples!() 'multiply a() by 60
math add samples!(),10,samples!() 'add 10 to a()




and here

or count%=0 to 319
 old_samples!(count%)=samples!(count%) 'copy samples to old_samples
next count%


is the same as

math add samples!(),0,old_samples!() 'copies a() to b()


not obvious that 0 can be used for math add
 
     Page 4 of 4    
Print this page


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

© JAQ Software 2024