[QtMoko] ringnote development (was: Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Brolin Empey
Thomas Gstädtner wrote:
> For my small tool epiano (which I haven't worked on in a while
> unfortunately), I use fluidsynth.
> You can easily use any soundfont you want and map a tone sequence to
> it, it's absolutely trivial and nice.
>
> If you plan to do this, use fluidsynth.
> You can have it run in background and play your melody in realtime
> with hardly any delay.
> It also has a nice API, so working with it is easy.

FluidSynth looks cool.  I had never even heard of it before today.

I have researched how to implement ringnote (feel free to suggest a 
better name! :)).  The QtEI GUI (in the Profile settings) does not 
appear to support running a command on incoming calls.  AFAICT, a QtEI 
client app is required:  see



The client app has to use FluidSynth to play the MIDI notes 
corresponding to the digits in the calling phone number.  The client app 
(what should we call it?  ringnoteclient?)  could call an external 
command, such as a bash/Perl/Python script, or interface with FluidSynth 
directly.  Calling an external command would be more modular and maybe 
easier to maintain, but having ringnoteclient interface directly with 
FluidSynth may be simpler.

I have 2 problems, though:

1. I do not even have a development environment/toolchain for building 
ringnoteclient.  I know I could get one, but I am afraid I will be 
starting Yet Another™ underestimated project. :(

2. I have little experience with C++.  I could learn more as needed, but 
I still prefer C over C++.

So, can anyone with the required tools and C++ experience help? :)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Nelson Castillo
On Sat, Jan 30, 2010 at 10:26 PM, Brolin Empey  wrote:
> Nelson Castillo wrote:
>> On Sat, Jan 30, 2010 at 7:10 AM, Brolin Empey  wrote:
>>> Hello list,
>>>
>>> Yes, believe it or not, I am actually posting a message which could be
>>> considered on-topic! ;)
>>
>> A small step for a man :-P
>
> A small step for a stepwise sequencer too? ;)
>>
>>> I have had an idea for years, but have not searched to see if anyone has
>>> already implemented it.
>>>
>>> My idea is to have my cell phone (my FreeRunner, of course, which runs
>>> QtMoko v14) dynamically generate a ringtone for incoming calls:  the
>>> ringtone would be a monophonic sequence of tones or notes corresponding
>>> to the sequence of digits in the calling phone number.  I think this
>>> would be cool because I could identify the caller by the ringtone alone:
>>>   I would not need to read the display.  The initial version could
>>> hard-code the mapping of digits to notes;  a subsequent version could
>>> read the mapping from a file, like Keynote does (see below).
>>>
>>> Has anyone already implemented this?  Which search terms should I use to
>>> get relevant results from Google Search or maybe Bing?
>>
>> We also had the Idea but I never worked on it. The idea came from a
>> Friend (Marlon) after I explained him how this program worked:
>>
>> http://wiki.freaks-unidos.net/weblogs/arhuaco/listen-to-the-collatz-conjecture
>
> “Here is the partiture for the following video: 27.pdf. You'll find the
> MP3 bellow.”
>
> Why did you use the Spanish word “partiture” instead of the English
> term/phrase “sheet music”?  I already knew “sheet music”, but had to
> search to discover “partiture” means “sheet music”.

English is my second language... now you can guess where the Spanish
word came from.

> 
>
> Why did you film the screen instead of using a program to record the
> video, such as HyperCam DX on Windows?

I usually use xvidcap on Linux. I don't remember why I didn't use it.

> “if N % 2 != 0: # even number”
>
> Unless I am missing something, that condition is true for odd numbers,
> not even numbers.  I do not write in Python, but I assume that condition
> has the same meaning as in C?

Yes. Fortunately the bug is in the comment and not in the code. Fixed, thanks.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Brolin Empey
Nelson Castillo wrote:
> On Sat, Jan 30, 2010 at 7:10 AM, Brolin Empey  wrote:
>> Hello list,
>>
>> Yes, believe it or not, I am actually posting a message which could be
>> considered on-topic! ;)
>
> A small step for a man :-P

