Search found 156 matches

by Cedron
Wednesday 14th August 2019 1:35pm
Forum: General
Topic: When you have been using Gambas for years...
Replies: 2
Views: 4104

Re: When you have been using Gambas for years...

Okay, what did you smack your forehead over?

Did you discover bit twiddling? The "true" true is -1?

Ced
by Cedron
Tuesday 13th August 2019 3:31pm
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 25082

Re: 1st Time User Gambas Questions(Former VB6 user)

I've been busy for a little while so I have left this thread alone. First a general comment for Lavos: I, too, am a long time VB6 (actually VB3-6) user and I found Gambas at the beginning of the year. My impression has been very very favorable. I see Gambas as a big improvement over VB6, sort of lik...
by Cedron
Friday 26th July 2019 5:44pm
Forum: General
Topic: mysql curious behavour of datetime field
Replies: 4
Views: 5715

Re: mysql curious behavour of datetime field

Hi Bill,

That's exactly what it is. It was recently discussed on the mailing list.

https://lists.gambas-basic.org/pipermai ... 67372.html

https://lists.gambas-basic.org/pipermai ... 67220.html

Hopefully, that'll help you out a bit.

Ced
by Cedron
Friday 12th July 2019 7:15pm
Forum: General
Topic: DSP: The two bin solution
Replies: 2
Views: 5991

Re: DSP: The two bin solution

Hey Gogier, That is a neat resource. If my to do list wasn't so long I would knock a few of those off. Yeah, this is some esoteric math, but it is actually some core DSP stuff. It is not nearly as impenetrable as it appears at first glance, once you start to understand it. I've got the blog article ...
by Cedron
Friday 12th July 2019 7:07pm
Forum: General
Topic: Static Functions
Replies: 2
Views: 4107

Re: Static Functions

Your example is chock full of reserved (or previously used) words, so I'm not going to manipulate it into proper syntax. The answer is "Yes, you can" Static subs can only reference static variables. Static variables are shared across all instances. A static sub can create an instance of th...
by Cedron
Friday 5th July 2019 6:54pm
Forum: General
Topic: DSP: The two bin solution
Replies: 2
Views: 5991

DSP: The two bin solution

TwoBinSolution-0.0.2.tar.gz This project is in support of https://dsp.stackexchange.com/questions/59149/is-there-a-good-method-to-extract-a-reference-sin-cos-from-a-group-of-signals The code demonstrates how to calculate the frequency, amplitude, and phase of a pure real tone. Although is quite eff...
by Cedron
Wednesday 3rd July 2019 2:53am
Forum: General
Topic: DSP: Power of Two Approximation
Replies: 0
Views: 7147

DSP: Power of Two Approximation

This is in support of my answer here: https://www.dsprelated.com/thread/8959/fixed-point-exponentiation The following program shows how to calculate an approximation of two raised to a float value. The argument is assumed to be positive. ' Gambas module file Private Lookup_V As New Float[] Private L...
by Cedron
Saturday 29th June 2019 4:40pm
Forum: General
Topic: M3U Music Player
Replies: 2
Views: 4311

Re: M3U Music Player

M3uPlayer-0.0.11.tar.gz
(17.37 KiB) Downloaded 521 times
Here is an improved version of the Music Player. Thanks to Cogier, it is now expandable so going full screen is actually useful.

It works just like I want it to. I only have one outstanding question for others: Is no-repeat on random play a desirable feature?

Ced
by Cedron
Thursday 27th June 2019 9:16pm
Forum: General
Topic: M3U Music Player
Replies: 2
Views: 4311

M3U Music Player

(Edit: There is a better version in the next post below.) M3uPlayer-0.0.9.tar.gz So, I like to listen to music. I'm pretty sure I am not alone with this. I've been a little bit disappointed with the available Linux offerings in that none of them seem to be able to properly interpret Windows style M3...
by Cedron
Tuesday 25th June 2019 2:30am
Forum: General
Topic: DSP: Interpolation of a complex sequence circuit
Replies: 0
Views: 7653

DSP: Interpolation of a complex sequence circuit

FourierFit-0.0.2.tar.gz This program is in support of my answer at DSP stackexchange posted here: https://dsp.stackexchange.com/questions/59068/how-to-get-fourier-coefficients-to-draw-any-shape-using-dft To use it, simply click a path of points and then press the [Go] button. The program will const...