Linux espeak command for creating a voice with text

The Linux espeak command is how one can go about synthesizing speech in a Linux system. Text content can be given to it as an option, read from a file, or piped in from the standard input and piping using any Linux command such as cat or echo just to name a few. The command might come out of the box with most systems, however with some it might need to be installed first, but often shows up in most package managers when that is the case. There are a few options when it comes to controlling the pitch and speed of the voice.

Content can be piped into it from the standard input, so it can be used as an endpoint for a chain of commands to have the output spoken rather than spit out to the console. There is also a file option for the command, but as with any other Linux command another command can be used to read a file and then pipe the text to espeak.

Read More

The vuejs framework

The vuejs framework is a great framework for creating simple single page applications, and reusable compartmentalized components for such applications. I started writing a collection of content on this framework a few years ago now, but I have now come around to editing some of that content and expanding with some new posts on the subject in the process.

Whenever I have an extensive collection of content on a subject I often write at least one post that serves as a major central location type post from which I branch off into all the other posts on the subject from. I have not yet got around to writing such a post for vuejs, that is until now. There is a lot to take in when it comes to learning vuejs for the first time, there are static templates, render functions, data objects, props objects, mixins, and so forth that make up a single vuejs instance. There is then getting into making components where data from a parent vue instance can be passed to one or more components by way of properties and then mutated forms of those values can be passed from a child components back to a parent by way of events. Then of course there are all the little vuejs built in directives such as v-bind, v-on, and v-for just to name a few on top of making ones own directives.

So it would make sense to have a lengthly main post on vuejs in which I just briefly touch base on all of these little topics, and then link to posts in which I get into that topic in greater detail.

Read More

10 vuejs examples to start out with

I have wrote over 40 posts on vuejs thus far, and many of those posts are just on various aspects of the vuejs framework itself that are all ready well documented in the official vuejs documentation. Writing such posts are not always such a wast of time mind you often the official documentation might fail to mention something, not frame things the right way, and more examples can never hurt. Still once I gain a sold hold on the basics of a framework or language the only thing to do from that point forward is to start to work on some actual projects, rather than finding about with basic, copy and paste, cook book style code examples. So I have started writing a collection of posts on vuejs examples that are full working projects, or at least aim to be anyway.

I have done the same with my collection of posts on the canvas element, but this time around I think I would like to focus more so on quality rather that quality. For now I have 10 posts on vuejs examples, and as of this writing I think that I might want to keep it at that, or if I am going to expand the collection not go that must farther then that for now. I would like to edit the older posts, and improve the underlaying code of the examples on top of that, before continuing forward in an effort to not repeat what I have done for my collection of canvas examples.

Read More

Vuejs example of a web Assets game

I have wrote a few posts on all of the basics when it comes to vuejs, so now I find myself starting to make some actual full vuejs examples as that just seems like the net step when it comes to learning a language, or in this case a framework. Today I thought I would start another vuejs example that is a basic simple little game of sorts that has to do with creating web assets.

The general idea is to create a game where the object is to start making websites, and then the websites generate money over time. So just another kind of idle game as it where which seems to be a kind of game that I like to make, but have never really ran with just yet. In any case this example has proved to be another good exercise of using vue components as a way to keep things modular.

Read More

Land sections vuejs example

One of my many canvas examples in the works is a game prototype that I am calling just simply Mr Sun. So far I just have a general idea of the kind of game that I would like to make, but many of the core logic features are still not together. The general idea at least is that there is a sun object that is surrounded by world section objects, and the player can move the sun object around inside of this circle of world objects. When moving the sun that changes the distance between the sun and any given world section and that in turn can effect each world land section object in a different way.

The basic idea then is simple enough, but what has proved to not be so simple is what to do when it comes to building on top of that simple general idea. There is a lot that comes to mind when it comes to adding features that will result in an interesting game that people might want to play. There are in fact maybe a few to many ideas actually, but I am thinking it might be fun to take it in some kind of sandbox or god game type direction maybe.

So I thought I would make a simple vuejs examples of the basic idea of the game, and have a few menus to switch between. The focus of this vuejs example will be to not make the game a canvas project, but more of a front end project in general where I am using vuejs as a framework to pull everything together.

Read More