A small step for a stepwise sequencer too? ;)
>
>> I have had an idea for years, but have not searched to see if anyone has
>> already implemented it.
>>
>> My idea is to have my cell phone (my FreeRunner, of course, which runs
>> QtMoko v14) dynamically generate a ringtone for incoming calls:  the
>> ringtone would be a monophonic sequence of tones or notes corresponding
>> to the sequence of digits in the calling phone number.  I think this
>> would be cool because I could identify the caller by the ringtone alone:
>>   I would not need to read the display.  The initial version could
>> hard-code the mapping of digits to notes;  a subsequent version could
>> read the mapping from a file, like Keynote does (see below).
>>
>> Has anyone already implemented this?  Which search terms should I use to
>> get relevant results from Google Search or maybe Bing?
>
> We also had the Idea but I never worked on it. The idea came from a
> Friend (Marlon) after I explained him how this program worked:
>
> http://wiki.freaks-unidos.net/weblogs/arhuaco/listen-to-the-collatz-conjecture

“Here is the partiture for the following video: 27.pdf. You'll find the 
MP3 bellow.”

Why did you use the Spanish word “partiture” instead of the English 
term/phrase “sheet music”?  I already knew “sheet music”, but had to 
search to discover “partiture” means “sheet music”.




Why did you film the screen instead of using a program to record the 
video, such as HyperCam DX on Windows?


“if N % 2 != 0: # even number”

Unless I am missing something, that condition is true for odd numbers, 
not even numbers.  I do not write in Python, but I assume that condition 
has the same meaning as in C?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Timo Juhani Lindfors
Brolin Empey  writes:
> If you mean you want your hacks included in distro repositories, that 
> seems unnecessary because I think most Openmoko users know how to 
> manually install stuff not packaged by their distro! ;)

Yep but a ringtone is such a basic thing that it should be available
without having to manually install anything I think.

> If all else fails, Do It Yourself™? ;)

Yep.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Fw: set rts and frag in wifi card

2010-01-30 Thread Timo Juhani Lindfors
ya...@email.it writes:
> since it is not possible to set “rts” and “frag” through “iwconfig” (the
> resulti is operation not supported), I would want to know if that depends of
> flash version  ar6001gz owner, or if it is simply one characteristic not
> implemented in the module ar6k; my scope is that the moko make part of one
> manet and it is important to set the 'Request To Send' threshold value RTS
> for a mesh.

There is no documentation afaik. Have you tried taking a look at the
kernel or userland source code?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Brolin Empey
Timo Juhani Lindfors wrote:
> Brolin Empey  writes:
>> in the HVSC under C64Music\Ouwehand_Reyn:
>
> My problem with HVSC is that it's not DFSG-free [1] so such a ringtone
> could never be included in the Debian main distribution.





I made the first 2 in 2004, when I was 17. :D  The 3rd is from some “Oh 
Noes!” Web site.  Maybe , but that is now a spam 
portal.  Apparently, “women masterbating” (sic) is somehow related to 
“Oh Noes!”. :)

Anyway, on a more serious note (pun intended!), non-DFSG-freeness does 
not matter to me:

1. I prefer Windows Vista/7 + Ubuntu over plain Debian.
2. I do not need freedoms I never use anyway.  I use a lot of both Free 
+ proprietary software, but, for my use, it would not matter if a lot of 
the Free software I use was proprietary because I do not use the 
Freedoms granted to me:  I simply use the official builds or my distro’s 
builds as-is.  Granted, open source is useful for building software for 
non-x86 Linux, such as, of course, ARM, as used on the FreeRunner and 
countless other devices.  My laptop is x86, though, so I can run 
proprietary x86-only software on it instead of on my FreeRunner.
3. I like having unique ring + alert tones.  Consequently, lack of 
inclusion in a popular distro can actually be considered beneficial! :)

> Since I
> wanted to make sure that there is at least a possibility to
> incorporate my hacks back to other users I spent a long time looking
> for a free ringtone.

If you mean you want your hacks included in distro repositories, that 
seems unnecessary because I think most Openmoko users know how to 
manually install stuff not packaged by their distro! ;)

