I just custom-compiled Tupi.

While I have spent a lot of time pursuing the subject of 3D graphics, obviously, 2D graphics also exist. And there exists an application named ‘Tupi’, which is a toolkit for creating 2D animations, in a cel- or storyboard- kind of way.

I had tried to install the version of Tupi which comes from the package manager for Debian / Jessie, but apparently the Debian Maintainers compiled that, and then did not make sure that it works. This version had a bug, which caused the application to crash, as soon as a new project was created.

So I felt that the only solution – just on the laptop I name ‘Klystron’ – was to custom-compile a later version, which is ‘version 0.2-git07′. This time around, the custom-compilation was somewhat difficult.

One reason for this difficulty was the fact, that the developers specifically neglect Debian builds, and focus on Ubuntu builds. This fact may also have thwarted the Debian Maintainer this time around.

Yet, with much effort, I was able to get the higher version of this application to compile, and also to launch, and to create a new project without crashing. Yaay!



Print Friendly, PDF & Email


I go the unusual step, of hosting my Web site on my private computer at home. This means that such factors as network interruptions and power failures can affect my site, while if it was hosted on a paid-for service, it would probably not be affected by such things.

This morning, at 5h30, I had a very brief power failure at home. It was so brief – less than a second long – that the power supply capacitor in most of my appliances, and in most of my computers, held enough charge to keep those running. ( :1 )

However, the supply capacitor in the computer I name ‘Phoenix’ did not hold enough charge for this, so that ‘Phoenix’ went down. That this the computer which actually acts as my Web server as well.

Therefore, my site and this blog were unavailable until about 5h50 this morning. I apologize for any inconvenience.



1: ) In fact, the compressor of the air conditioner in my bedroom was running. And when the power came back on, its motor had not stopped rotating completely. And for that reason, it was able to kick right back up to full speed.

Normally, if the compressor has stopped spinning completely, an immediate attempt to power it back on will result in a stall, and then in the thermal-trip of the compressor motor, which always has a thermal protection switch built-in.


Print Friendly, PDF & Email

Audio Disks Disk-At-Once

I have been taking a trip down memory lane, into the subject of Audio CDs, which some people today do not even recognize. And one type of Audio CD which users were once able to record, were ‘DAO’, or, “Disk-At-Once” recordings.

I should just explain what that means. Similarly to the old vinyl records, the first Audio CDs produced by big companies, had a single track from beginning to end. This track wound in a dense coil, in the middle of each Music Track, producing a surface on the CD that was noticeably matte. But between music tracks, this optical track was much less densely-wound. There would be a gap on the surface of the disk, which was less than a millimeter wide, which was more reflective, and which the early CD players used, when commanded by the listener to ‘skip in’ to Track 5, let us say. But, if playback was already underway on Track 4, near the end of Track 4, there would be ‘pre-gap’ audio played, as the playback continued into Track 5. Skipping in to Track 5 would bypass this introductory, pre-gap audio.

The first CD-Rs burned by PC users, were not Disk-At-Once, but rather had lasers which would switch off between tracks, thus leaving those non-continuous. This is now referred to as ‘TAO’. But the modern hardware and software seeks to mimic, what the big companies were able to do, by providing DAO Audio Disks.

I am exploring how I would need to use K3b to do all this.

There has been some misconception on public forums, as evidenced by users asking, ‘Why K3b does not insert silence, if’ on earlier versions of this application, ‘they had set the pre-gap time to 2 seconds.’ ( :1 )

That pre-gap time was never meant to insert any silence. In the above example, all it meant was that the first 2 seconds of Track 5 were supposed to hold the pre-gap, as supplied by the user who is acting as artist. It would also tell the CD Player, to start the counter at -2 seconds, instead of at 0, when playing through. If the artist wanted for there to be 2 seconds of silence, the responsibility would still have been his, to make sure each of his Audio Tracks began with 2 seconds of silence.

The first 2 seconds of any Audio Track so programmed, would again be skipped by the CD player, when the player was instructed to skip ahead to said track.

What the developers of K3b soon realized, was that most people have Audio Tracks, on which the songs start immediately. And so in some later version, they designed K3b so that the ‘post-gap‘ of the current Track could be be set to something other than 0, if there was a following Track.


Thus, instead of having a pre-gap timing on Track 5 set to -2 seconds, it is now possible to have a post-gap timing for Track 4, set to 2 seconds, which does the same thing which an assumed pre-gap on Track 5 used to do.

The post-gap setting on Track 4 will now tell the timer of the CD player to stop counting time belonging to Track 4, and to jump back to -2 seconds, as continuous playback continues, within the last 2 seconds of Track 4, and also to continue at the beginning of Track 5, by which time the timer should have reached 0.

So now, if the artist wants for there to be an actual 2 seconds of silence, he would need to edit into the last 2 seconds of Track 4, before adding Track 4 to his project. Also, with a post-gap timing set for Track 4, if the listener decides to skip in to Track 5 on his player, he will no longer be directed to 2 seconds, inside Track 5. (Never was.) Instead, his player will now take him directly to the exact beginning of Track 5, because the logical pre-gap of Track 5, is now the post-gap of Track 4, according to the new system. (Always was.)

