maemo.org - Talk

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

handaxe 2015-05-13 23:09

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Quote:

Originally Posted by pichlo (Post 1470249)
I would also include feedback noises to the list: key press, application start animations etc. The more you think about it the more it starts looking less like "what to mute" and more like "what to exclude from muting".

Interesting - in stock implementation, silent includes the possibility of vibration alerts, and that does create noise. In my view, silent is in fact not mute but more sotto voce, i.e. anything that can largely pass unnoticed but by the carrier.

Anyhow, as calls are active under silent, recording should be too. or have I missed the point?

Copernicus 2015-05-14 00:03

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Quote:

Originally Posted by handaxe (Post 1470285)
Anyhow, as calls are active under silent, recording should be too. or have I missed the point?

Yes, you are correct, I was mistaken -- "Silent" mode appears to mean that the phone will not produce any autonomous sound. Direct user requests for audio output are still honored. Which does make a lot more sense to me, now that I think about it; if you really wanted to kill all the sound on the device, you could just turn it off. :)

As it turns out, it may be the case that for Playbin2 one needs to specify that the user is directly requesting the audio output. (Again, the lack of documentation here is really infuriating; I hope Jolla does a better job than Nokia did in specifying how to use their software.) I've found at least one note, from a guy who ported Rockbox to the N900, that there is some DBus method to grant access rights to play audio while the phone is in silent mode:

http://www.rockbox.org/mail/archive/...-12/0111.shtml

I'm still trying to decipher exactly what he did. (It's been a while since I went through the various DBus calls anyway, so I'm due for a refresher course. :) )

elros34 2015-05-14 05:38

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Look at qmegaphone or qmlradio source code and you will find simply workaround.

Copernicus 2015-05-14 23:02

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Quote:

Originally Posted by elros34 (Post 1470294)
Look at qmegaphone or qmlradio source code and you will find simply workaround.

Ok, I've checked both of them. It is a simple workaround; rather than using the "playbin2" element, they use "pulsesink". I'm pretty sure "pulsesink" is audio-only, so I'd still have to do something else to allow for video playback.

I'll keep investigating Rockbox for the moment, as that code uses playbin2 and still managed to get it to work. :)

EDIT: It appears that there is a package called "libplayback" that is the official(?) method for declaring an app as being allowed to play audio during silent mode (among other things). It appears to have been created in response to bug 6694. I'll try and use it in Orecchiette...

Copernicus 2015-05-16 17:29

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
3 Attachment(s)
Hi folks! Well, version 0.3 of Orecchiette is now heading up to Extras-Devel. This one is sort of an intermediate build; I've still got several items I'd like to implement (particularly the aforementioned play-during-silent-mode ability), but the code is at a relatively stable state right now. So, I figured I should push it up and see what users think about it.

This build features some minor but long-necessary cleanup of the UI; in particular, on the main screen, input choices have been placed into two combo boxes, one for audio, another for video. So, the main window is now a bit cleaner.

And yes, there are now multiple video choices. The front and back cameras are now available for recording. A new "video monitor" window has been added to see what is being recorded on them. This is all pretty rough right now; serious video recording should still be done with one of the full-blown camera apps. :)

As requested, parameters for controlling the AAC encoding have been added to the Preferences panel. I can't swear that increasing the bitrate provides any better quality of audio, but lowering it down below 16000 does create some funny effects. :) As to what, if anything, the rest of the parameters do, I can't really say. (Nor do I know what their limits are, nor if they even are valid parameters...) So you are hereby warned that unexpected things may happen if you modify these values yourself.

I have also created a new desktop icon, sporting a big red "record" button, and a smaller picture of a little orecchiette pasta. It probably still needs a little more work, but hopefully looks a bit more presentable than the previous desktop icon. :) I'll attach this icon and a few screenshots to the end of this post.

As always, please be prepared for bugs, and tell me if you find any! Thanks.

Copernicus 2015-05-18 11:44

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
A quick update -- version 0.3.1 is now heading up to extras-devel. The video handling code I put into Orecchiette came from another project I've been working on, part of which involved disabling the system Camera app while it is running. Orecchiette really doesn't need to do this, so I've removed that code from the app.

ThomasAH 2015-05-19 10:46

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Quote:

Originally Posted by Copernicus (Post 1470680)
A quick update -- version 0.3.1 is now heading up to extras-devel. The video handling code I put into Orecchiette came from another project I've been working on, part of which involved disabling the system Camera app while it is running. Orecchiette really doesn't need to do this, so I've removed that code from the app.

Thanks a lot Copernicus for updating this application! :)

If it's not too much trouble, could you maybe also add the deb file for the latest version to the first post?

Copernicus 2015-05-19 11:22

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Quote:

Originally Posted by ThomasAH (Post 1470852)
If it's not too much trouble, could you maybe also add the deb file for the latest version to the first post?

Done! :)

Also, you should always be able to get the latest .deb file by going to the Orecchiette project page.

pichlo 2015-05-19 11:25

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
It may be just me, but I preferred the old icon :)

ThomasAH 2015-05-19 11:28

Re: [Announce] Orecchiette - an all-purpose audio recording app
 
Quote:

Originally Posted by Copernicus (Post 1470853)
Done! :)

Also, you should always be able to get the latest .deb file by going to the Orecchiette project page.

Thanks a lot :) Somehow http://maemo.org/packages is extremely slow for me (as in: a single (sub)page costs about 3 minutes to load), and it also doesn't load the stylesheet, just plain HTML. Don't know what's up with that...

Quote:

Originally Posted by pichlo (Post 1470856)
It may be just me, but I preferred the old icon :)

Personally, I prefer the new one!


All times are GMT. The time now is 10:12.

vBulletin® Version 3.8.8