> I eventually found some existing ones but did not
> like them much so just gave up and created a simple one myself.

If all else fails, Do It Yourself™? ;)
>
> [1] http://www.debian.org/social_contract

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Fw: set rts and frag in wifi card

2010-01-30 Thread yashi
 
 
 
 Hi,
since it is not possible to set “rts” and “frag” through “iwconfig” (the
resulti is operation not supported), I would want to know if that depends of
flash version  ar6001gz owner, or if it is simply one characteristic not
implemented in the module ar6k; my scope is that the moko make part of one
manet and it is important to set the 'Request To Send' threshold value RTS
for a mesh.
 
 Regards, antonella zurzolo
  
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it: http://www.email.it/f
 
 Sponsor:
 Conto Arancio ti regala 50 Euro da spendere su Media World on line. Cosa
aspetti, aprilo subito!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10033&d=20100131



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Timo Juhani Lindfors
Brolin Empey  writes:
> in the HVSC under C64Music\Ouwehand_Reyn:

My problem with HVSC is that it's not DFSG-free [1] so such a ringtone
could never be included in the Debian main distribution. Since I
wanted to make sure that there is at least a possibility to
incorporate my hacks back to other users I spent a long time looking
for a free ringtone. I eventually found some existing ones but did not
like them much so just gave up and created a simple one myself.

[1] http://www.debian.org/social_contract


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Brolin Empey
Timo Juhani Lindfors wrote:
> Brolin Empey  writes:
>> PS:  How many Openmoko users make their own ringtones?
>
> http://iki.fi/lindi/openmoko/ringtone/
>
> is how I made my ringtone as loud as possible. If you know how to make
> it even louder, I am interested :-)

Cool!  I had never heard of the ABC music notation format before today. 
  abc2midi looks useful for non-interactively building MIDI files and/or 
input to feed to timidity.

I used wget to leech your ringtone/ directory:

$ time wget -rkKp -nd -np http://lindi.iki.fi/lindi/openmoko/ringtone/

I used to use wget a lot for jobs like this, but for the past few years 
I have mostly used it simply to download single files.  It was fun to 
“get back into” mirroring with wget!


I was considering writing 2 SIDs from Black Mail’s famous 1991 C64 demo 
“Dutch Breeze” as .wav files so I could use them as ringtones:

in the HVSC under C64Music\Ouwehand_Reyn:

Dutch_Breeze_FLI_Scroll.sid
Dutch_Breeze_Flip_the_Flop.sid

I still have not done so, though, so I am still using Random Voice - 
Monday as my ringtone.

I love these oldskool chiptunes so much, even if I was only 4 when they 
were released! :P

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Thomas Gstädtner
For my small tool epiano (which I haven't worked on in a while
unfortunately), I use fluidsynth.
You can easily use any soundfont you want and map a tone sequence to
it, it's absolutely trivial and nice.

If you plan to do this, use fluidsynth.
You can have it run in background and play your melody in realtime
with hardly any delay.
It also has a nice API, so working with it is easy.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-t] [fixed] navit crashes with Reiseplanner maps while searching for a town

