After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523116 - Record notes with microphone
Record notes with microphone
Status: RESOLVED NOTGNOME
Product: tomboy
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
gnome[moved-to-github]
: 380388 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-18 08:33 UTC by Nickolay V. Shmyrev
Modified: 2017-07-31 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
only check the path (656 bytes, patch)
2008-04-07 01:27 UTC, Olivier Crête
rejected Details | Review
Latest Gabriel's patch (8.68 KB, patch)
2008-07-18 21:30 UTC, Nickolay V. Shmyrev
none Details | Review
Recent version of the patch (6.06 KB, patch)
2008-07-29 22:43 UTC, Nickolay V. Shmyrev
committed Details | Review
Newest version: august 17 (10.45 KB, patch)
2008-08-17 22:33 UTC, Gabriel Marcondes
reviewed Details | Review

Description Nickolay V. Shmyrev 2008-03-18 08:33:02 UTC
It would be nice to have a way to record your note quickly to be able to listen it later. This will work much faster than typing I'd say.
Comment 1 Marc-Andre Lureau 2008-03-18 22:56:21 UTC
Very interesting idea indeed!

Could it use gnome-sound-recorder? (and improve it, this way)
Comment 2 Nickolay V. Shmyrev 2008-03-19 07:13:31 UTC
Sure, though I'd like to see recording widget embedding into note window. It's rather easy to implement, but the main problems will be:

1) interface with gstreamer
2) setting proper user recording level and providing feedback. Unfortunately on current Linux systems it's rather hard to record sound properly. It's sometimes silence instead of speech and sometimes it just fails to open dmix. ekiga probably does it correctly. 
Comment 3 Olivier Crête 2008-04-07 01:27:59 UTC
Created attachment 108749 [details] [review]
only check the path
Comment 4 Olivier Crête 2008-04-07 01:41:42 UTC
oops, attached file to the wrong bug..
Comment 5 Helge Hielscher 2008-04-23 17:19:59 UTC
Finally GSoC makes it happen. I've been looking for a linux based voice note recorder for years. The main feature missing from normal recorders is the automatic detection of pause (switch between pause and record on the fly).

You might want to have a look at Audio Notes Recorder for Windows for additional ideas.
http://www.xemico.com/anr/index.html
Comment 6 Nickolay V. Shmyrev 2008-04-23 17:26:49 UTC
Nice idea really, thanks. There are great amount of important features. Among others I'd like to mention ability to append recording to existing one.
Comment 7 Sandy Armstrong 2008-04-23 18:06:49 UTC
Gabriel Geraldo França Marcondes will be working on this for Google Summer of Code 2008.  Nickolay, a Tomboy contributor, will be mentoring him.

I talked to Boyd, and here are our guidelines for Gabriel working in Tomboy SVN:
 * Gabriel may create the directory /Tomboy/Addins/VoiceNotes (replace VoiceNotes with whatever you want to call the addin).
 * Gabriel may commit whatever code he likes to his addin directory.
 * Any changes to other Tomboy code *must* go through the regular review process.  A bug must be opened in bugzilla, and a patch attached there for review, and no code committed until a maintainer (Boyd or me) approves it.
 * When Gabriel feels the VoiceNotes addin is ready to be enabled in the Tomboy build, the addin and associated Makefile changes must be submitted for review.  Update this bug or email the list to let us know.

I'm looking forward to Gabriel's work...I've been hearing a lot of requests for this feature lately, and I'm excited to see how it works out.  Please join us in #tomboy and on the mailing list, and keep us informed on your thoughts and progress!
Comment 8 Nickolay V. Shmyrev 2008-04-29 15:25:18 UTC
http://www.youtube.com/watch?v=f5ufIveIEKc <- video about extending memory in short about notes
Comment 9 Mickael 2008-05-06 22:54:57 UTC
Hi,

I think it would be a good idea to develop a speech search. I'm working actually on the spoking term detection. If I can help some body contact me...
Comment 10 Nickolay V. Shmyrev 2008-07-18 21:30:12 UTC
Created attachment 114793 [details] [review]
Latest Gabriel's patch
Comment 11 Nickolay V. Shmyrev 2008-07-18 21:47:52 UTC
Hi Gabriel, nice work. A few comments on the latest version of the patch:

1. You don't need GMainLoop at all, just remove it. Pipeline will work without any additional loops, it's already running in thread by gstreamer.

2. Please use gconfaudiosrc and gconfaudiosink in pipelines

3. Please don't use fixed-width strings and strcat. Use g_strcat with next free when needed. Or g_strdup_printf/g_free.

4. User needs some feedback about recording. Is it possible to add vumeter on recording and playback on? For example gnome-media must have vumeter widget.

There are many more things to implement in UI actually :)
Comment 12 Sandy Armstrong 2008-07-18 21:51:53 UTC
Feel free to commit all of this, except for the changes outside of Tomboy/Addins/VoiceNotes.

So don't commit:

configure.in
Tomboy.mdp
Tomboy/Addins/Makefile.am
Tomboy/Tomboy.exe.config.in

After we get a chance to try this out and feel comfortable that it doesn't blow up our household pets, the rest can go in (probably disabled by default at first).
Comment 13 Gabriel Marcondes 2008-07-19 01:47:15 UTC
Thank you all for the tips.
Sandy, I'll do the things Nickolay said, and then commit.
Comment 14 Nickolay V. Shmyrev 2008-07-29 22:43:02 UTC
Created attachment 115527 [details] [review]
Recent version of the patch
Comment 15 Nickolay V. Shmyrev 2008-08-15 21:38:25 UTC
Btw, another interesting idea from logs - the ability to add note from an external recorder (from a voicemail server, for example). So you can leave notes from any location and they will be stored in tomboy.
Comment 16 Gabriel Marcondes 2008-08-17 22:33:21 UTC
Created attachment 116835 [details] [review]
Newest version: august 17

Sandy, I need your review: I've added a HBox to NoteWindow.cs, at the bottom of the window, because I needed to add a VolumeButton and the toolbar doesn't accept.
Also, I put all the other buttons into this new place, so the default layout won't hide any of them.
Comment 17 Stefan Schweizer 2008-09-30 19:58:14 UTC
*** Bug 380388 has been marked as a duplicate of this bug. ***
Comment 18 Aaron D Borden 2011-06-12 03:12:53 UTC
Review of attachment 116835 [details] [review]:

Thanks for the patch, mostly code style comments. Not sure about the Hbox in NoteWindow.. We could probably stick a volume control in the Tools drop down menu. It's a bit tricky but I've seen similar things done. The only reason is that if we're going to create an extra space for Add-ins to put widgets it should be done in a more formal way. We have too much breakage of Add-ins from version to version.

::: Tomboy/NoteWindow.cs
@@ +289,3 @@
 		}
+		
+		public Gtk.HBox ExtraSpace {

Do we want to put an API around this, like we do with the tools menus so other addins can access it?

::: Tomboy/Addins/VoiceNotes/voicenotemedia.c
@@ +85,3 @@
+  {
+    gint volumes[2] = {new_volume, new_volume};
+    gst_mixer_set_volume(mixer, track, volumes);

As per code style, spacing between method name and (

@@ +92,3 @@
+get_volume ()
+{
+  gint volumes[2];

Spacing between name and [

@@ +93,3 @@
+{
+  gint volumes[2];
+  gst_mixer_get_volume(mixer, track, volumes);

Spacing

@@ +94,3 @@
+  gint volumes[2];
+  gst_mixer_get_volume(mixer, track, volumes);
+  return volumes[0];

Spacing between name and [
Comment 19 Aaron D Borden 2011-06-12 03:13:54 UTC
The big blocker for this commit is the sync aspect. We need some standard way to sync attachments with notes.
Comment 20 André Klapper 2017-07-31 12:38:22 UTC
The Tomboy team has moved from GNOME Bugzilla to GitHub for bug reports and feature requests: 
      https://github.com/tomboy-notes/tomboy/issues/
Closing this report as NOTGNOME as part of Bugzilla Housekeeping (bug 781054) to keep tasks in one place. Please feel free to transfer this task to GitHub if this task is still valid in a recent Tomboy version. 
We are sorry for the inconvenience.