SFML community forums

General => SFML projects => Topic started by: kipbits on May 09, 2016, 04:27:27 pm

Title: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on May 09, 2016, 04:27:27 pm
------------------------------------------------------------------------------
Update: Happy 2020!
------------------------------------------------------------------------------
I recently found some time, in 3.5 years since first publishing my app on the Mac Appstore, to fix the sound files for ToneBoards. For those interested, you can now download the new tones on github (https://github.com/kipbits/ToneBoards/releases/tag/1.0.2). Install by dragging and dropping the contents of the TONESv15 into your toneboards app package TONESv10 folder (sorry, I'm on limited time, and can't make it fancy).

...I still plan to port to linux(recently been playing with MX Linux (https://mxlinux.org)) although stuff just keeps getting in the way. Anyway, I thought I'd share these before I forgot about them. These new sounds are designed to play better on small laptop speakers, especially the base notes! Maybe I'll provide an explanation of how I made them later...

Update the Update

I posted some demos along with my notes and code for the update (https://en.sfml-dev.org/forums/index.php?topic=20310.msg171576#msg171576)

...still planning to port to linux some time. ....must find my lost code...

------------------------------------------------------------------------------
Update: Happy New Years 2018!
------------------------------------------------------------------------------
I decided to publish the source for ToneBoards. I just haven't had as much time to work on it as I would have liked this past year. Perhaps someone will find it useful. Also I'm kind of thinking about letting my Apple developer account lapse. It's just another expense for me right now, and was sort of a hassle to set up. I'm becoming more interested in other ways to assure users of quality/integrity of a piece of software. I've recently discovered a makeshift alternative to apple developer certificates(i think). I mean what is the point of code signing when you can just compare digests using openSSL?

Below are some Github links, and I'm also posting digests and filesizes. I think this should provide a way for users to gain 99% of the assurances provided by the Appstore(with a couple added steps on the user's part).

https://github.com/kipbits/ToneBoards/releases
xxd ToneBoards.app.zip
size(hex):0db4330

openssl dgst -sha512 ToneBoards.app.zip
SHA512(ToneBoards.app.zip)= ef8c3a1e54301c8a6ad0e53706e4e5e5c9f0fc85ee4d8d1aee6faf195801494a1b919b02be1de4455f005d04308270b8e8c3c06c254849a7a4c0b74ed6a2881c

https://github.com/kipbits/SFML-2.3.2-Updated-plist_altered-keyboard/releases
xxd Frameworks.tar.gz
size(hex):0367110

openssl dgst -sha512 Frameworks.tar.gz
SHA512(Frameworks.tar.gz)= 3524096384e6337b654a85286f91bebdd86534d0719e735f4e29b40687efb36d4de9add983d56a12c78cf2f58aba3876104f2f3b851d39dbb8df5131070448c9
------------------------------------------------------------------------------


Someone with an international keyboard please test this for functionality with non-US-English keyboards.

Thanks, and Enjoy
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on May 10, 2016, 05:51:43 pm
I should probably include the description:
ToneBoards lets you turn your keyboard into a configurable & dynamic, chromatic-tone-generator. Choose from a selection of keyboard-tone-mappings, or create your own custom map. Configurations supports a range of 128 chromatic keys, and 255 microtonal key positions, from C-1 to G#9. Even numbers represent the Chromatic keys, while odds represent the inbetween microtonal keys. To create a new config, fill out the empty_template_cfg_.txt file in the app package, and save it with a new name in sConfigFiles folder.

I've included some extra cfg files on the github release: https://github.com/kipbits/ToneBoards/releases/tag/1.0.2 (https://github.com/kipbits/ToneBoards/releases/tag/1.0.2)

(click to show/hide)
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on May 10, 2016, 06:18:17 pm
And there is some hidden sample code inside the CFG_zip(try looking under janko or wicki-hayden), to help with procedurally generating new CFG's.

(doing it by hand would take some time).
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: Hapax on May 11, 2016, 12:10:45 am
So... it plays a sound on a key press with a pitch determined by the key?

I think it would be a good idea (if not just somewhat polite) if you were to put that really long list in that post above inside spoiler tags:
(click to show/hide)
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: Elias Daler on May 11, 2016, 08:52:27 am
Looks pretty fun! Great job. :)
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on May 11, 2016, 03:34:54 pm
So... it plays a sound on a key press with a pitch determined by the key?

I think it would be a good idea (if not just somewhat polite) if you were to put that really long list in that post above inside spoiler tags:
(click to show/hide)


Thanks Hapax!!!!
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on May 23, 2016, 03:25:26 pm
Well, downloads have exeded 500 copies in the first 2 weeks! Still working on a companion app, although it might be a few months before its release. This app will be more fully functioned, and geared towards composition rather than performance. I'm also planning to release the companion app as a paid app($$).
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on May 31, 2016, 01:57:25 am
I generated a bunch of piano roll configs(see Piano.zip) (https://github.com/kipbits/ToneBoards/releases/tag/1.0.2) for those who want a more familiar layout.

I'm still conducting my experiment...
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on July 30, 2016, 02:51:58 pm
Hey all, been awhile...
After neglecting ToneBoards for a couple months, I've decided to end my experiment. ToneBoards is free again. I've havent really had much free time this summer and have put a sequel on the backburner for the moment. A $ had a pretty strong effect on downloads, and I've decided I would rather have people download and enjoy ToneBoards. Hopefully I'll get some time in the next few months to work on a more fully functioned sequel.

Thanks all who downloaded!
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: Hapax on July 30, 2016, 06:06:08 pm
Looks like you have the beginnings of a keylogger there  ;D

I noticed that your 'octaves' suggest that you use alternate rows for semi-tone intervals but it would be easier to 'play' if they were laid out more like a piano keyboard  :P (e.g. sometimes two 'white' keys are a tone apart and sometimes they are only a semi-tone apart)
Something like this:
(http://i.imgur.com/vifx6xF.png)
(the image isn't great; I found it online)
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: kipbits on August 01, 2016, 07:21:24 pm
You are right Hapax! but I was more going for the beginnings of an accessiblilty item for the visually impared  ;) :P

I do have some standard a bunch of piano roll configs in Piano.zip (https://github.com/kipbits/ToneBoards/releases/tag/1.0.2) if thats more your style. I kind of like the Janko layouts though because you dont end up with any non-sounding-keys.

I'm glad someone seams to enjoy it.
Title: Re: [MAC]I published an SFML applet: ToneBoards
Post by: Hapax on August 03, 2016, 12:17:03 pm
I don't have a Mac so I've only seen the videos you posted :P

Still, it sounds pretty when there is no musical design (reminds me of an SFML game (http://en.sfml-dev.org/forums/index.php?topic=18476.0)). Trying to play actual songs is less important here, I would think.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on September 07, 2016, 11:56:50 pm
Mac Developer stuff 's been getting me down, I still have not made much progress on the companion app. I was thinking of trying to port to linux. Could anyone give me any leads on where i might publish my app if i do port it.

Does Ubuntu still have an app store?

 It's been awhile since i've done anything linux


Edit: it looks like there are many choices: https://www.gnome.org/getting-gnome/ (https://www.gnome.org/getting-gnome/)
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on September 20, 2016, 07:08:03 pm
Ok, I've set up 3 different partitions now, and am having all sorts of trouble finding the right sdks and stuff. I'm wondering if some linux veterans have any preferred distro & setup? It just seems like there are too many choices, and I don't know where to start. I'm currently trying for a setup so I can later publish to GNOME Software (https://wiki.gnome.org/Apps/Software). This article (http://news.softpedia.com/news/gnome-software-3-22-will-support-installation-of-snaps-flatpak-repository-files-506580.shtml) seemed to suggest that might be the best way to go. Is this the recommended way to distribute? or should i be heading in some other direction?
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: Hiura on September 21, 2016, 01:09:44 pm
You should probably ask that question on a linux dedicated forum if you want valuable feedback. ;-)
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on November 07, 2016, 04:55:46 pm
FWIW I'm looking into Elementary OS (https://elementary.io).
wikipedia (https://en.wikipedia.org/wiki/Elementary_OS)
and it looks like they have an AppCenter (https://elementary.io/developer)
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 14, 2017, 03:54:20 pm
Update: I'm thinking I'll go with Gnome (https://www.gnome.org) after all. I still have not found any good way to distribute paid linux apps; I was kind of wondering if Gnome-Software had any plans for this. Will post when i get information.

I've been very sidetracked by other projects, so I version 2 is still on the back burner. I'm still running sfml-2.3.2 on my mac. Good news though, I bought a new dev machine, so hopefully will have some time and get back here in the not to distant future.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 19, 2017, 03:51:13 pm
Having second thoughts about getting too much into Gnome as a platform. GPL/LGPL is kind of alot to wrap your head around. I have alot of concerns about how i might be limited going with a platform like this. I'm trying to make this worth my time, you know what i mean (;P)?

I noticed some of the libraries SFML uses are LGPL, GPL. from what i understand LGPL is not necessarily a problem, but GPL makes me worry.
Will I need to release all my source-code?

Anyway wondering if anyone knows of a platform with a more straight-forward and Free (http://copyfree.org/standard) mission statement, not this comrade BS (https://www.gnu.org/philosophy/free-sw.html#content), you know what i mean (;P)?
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 19, 2017, 09:09:59 pm
I posted a question on law.stackexchange (http://law.stackexchange.com/questions/17231/copyfree-lgpl-gpl-is-closed-source-possible).
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: Turbine on February 20, 2017, 02:18:26 am
I noticed some of the libraries SFML uses are LGPL, GPL. from what i understand LGPL is not necessarily a problem, but GPL makes me worry.
Will I need to release all my source-code?

You don't need to worry.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: Laurent on February 20, 2017, 06:30:15 am
Quote
I noticed some of the libraries SFML uses are LGPL, GPL
I really wonder which ones are GPL.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 20, 2017, 01:02:57 pm
External libraries used by SFML
-------------------------------

* OpenAL-Soft is under the LGPL license
* libjpeg is public domain
* stb_image and stb_image_write are public domain
* freetype is under the FreeType license or the GPL license
* libogg is under the BSD license
* libvorbis is under the BSD license
* libflac is under the BSD license


Anyway I was planning to read through the GPL/LGPL when I get the time to really sit and process what it means. Its been kind of hard to find definitive information about it. A lot of disagreement from what i've seen.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: Laurent on February 20, 2017, 01:31:29 pm
Thanks, I know what the license page contains... And my point is that there's no SFML dependency that forces the use of GPL. Those that have GPL also have other (more permissive) licenses available. SFML always ensures that you only need to worry about its own license, all its dependencies are chosen to be compatible with it.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 20, 2017, 05:33:48 pm
I suppose an original developer can relicense there software(freetype), but why would they still give the GPL option? why not simply copyfree? is freetype built on gpl parts? if so wouldn't that make gpl forever, and all work linking to it also gpl?

Maybe i'm missing something?

Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: Laurent on February 20, 2017, 06:49:22 pm
You should definitely read the FreeType license if you want accurate information.

As far as I know, there are two cases:

1. Dual licensing. Because some may prefer GPL, and some others may prefer something else. Don't ask me why, I'm not a GPL expert. But according to FreeType license page, GPL v2 has some incompatibilities, even with more permissive licenses.

2. Sometimes, libraries are under a permissive license, but some (optional) parts of it, plugins or whatever, are under a different license, because they themselves depend on other libraries, or because the contributor insisted on using that license.

FreeType seems to be in case 1. so we can choose to use it under the FTL (BSD style, very permissive) and not worry about it.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 20, 2017, 07:23:36 pm
Thanks for the info.

I do plan to do more research into this
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 24, 2017, 10:03:12 pm
I think you are right about Freetype being optional GPL. The Freetype license itself is very permissive. I posted an answer (http://law.stackexchange.com/questions/17231/copyfree-lgpl-gpl-is-closed-source-possible/17314#17314) to my question on law.stackexchange. I don't think any of it really applies to SFML other than to say there's nothing to worry about, but people might find it interesting...
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on February 25, 2017, 01:42:07 am
also, I'm still looking into an alternative linux/unix development platform(as apposed to ubuntu). I'm wondering if anyone has built SFML on FreeBSD (https://www.freebsd.org) or Étoilé (http://etoileos.com)?


edit: http://en.sfml-dev.org/forums/index.php?topic=13419.msg94079#msg94079

looks like someone else already did this
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: eXpl0it3r on February 26, 2017, 01:08:40 pm
You could give Arch a try. I know a lot of developers who quite enjoy it.
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on December 31, 2017, 08:00:19 am
I decided to publish the source for ToneBoards. I just haven't had as much time to work on it as I would have liked this past year. Perhaps someone will find it useful. Also I'm kind of thinking about letting my Apple developer account lapse. It's just another expense for me right now, and was sort of a hassle to set up. I'm becoming more interested in other ways to assure users of quality/integrity of a piece of software. I've recently discovered a makeshift alternative to apple developer certificates(i think). I mean what is the point of code signing when you can just compare digests using openSSL?

Below are some Github links, and I'm also posting digests and filesizes. I think this should provide a way for users to gain 99% of the assurances provided by the Appstore(with a couple added steps on the user's part).

https://github.com/kipbits/ToneBoards/releases
xxd ToneBoards.app.zip
size(hex):0db4330

openssl dgst -sha512 ToneBoards.app.zip
SHA512(ToneBoards.app.zip)= ef8c3a1e54301c8a6ad0e53706e4e5e5c9f0fc85ee4d8d1aee6faf195801494a1b919b02be1de4455f005d04308270b8e8c3c06c254849a7a4c0b74ed6a2881c

https://github.com/kipbits/SFML-2.3.2-Updated-plist_altered-keyboard/releases
xxd Frameworks.tar.gz
size(hex):0367110

openssl dgst -sha512 Frameworks.tar.gz
SHA512(Frameworks.tar.gz)= 3524096384e6337b654a85286f91bebdd86534d0719e735f4e29b40687efb36d4de9add983d56a12c78cf2f58aba3876104f2f3b851d39dbb8df5131070448c9
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on January 13, 2020, 04:38:08 am
Hey all, Update Here(done with the cryptocoins btw):

I recently found some time, in 3.5 years since first publishing my app on the Mac Appstore, to fix the sound files for ToneBoards. For those interested, you can now download the new tones on github (https://github.com/kipbits/ToneBoards/releases/tag/1.0.2). Install by dragging and dropping the contents of the TONESv15 into your toneboards app package TONESv10 folder (sorry, I'm on limited time, and can't make it fancy).

...I still plan to port to linux(recently been playing with MX Linux (https://mxlinux.org)) although stuff just keeps getting in the way. Anyway, I thought I'd share these before I forgot about them. These new sounds are designed to play better on small laptop speakers, especially the base notes! Maybe I'll provide an explanation of how I made them later.

...It's a shame that during the apple dev publishing process, I lost some commented-out code, which could perhaps help me in porting to linux. Perhaps it was my fault, although I just haven't brought myself to research and rewrite it yet(Also, I'm still looking for a solution to my problem finger).

...And sorry no demo for the moment(I can't spare my browser tabs right now, and quicktime + toneboards seam to kick it over the edge. Just wanted to post this before I forget.

I really would like to port this to Linux, though I'm kind of sad that there are no linux distros that support Miller Columns, and Firefox's bookmark system is all screwed up... Also, definitely still sucks that the doctors refuse to fix my finger(healthcare is too expensive anyway, it's probably better it just stays broken).


...I guess I can at least post some wikipedia links to the basics concepts underpinning my sound-files tweaking:
Ramp function (https://en.wikipedia.org/wiki/Ramp_function)
Harmonic series (https://en.wikipedia.org/wiki/Harmonic_series_(mathematics))
Basel problem (https://en.wikipedia.org/wiki/Basel_problem)
Sigmoid function (https://en.wikipedia.org/wiki/Sigmoid_function)/Logistic function (https://en.wikipedia.org/wiki/Logistic_function)

...also I found some notes; they could perhaps be useful to someone:
(click to show/hide)
Title: Re: [MAC][Linux?]I published an SFML applet: ToneBoards
Post by: kipbits on January 17, 2020, 11:33:14 pm
I had a little time, and made a quick demos: See Attachment Below

...I still want to port to Linux(though not sure when it will happen).

...maybe I should just ploop down my code for the update here for all to use(won't do any good hidden away):
(click to show/hide)