2010-01-30 Thread Martin Jansa
On Sat, Jan 30, 2010 at 08:03:18AM +0100, Xavier Cremaschi wrote:
> Martin Jansa a écrit :
> > On Fri, Jan 29, 2010 at 07:55:00AM +0100, Xavier Cremaschi wrote:
> >> Martin Jansa a écrit :
> >>> Upgrading navit on root from 1:0.1.0+svnr2902-r5.4.4 to 
> >>> 1:0.1.0+svnr2934-r5.4.4...
> >>> Downloading 
> >>> http://jama.homelinux.org/org.openembedded.shr/armv4t/navit_0.1.0+svnr2934-r5.4.4_armv4t.ipk
> >>> Upgrading navit-locale-cs on root from 1:0.1.0+svnr2902-r5.4.4 to 
> >>> 1:0.1.0+svnr2934-r5.4.4...
> >>> Downloading 
> >>> http://jama.homelinux.org/org.openembedded.shr/armv4t/navit-locale-cs_0.1.0+svnr2934-r5.4.4_armv4t.ipk
> >>> Upgrading navit-icons on root from 0.1.0+svnr2871-r1.4 to 
> >>> 0.1.0+svnr2927-r1.4...
> >>> Downloading 
> >>> http://jama.homelinux.org/org.openembedded.shr/all/navit-icons_0.1.0+svnr2927-r1.4_all.ipk
> >>>
> >>> Cheers,
> >>>
> >> SHR-t here, so I cannot test :(
> > 
> > It's already in shr-u feeds, imho best way to try new stuff and still
> > have reliable phone is to install shr-u on 2nd partition on uSD or just
> > on uSD if you have shr-t installed in nand.
> > 
> > You don't even have to reboot to use app from shr-u... 
> > 
> > Well sometimes you have to use chroot wisely and ie start Xorg from
> > chrooted shr-u.. with fso still running in shr-t etc.
> > 
> > Regards,
> > 
> 
> 
> Ok I installed it with --force-depends (after all it's a glitch-fixing 
> release, not a lib change) and it works !.
> 
> What would be your recommendation for navit on shr, "echo 1 > 
> /proc/sys/vm/overcommit_memory" or adding some swap ?

I'm personaly using swap (on uSD), because it's usefull for more apps then 
navit.

Also overcommit_memory could be imho considered only as workaround for
versions where navit refused to start because of memory requirements.

Regards,

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Michael Smith
On Sat, 30 Jan 2010 04:10:39 -0800
Brolin Empey  wrote:

> My idea is to have my cell phone (my FreeRunner, of course, which runs 
> QtMoko v14) dynamically generate a ringtone for incoming calls:



I have been generating ringtones with the "tones" program from the siggen 
package. See:

http://glitch.tl/cgi-bin/hgwebdir.cgi/home/host/glitch.tl/repos/ringtones/file/4c84dc2dcdd4/create_tones.ksh

tones -f -w usr/share/sounds/five_tones.wav 500 d6 e6 c6 c5 g5:1000

So if you could install siggen on the phone you could create the wav before 
ringing, but it would delay the ring somewhat.
-- 
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting  | Internet Services

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: CompuLab‘s exeda

2010-01-30 Thread Vinzenz Hersche
woow, i've just a short look on the phone, but it seems to be very very 
nice :D

may i let the openpandora-idea be and do stuff with this thing.. :)

thx for the hint, brolin..

if someone is interessted to the prices..
http://www.compulab.co.il/exeda/html/exeda-price.htm
does someone know if there's a linux (not android!) with a stable gsm-
connection for it? as i read, angstrom is supportet, but does it work stable 
and support the gsm-things?
---
Brolin schrieb am Samstag 30 Januar 2010:
Brolin Empey wrote:
> William Kenworthy wrote:
>> I'd looked at this one but its not 3G capable.
>
> Then why does  list “A choice of
> wireless voice/data modem – quad band GSM/GPRS, CDMA or 3G UMTS”?
> ^^^

Grr, I mistakenly expected my MUA (Thunderbird) to send my message with 
the lines (hard) wrapped as shown in the Compose window, but it sent my 
message without like breaks in the long lines. :(  The “^^^” was 
supposed to under “3G UMTS”, but you probably already guessed that. ;)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FOSDEM 2010 Devroom

2010-01-30 Thread Pieter Colpaert
That's great new Mickey!

Thanks! I'll be there

Pieter

On Sat, 2010-01-30 at 13:01 +0100, Michael 'Mickey' Lauer wrote:
> Hi guys,
> 
> due to some lucky (for us) coincidences, even after our request for a
> devroom was officially declined, we got hold of a small time slot to
> gather and hold some presentations.
> 
> We have cooked the following timeslot:
> 
> http://fosdem.org/2010/schedule/devrooms/openmoko
> 
> Hope to see you there,
> 



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Nelson Castillo
On Sat, Jan 30, 2010 at 7:10 AM, Brolin Empey  wrote:
> Hello list,
>
> Yes, believe it or not, I am actually posting a message which could be
> considered on-topic! ;)

