Search found 104 matches

by Cedron
Friday 26th July 2019 5:44pm
Forum: General
Topic: mysql curious behavour of datetime field
Replies: 4
Views: 701

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: 1272

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: 581

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 the class an...
by Cedron
Friday 05th July 2019 6:54pm
Forum: General
Topic: DSP: The two bin solution
Replies: 2
Views: 1272

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 03rd July 2019 2:53am
Forum: General
Topic: DSP: Power of Two Approximation
Replies: 0
Views: 745

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: 652

Re: M3U Music Player

M3uPlayer-0.0.11.tar.gz
(17.37 KiB) Downloaded 79 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: 652

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: 886

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...
by Cedron
Sunday 23rd June 2019 2:23pm
Forum: General
Topic: The Bare Essential Webcam Capture
Replies: 7
Views: 1201

Re: The Bare Essential Webcam Capture

Hey Godzilla, Thanks for the kind words. I don't truly know the answers to your other questions about v4l so I posted the question to the mailing list. As for SDL, I'm not a big fan, but I don't want to discourage you. It may be exactly what you are looking for. For me, it is out of consideration si...
by Cedron
Saturday 22nd June 2019 2:25am
Forum: General
Topic: The Bare Essential Webcam Capture
Replies: 7
Views: 1201

Re: The Bare Essential Webcam Capture

WebCamGrab-0.0.1.tar.gz I totally relate to your desire to have more control over the Webcam. I actually wrote a simple webcam capture to snapshot in pure C++ using the v4l library and the jpeg library, and of course, straight X window programming. In a word: Yuck. However, unfortunately, the gb.v4...