Search found 156 matches
- Tuesday 28th November 2023 6:27pm
- Forum: Project showcase
- Topic: Keyboard Synthesizer
- Replies: 6
- Views: 11838
Re: Keyboard Synthesizer
There is more technical detail in this posting: https://www.dsprelated.com/thread/16925/keyboard-synthesizer It's already out of date as I am restructuring some. I've got a rough interface worked out, in progress. Please be patient. Screenshot at 2023-11-28 13-22-20.png It is still worth downloading...
- Saturday 25th November 2023 6:01pm
- Forum: Project showcase
- Topic: Keyboard Synthesizer
- Replies: 6
- Views: 11838
Re: Keyboard Synthesizer
Yes, that worked, looks much nicer. Here is the routine from libNotes.cpp which defines the keyboard notes. The first is the default. The second puts the low notes on the left hand side, like a piano player is used to. I am will also be adding a Major Scale Notes on the left, others on the right (wh...
- Saturday 25th November 2023 5:46pm
- Forum: Project showcase
- Topic: Keyboard Synthesizer
- Replies: 6
- Views: 11838
Re: Keyboard Synthesizer
Thanks, that's a lot in a little time! Unfortunately, it didn't work for me. Apparently my Gambas version is too old. So, I created a new project, copied all the code into the form file, and all I got were white rectangles. They played, though. Something like that is what I have in mind as well. I'm...
- Saturday 25th November 2023 2:11pm
- Forum: Project showcase
- Topic: Keyboard Synthesizer
- Replies: 6
- Views: 11838
Keyboard Synthesizer
This project is in rudimentary form, but sufficiently developed that it is actually already useful. The GUI interface is a blank slate. Most of the code is in a shared C++ library, included, which needs to be compiled separately. After the source code is unzipped, open the ./libNotes directory in a ...
- Friday 10th March 2023 2:49pm
- Forum: General
- Topic: A Gambas Compiler
- Replies: 8
- Views: 2713
Re: A Gambas Compiler
Writing a native compiler is awfully difficult. Especially for a language as rich as Gambas. Writing one that produced optimized code, even more difficult, and its already been done by gobs of people. I think the best approach would be a translator from Gambas to C++ source code, then submit that to...
- Thursday 9th March 2023 9:06pm
- Forum: General
- Topic: color button to rgb
- Replies: 5
- Views: 1736
Re: color button to rgb
I didn't see your update. Yes, I suspect that would be a microtad faster than using:
a = Shr(ArgColor, 24) And &FF&
- Thursday 9th March 2023 2:48am
- Forum: General
- Topic: color button to rgb
- Replies: 5
- Views: 1736
Re: color button to rgb
Here's a slightly more concise version of the same routine.
Public Sub GetRGB(ArgColor As Integer) As Integer[]
Dim r, g, b As Integer
r = Shr(ArgColor, 16) And &FF&
g = Shr(ArgColor, 8) And &FF&
b = ArgColor And &FF&
Return [r, g, b]
End
- Wednesday 8th March 2023 5:30pm
- Forum: General
- Topic: Using ip6 instead of ip4 with Socket
- Replies: 4
- Views: 1604
Re: Using ip6 instead of ip4 with Socket
ipv4 and v6 are very different if you have not noticed just looking at the addresses. True dat. They have different addr structures and addressing protocols. I would bet that v6 is not supported I would bet the same. and the reason is that v4 is not going away and will likely outlive all of us. I w...
- Friday 3rd March 2023 1:13pm
- Forum: General
- Topic: Using ip6 instead of ip4 with Socket
- Replies: 4
- Views: 1604
Re: Using ip6 instead of ip4 with Socket
Because I am FEARLESS! Just kidding. Both telnet and ping have -6 options. Ping works without applying it, I have yet to get the telnet to work to my open port. I don't have telnet server installed (nor do I want to). I am writing a peer to peer application, prototyping and testing on my isolated LA...
- Thursday 2nd March 2023 12:53am
- Forum: General
- Topic: Using ip6 instead of ip4 with Socket
- Replies: 4
- Views: 1604
Using ip6 instead of ip4 with Socket
It's been a bit problematic for me. Rather than struggle more, I thought I'd ask. I have a home network with hard coded 192.168.$$$.$$$ addresses. I have a Gambas TCP server I coded that I can log into with either a Gambas client I coded, or plain old telnet. With localhost, raw ip addresses, or /et...