A small step for a man :-P

> I have had an idea for years, but have not searched to see if anyone has
> already implemented it.
>
> My idea is to have my cell phone (my FreeRunner, of course, which runs
> QtMoko v14) dynamically generate a ringtone for incoming calls:  the
> ringtone would be a monophonic sequence of tones or notes corresponding
> to the sequence of digits in the calling phone number.  I think this
> would be cool because I could identify the caller by the ringtone alone:
>  I would not need to read the display.  The initial version could
> hard-code the mapping of digits to notes;  a subsequent version could
> read the mapping from a file, like Keynote does (see below).
>
> Has anyone already implemented this?  Which search terms should I use to
> get relevant results from Google Search or maybe Bing?

We also had the Idea but I never worked on it. The idea came from a
Friend (Marlon) after I explained him how this program worked:

http://wiki.freaks-unidos.net/weblogs/arhuaco/listen-to-the-collatz-conjecture

His idea was that you can generate some musical tone after a phone
number. His idea was not to have a direct mapping from the number to
some kind of music but to map the calling number to unique melody that
you could learn to map to persons with time (I guess you would learn
the numbers that call you often rather  fast).

This is a nice approach because from the number you could:

- Select an instrument from a pool
- Select the timings
- And the melody

> If Timidity++ works on QtMoko, I could try to figure out how to read the
> calling phone number, map its digits to General MIDI notes, then feed
> the MIDI sequence to Timidity++.

I used songwrite because it was easier for me to generate notes this
way. But I guess that generating a midi is the right way to go.

> PS:  How many Openmoko users make their own ringtones?  I used OpenMPT
> on Windows to save one of my favourite chiptunes, Random Voice - Monday
> (MOD format) [1], as a PCM .wav file, then used LAME to encode the .wav
> file as an MPEG audio file so I could use it as my ringtone on my Nokia
> 6103b (Series 40), then my FreeRunner, since neither Series 40 nor
> QtMoko supports module formats as ringtones.

Not for ringtones but I've used LAME also to encode the files I
generated (-h -V2 -b32 -mj -q1
).

http://wiki.freaks-unidos.net/mp3-encode

Nelson.-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: CompuLab‘s exeda

2010-01-30 Thread Brolin Empey
Brolin Empey wrote:
> William Kenworthy wrote:
>> I'd looked at this one but its not 3G capable.
>
> Then why does  list “A choice of
> wireless voice/data modem – quad band GSM/GPRS, CDMA or 3G UMTS”?
> ^^^

Grr, I mistakenly expected my MUA (Thunderbird) to send my message with 
the lines (hard) wrapped as shown in the Compose window, but it sent my 
message without like breaks in the long lines. :(  The “^^^” was 
supposed to under “3G UMTS”, but you probably already guessed that. ;)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


CompuLab‘s exeda (was: Re: Alte rnatives to FR)

2010-01-30 Thread Brolin Empey
William Kenworthy wrote:
> I'd looked at this one but its not 3G capable.

Then why does  list “A choice of 
wireless voice/data modem – quad band GSM/GPRS, CDMA or 3G UMTS”?
 ^^^

The pricing page [1] does not mention 3G/UMTS/W-CDMA, though.

>  I like the physical
> keyboard, though being 96mm wide its a small book!

I wonder about the battery runtime too.  Anyway, you could use a small 
USB (or Bluetooth?) keyboard with the FreeRunner or another smaller 
phone without a physical keyboard.  I guess you will not want to always 
carry the keyboard with you, though?


[1] 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Michael 'Mickey' Lauer
Good plan,

I once tried to get supercollider running, but the dependencies were too
heavy, so I gave up.

-- 
:M:


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


ROAD Officer S101 - does it support UMTS? (was: Re: [Shr-User] Alternatives to FR)

2010-01-30 Thread Brolin Empey
Please avoid top-posting.  That is all I will say:  I do not want to 
start Yet Another™ posting style debate! :P

