maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Lanterne - an all-purpose flashlight app (https://talk.maemo.org/showthread.php?t=90229)

Copernicus 2013-06-07 00:01

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Quote:

Originally Posted by sixwheeledbeast (Post 1350109)
Any chance of an option to automatically switch on a mode at start-up?
I am thinking a checkbox to enable with a combobox with (Torch and Flash) options in.

Hmm, sounds doable. Let me give it a shot. :)

Garrett_PL 2013-06-07 00:40

Re: [Announce] Lanterne - an all-purpose flashlight app
 
As usual great app Sir. Is it possible to add something like timing clock to torch, as an option to turn off it self after chosen amount of time. Like sleep timer.

Copernicus 2013-06-07 01:00

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Quote:

Originally Posted by Garrett_PL (Post 1350123)
As usual great app Sir. Is it possible to add something like timing clock to torch, as an option to turn off it self after chosen amount of time. Like sleep timer.

Drat, and I just completed another update. :) That sounds fairly easy to do, let me see what it would take to implement.

Well, the autobuilder is once again stuck in an endless loop, so I don't know when (or if) it will happen, but Lanterne 0.5.3 has been submitted for entry into the extras-devel repository. In this one, a new feature to automatically switch on the LEDs when Lanterne is started (thanks Sixwheeledbeast); this can be controlled via a new pair of options on the Preferences window. Also, a fix for an uninitialized variable (thanks Chill).

Estel 2013-06-07 01:08

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Quote:

Originally Posted by sixwheeledbeast (Post 1350109)
Feature request.
Any chance of an option to automatically switch on a mode at start-up?
I am thinking a checkbox to enable with a combobox with (Torch and Flash) options in.

This will then completely remove my need for Flashlight.

Brilliant idea! Practically, this removes need for status-menu widget or anything like that. Unless Copernicus got some nifty ideas to (ab)use it for something more ;)

/Estel

Copernicus 2013-06-08 11:13

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Quote:

Originally Posted by Estel (Post 1349557)
A good program for (automatically or manually) recording calls, system/bluetooth sound, etc! We have "recaller", but it's unmaintained, bugged as hell, tends to hang on worse possible moments, and half functions doesn't work as intended (FLAC recording fails silently, can't automatically record SIP conversations at all...) + It suffers from "I'm a widget" crippled configuration (still, some bits of it could be sueful to determine how to achieve certain things).

Having all the bad things about recaller said, I'm using it daily (and many other people too, AFAIK), so I would download properly maintained replacement in a heartbeat. Could be good reason for you to learn bits about N900 sound thingie's, too :)

Well, I took a look at the Recaller source code. And it isn't that bad; I thought to myself, "Hey, this is just a little Python script that makes a few DBus calls and a few GStreamer calls. And I already know how to use DBus. I could whip out a C++ app for this in no time flat!"

Heh.

"Learn bits about N900 sound thingie's", you ain't kidding. The GStreamer mechanism is vast; I spent an amazing amount of time researching, selecting components, and twiddling with parameters before I managed to record a single audio file. And I suspect you could spend a lifetime trying to come up with an optimal GStreamer pipeline, there are just so many variables to consider... And, as it turns out, I didn't understand DBus nearly as well as I'd thought either.

Anyway, after much teeth-gnashing and hair-pulling, I've come up with a rudimentary audio recording app. It still needs work, but I figure I should put it out there and see what folks think about it. I've named it "Orecchiette"; I'll go ahead and put up an announce thread for it...

Garrett_PL 2013-06-08 11:36

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Small ear shaped, home made pasta. You are big pasta stuff fan :-D

But seriously, will be great to have an allternative for Recaller - I'm using it all time, and because of that, I have to reboot at least few times a week - and that's not busy week.
Any news with Lanterne torch auto - off time, is it easy ( for You easy ) to do?

Copernicus 2013-06-08 11:50

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Quote:

Originally Posted by Garrett_PL (Post 1350504)
Any news with Lanterne torch auto - off time, is it easy ( for You easy ) to do?

Ah, adding a timer is easy; figuring out a user interface for it, that I'm not so good at. I'm thinking maybe an additional entry in the Preferences window? Something that would apply to all the torch modes... Let me see what I can come up with. :)

nokiabot 2013-06-08 12:04

Re: [Announce] Lanterne - an all-purpose flashlight app
 
App machine ! You are too fast :eek:

jellyroll 2013-06-08 12:05

Re: [Announce] Lanterne - an all-purpose flashlight app
 
I never take or make phonecalls without having bluetooth audio source on Recaller enabled.
A Recaller alternative with MP3 and OGG file output format options would be great!
I look forward to this one.

Copernicus 2013-06-08 12:11

Re: [Announce] Lanterne - an all-purpose flashlight app
 
Quote:

Originally Posted by jellyroll (Post 1350514)
I never take or make phonecalls without having bluetooth audio source on Recaller enabled.
A Recaller alternative with MP3 and OGG file output format options would be great!
I look forward to this one.

I'm still working out the details on how audio actually works. :) I've currently got SPX, AAC, WAV, and FLAC encoding options set up, and they all seem to be working. I dunno if MP3 will work, there are patent encumbrances on it; but there might be a Nokia MP3 plugin available... Is "OGG" actually an audio encoding? I thought it was video. Let me do some research. :)

EDIT: Ah, yeah, "OGG" is the mechanism used for packaging audio and video together. (Kind of like Matroska.) There are several open source audio formats; I've already got support for Speex (an encoding format optimized for voice data). There's also Vorbis and Opus, which are higher-end encodings for music. Dunno just how much of a load using those would place on the N900, though.


All times are GMT. The time now is 23:20.

vBulletin® Version 3.8.8