The purpose in doing this, is that the gap between the tracks could be something other than silence. For example, specifically between Track 4 and 5, it could be the intention of the artist, to put a 10-second effect, which will not play if the CD player is advanced directly to Track 5. In this case, the artist would need to edit this effect into the ending of Track 4, and set the ‘post-gap’ of Track 4 to 10 seconds


(Edit 08/07/2016 : ) If it is honestly the intention of the author, to have a sound-effect acting as an intro to the following Audio Track, that plays for more than ?4 seconds? , There would be nothing preventing him from editing that into the ending of the preceding track, but still to leave the post-gap set to 2 seconds.

Also, authors have run in to the problem from time to time, that they hear a popping or crackling sound when they try to create a DAO Disk. This could be due to some malfunction of their disk-authoring software, or of their CD-R drive. But there can also be a more innocent cause for this.

The fact that the audio streams supplied to the authoring software are digital, does not preclude the possibility that they could be storing some type of DC (Direct-Current) Offset. Most disk-authoring software makes no attempt to smooth the transition from one Track to the Next. I.e., we might be tempted to think, that because the amplitude of the signal could be zero at the moment of transition, the last sample of Track 4 in my example, should also be exactly equal to the first sample of Track 5. Well they may not be equal, and if they are not, this will also produce a crackling or popping effect.

In the case of silence, audio editing software that computes DC offset, which is nothing but the average of all the samples of a Track, may offer to zero that, let us say as part of a normalization step (Audacity example shown).


In case music or sound should play continuously over the transition / gap, the only way really to make sure that 2 successive samples match, is to start with a single Track, and to Split that, and to do no further editing of the resulting, shorter Tracks.

And yet, this is also a possible situation where either the software or the CD-R drive may not cooperate.

(Note : ) If all you are looking for is an easy way to insert 2 extra seconds of silence between your songs, the best suggestion I would come up with, would be to use a sound editor such as ‘Audacity‘, to create a single 2-second sound track, which has been formatted correctly, and which contains silence.

Then, within ‘K3b’, If for example you had 10 Audio Tracks to start with, you could insert your silence Track as the even-numbered Tracks 2-18, such that the original music Tracks become the odd numbered ones from 1-19. Then, you can use the context menus within K3b itself, to merge each of these odd-numbered tracks with the even-numbered one which follows it, so that you have 10 Audio Tracks again. Tada.

1: ) ( 06/12/2016 ) I should really not be so presumptive. There can easily be other disk-burning applications, which do insert those 2 seconds of silence. Further, ‘K3b’ versions earlier than 0.12 also used to do so. K3b version 0.12 started to change the behavior of the ‘pre-gap’, but it was still referred to as a pre-gap. The version of K3b which I now have, which I am basing this posting on, is version 2.0.2 . And it was one of the more recent versions such as 2.0.2 , which started to reorganize the pre-gap as the ‘post-gap’.

(Edit 08/07/2016 : ) I mentioned the earliest CD Players, which needed an actual gap on the disk which was more reflective, to recognize a track-switch in commercially-made CDs. Well, one reason for which the earliest DAO disks had a pre-gap, pertained to the fact that the medium itself had grooves, with a constant spacing. Users might imagine that their disk-burners are able to work very autonomously, but in fact they require that the surfaces have depressions – or other patterns – manufactured into them, into which they burn their tracks.

I think that with the earliest software, TAO disks may have actually been recorded in such a way, that the player would still see them as being ‘more reflective’, but this would be because the disk had spent numerous revolutions, with no content in that groove.

What any more recent player will do, when instructed to skip ahead to ‘Track 5′, is compute approximately how many turns into the disk this will be found, and then start reading the track…

A certain bit encoded into the track actually signifies that it belongs to the pre-gap, and that as such it still belongs to the track preceding the one sought (belonging to #4). Playback will then not start, until this bit becomes zeroes.

But when playing through from ‘Track 4′ in such a case, the other bits are still allowed to contain audio, assuming modern players.


Print Friendly, PDF & Email

Ripping DVDs with Linux

I just recently received a DVD which a relative of mine from Germany, had authored privately in 1994, and when I did, my first concern was not so much to watch the whole footage, but rather of archiving it. In 1994 it was very trendy, to compose our own menus for Movie-DVDs and so forth. But these days, optical storage may no longer be the ideal solution to archiving footage.

And so in principle, archiving means ‘ripping’, and then storing on some other medium, which I hope to be more permanent.

Under Linux, it is quite possible to rip DVDs. One way that has existed for a long time, has been just to use the Graphical User Interface of “K3b”, which depends on having the package ‘transcode‘ installed. But there is a recent behavior of K3b which many people have noticed. This program will only rip properly, to the ‘DivX‘ format. The ‘MPEG4‘ format is temporarily out of order within this application. And, DivX is known to be an inferior format.

And so one solution which worked for me, was first to use K3b in order to make an ISO File of the DVD, and after that to tell another GUI application named “Handbrake” to open that ISO File. For me, that did the trick well. Handbrake will offer to store the titles in M4V Files by default, which is just another naming for MP4 Files, that are H.264-compressed in either case. Or it will allow us to store them in ‘Matroska‘ (MKV) Files.



Print Friendly, PDF & Email