W.Kenworthy wrote:
> This is one I was not aware of - looks nice but its still not 3G capable

AFAICT, you are correct:  the tech specs page [1] does not mention 
3G/UMTS/W-CDMA.  However, the features page [2] lists:

“Easy acess to any network around you ( wlan/UMTS/edege/bluetooth/GSM)”
  

I guess the features page mistakenly lists UMTS?


[1] 
[2] 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New significant speedups coming to FreeRunner

2010-01-30 Thread Lars Hennig
Am Freitag 29 Januar 2010 schrieb Josh Thompson:
> Thanks for providing this kernel.  I've been very happy with the speedups.
> However, I seem to be missing the usb gadget kernel modules.  I can't seem
> to find them, and I'd like to be able to use the usb networking and mass
> storage modules.  Are they available somewhere?  Are they built in and I
> just don't know how to activate them?

Did you get the modules archive and did you extract it correctly?




-- 
Lars

 Lubarsky's Law of Cybernetic Entomology:
   There's always one more bug.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Timo Juhani Lindfors
Brolin Empey  writes:
> PS:  How many Openmoko users make their own ringtones?

http://iki.fi/lindi/openmoko/ringtone/

is how I made my ringtone as loud as possible. If you know how to make
it even louder, I am interested :-)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit memory leak

2010-01-30 Thread Timo Juhani Lindfors
Xavier Cremaschi  writes:
> :(   didn't know that.

Don't be so sad, it's much easier to do such development on x86 since
valgrind will slow things down a lot.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: dynamically generating ringtones based on the calling phone number

2010-01-30 Thread William Kenworthy
I like this idea! - maybe use dtmf tones?  Though there are apparently
people who can tell the number from the tones which may be a privacy
issue for some.

BillK



On Sat, 2010-01-30 at 04:10 -0800, Brolin Empey wrote:
> Hello list,
> 
> Yes, believe it or not, I am actually posting a message which could be 
> considered on-topic! ;)
> 
> I have had an idea for years, but have not searched to see if anyone has 
> already implemented it.
> 
> My idea is to have my cell phone (my FreeRunner, of course, which runs 
> QtMoko v14) dynamically generate a ringtone for incoming calls:  the 
> ringtone would be a monophonic sequence of tones or notes corresponding 
> to the sequence of digits in the calling phone number.  I think this 
> would be cool because I could identify the caller by the ringtone alone: 
>   I would not need to read the display.  The initial version could 
> hard-code the mapping of digits to notes;  a subsequent version could 
> read the mapping from a file, like Keynote does (see below).
> 
> Has anyone already implemented this?  Which search terms should I use to 
> get relevant results from Google Search or maybe Bing?
> 
> In 2002, I found an MS-DOS program (I think;  or maybe it was for 
> Windows?) which read a phone number on the command line and wrote a .wav 
> file of the (DTMF?) tones a touch-tone phone uses to dial the phone 
> number.  I thought it was cool because I could hold a handset’s 
> mouthpiece up to the PC speakers (I mean the stereo speakers connected 
> to the line-out or speaker-out jack, not the PC speaker inside the case! 
> :)), then play the .wav file to dial the phone number.  I should try to 
> find that program again.  I think it was written in Turbo Pascal or 
> Borland Pascal, but I forgot if it was open-source;  I used the author’s 
> binary.  I think it was called TCHTONE?
> 
> If Timidity++ works on QtMoko, I could try to figure out how to read the 
> calling phone number, map its digits to General MIDI notes, then feed 
> the MIDI sequence to Timidity++.
> 
> I already have experience mapping digits to General MIDI notes in my 
> “note” and “Keynote” programs.  I wrote both in C while I was learning 
> to program (well, I am always learning! :)), but I did not know what I 
> was doing then so the source is gross.  I probably should have used an 
> interpreted language, such as Perl or Python, instead of a compiled 
> language, such as C, though.  Keynote is for Windows only, but note is 
> cross-platform:  in 2004 or 2005, I had it running on MS-DOS and 
> FreeDOS, Windows 98 Second Edition (AKA Lose98 Second Failure.  Yuck!), 
> Windows 2000 Professional Edition and/or Windows XP Professional 
> Edition, Linux v2.6.x with glibc (multiple distros, but I settled on and 
> used Gentoo the most), and FreeBSD v4.10, maybe v5.0 too.  I used GNU 
> development tools (GCC v3.x, binutils, make, ...?) on all platforms: 
> DJGPP on MS-DOS/FreeDOS, MinGW on Windows, and native GCC on Linux + 
> FreeBSD.  Anyway, note uses ALSA on Linux to play notes with 
> Timidity++’s ALSA sequencer interface, so I could probably reuse that 
> code on the FreeRunner.
> 
> Anyway, enough rambling.  How much interest would there be if I cobbled 
> together a “ringnote” or dynamic ringtone (“dynringtone”?) program? :) 
> I use only QtMoko on my FreeRunner, so I would need people to help 
> support other distros.
> 
> Brolin
> 
> PS:  How many Openmoko users make their own ringtones?  I used OpenMPT 
> on Windows to save one of my favourite chiptunes, Random Voice - Monday 
> (MOD format) [1], as a PCM .wav file, then used LAME to encode the .wav 
> file as an MPEG audio file so I could use it as my ringtone on my Nokia 
> 6103b (Series 40), then my FreeRunner, since neither Series 40 nor 
> QtMoko supports module formats as ringtones.
> 
> [1] 
> 
-- 
William Kenworthy 
Home in Perth!


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


dynamically generating ringtones based on the calling phone number

2010-01-30 Thread Brolin Empey
Hello list,

Yes, believe it or not, I am actually posting a message which could be 
considered on-topic! ;)

I have had an idea for years, but have not searched to see if anyone has 
already implemented it.

My idea is to have my cell phone (my FreeRunner, of course, which runs 
QtMoko v14) dynamically generate a ringtone for incoming calls:  the 
ringtone would be a monophonic sequence of tones or notes corresponding 
to the sequence of digits in the calling phone number.  I think this 
would be cool because I could identify the caller by the ringtone alone: 
  I would not need to read the display.  The initial version could 
hard-code the mapping of digits to notes;  a subsequent version could 
read the mapping from a file, like Keynote does (see below).

Has anyone already implemented this?  Which search terms should I use to 
get relevant results from Google Search or maybe Bing?

In 2002, I found an MS-DOS program (I think;  or maybe it was for 
Windows?) which read a phone number on the command line and wrote a .wav 
file of the (DTMF?) tones a touch-tone phone uses to dial the phone 
number.  I thought it was cool because I could hold a handset’s 
mouthpiece up to the PC speakers (I mean the stereo speakers connected 
to the line-out or speaker-out jack, not the PC speaker inside the case! 
:)), then play the .wav file to dial the phone number.  I should try to 
find that program again.  I think it was written in Turbo Pascal or 
Borland Pascal, but I forgot if it was open-source;  I used the author’s 
binary.  I think it was called TCHTONE?

If Timidity++ works on QtMoko, I could try to figure out how to read the 
calling phone number, map its digits to General MIDI notes, then feed 
the MIDI sequence to Timidity++.

I already have experience mapping digits to General MIDI notes in my 
“note” and “Keynote” programs.  I wrote both in C while I was learning 
to program (well, I am always learning! :)), but I did not know what I 
was doing then so the source is gross.  I probably should have used an 
interpreted language, such as Perl or Python, instead of a compiled 
language, such as C, though.  Keynote is for Windows only, but note is 
cross-platform:  in 2004 or 2005, I had it running on MS-DOS and 
FreeDOS, Windows 98 Second Edition (AKA Lose98 Second Failure.  Yuck!), 
Windows 2000 Professional Edition and/or Windows XP Professional 
Edition, Linux v2.6.x with glibc (multiple distros, but I settled on and 
used Gentoo the most), and FreeBSD v4.10, maybe v5.0 too.  I used GNU 
development tools (GCC v3.x, binutils, make, ...?) on all platforms: 
DJGPP on MS-DOS/FreeDOS, MinGW on Windows, and native GCC on Linux + 
FreeBSD.  Anyway, note uses ALSA on Linux to play notes with 
Timidity++’s ALSA sequencer interface, so I could probably reuse that 
code on the FreeRunner.

Anyway, enough rambling.  How much interest would there be if I cobbled 
together a “ringnote” or dynamic ringtone (“dynringtone”?) program? :) 
I use only QtMoko on my FreeRunner, so I would need people to help 
support other distros.

Brolin

PS:  How many Openmoko users make their own ringtones?  I used OpenMPT 
on Windows to save one of my favourite chiptunes, Random Voice - Monday 
(MOD format) [1], as a PCM .wav file, then used LAME to encode the .wav 
file as an MPEG audio file so I could use it as my ringtone on my Nokia 
6103b (Series 40), then my FreeRunner, since neither Series 40 nor 
QtMoko supports module formats as ringtones.

[1] 

-- 
Sometimes I forget how to do small talk: 

“If you have to ask why, you’re not a member of the intended audience.” 
— Bob Zimbinski, 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


FOSDEM 2010 Devroom

2010-01-30 Thread Michael 'Mickey' Lauer
Hi guys,

due to some lucky (for us) coincidences, even after our request for a
devroom was officially declined, we got hold of a small time slot to
gather and hold some presentations.

We have cooked the following timeslot:

http://fosdem.org/2010/schedule/devrooms/openmoko

Hope to see you there,

-- 
:M:



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Investigation of failure to report received SMS

2010-01-30 Thread Neil Jerram
On 30 January 2010 10:35, Timo Juhani Lindfors  wrote:
> Neil Jerram  writes:
>> (Note that I've raised some logs about incoming messages from DEBUG to
>> WARNING, for this investigation.)
>
> At least with old frameworkd setting ogsmd loglevel to DEBUG would
> show the actual AT traffic which I did not see in your logs..

Sorry for that confusing sentence about log level; see my other reply
to Fox for what I really meant.

I guess what you have in mind is that the next step would be to try to
reproduce with the AT traffic included in the logs.  I agree, and will
try to do that.

Regards,
Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Investigation of failure to report received SMS

2010-01-30 Thread Neil Jerram
On 30 January 2010 11:25, Fox Mulder  wrote:
> Neil Jerram  writes:
>> (Note that I've raised some logs about incoming messages from DEBUG to
>> WARNING, for this investigation.)
>
> You lowered the log output with this option. DEBUG is the highest
> logging option and warning does log much less.

I'm sorry, I wasn't clear.  What I meant was that I have changed some
lines of code from "logger.debug" to "logger.warning", so that I get
those lines in my logs without having to change the overall level to
DEBUG.

Regards,
 Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Investigation of failure to report received SMS

2010-01-30 Thread Fox Mulder
Neil Jerram  writes:
> (Note that I've raised some logs about incoming messages from DEBUG to
> WARNING, for this investigation.)

You lowered the log output with this option. DEBUG is the highest
logging option and warning does log much less.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit memory leak

2010-01-30 Thread Xavier Cremaschi
On 30/01/2010 11:36, Timo Juhani Lindfors wrote:
> Xavier Cremaschi  writes:
>> The best way is to launch a memory profiler I think (valgrind), or maybe
>
> Valgrind's ARM support is not in mainline yet so you need to do your
> development on x86.

:(   didn't know that.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit memory leak

2010-01-30 Thread Timo Juhani Lindfors
Xavier Cremaschi  writes:
> The best way is to launch a memory profiler I think (valgrind), or maybe 

Valgrind's ARM support is not in mainline yet so you need to do your
development on x86.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Investigation of failure to report received SMS

2010-01-30 Thread Timo Juhani Lindfors
Neil Jerram  writes:
> (Note that I've raised some logs about incoming messages from DEBUG to
> WARNING, for this investigation.)

At least with old frameworkd setting ogsmd loglevel to DEBUG would
show the actual AT traffic which I did not see in your logs..

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community