maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Calling Everyone With a Microphone! [PyAno 1.3] (https://talk.maemo.org/showthread.php?t=22935)

Aisu 2008-08-18 00:06

Calling Everyone With a Microphone! [PyAno 1.3]
 
Hello, everyone!

PyAno 1.3 is out. And it's a bit of a benchmark, too. Check the video here. Hell, make your own video later (please :p)! Some new features I really like are in here, too...

- Background Music (Select tracks or beats to be played while you play PyAno. Requires Mplayer, which will not be installed automatically.)
- Easy-Instrument-Install. All you need to do is select the file. Everything else is done for you :D PyAno supports three extra instruments!

Get PyAno 1.3 here, in the garage.

http://tablethacker.com/screenshot00.png

Now, about the title of this post...

We need more instruments! Guitars, banjos, flutes, lutes lying about? Violins, bagpipes? Well, please help make PyAno better :D

Making an instrument is just as easy as installing one. Simply create a folder with your instrument's name and put twelve wav files in it. Then, tar that baby up and share! (tar.gz, actually. And I suggest keeping the wavs down to about four seconds long, too.)

The mixer is picky about what kind of wavs it will play. So I suggest using Audacity to record them. That works perfectly.

The twelve wav files are the notes and their sharps. "z" means sharp:

a.wav, az.wav, b.wav, c.wav, cz.wav, d.wav, dz.wav, e.wav, f.wav, fz.wav, g.wav, gz.wav

I've put two instruments together, both are in the garage with PyAno. The drums sound nice :) The flute... eh, not so much, but it works :o

Give it a try and install one in PyAno!


(Who's up for a PyAno Zelda? ;) I had to. Will the next song be yours? :D)

~*~*~*~

sachin007 2008-08-18 00:15

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
I had the memory problem where the browser would automatically close. After i uninstalled pydrum.... it went off. Is that fixed with this edition?

Aisu 2008-08-18 00:16

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Quote:

Originally Posted by sachin007 (Post 214740)
I had the memory problem where the browser would automatically close. After i uninstalled pydrum.... it went off. Is that fixed with this edition?

Yes it has :o I'm very sorry about that. PyDrum has been fixed as well if you wish to re-download the deb. (Same name in the same thread.)

Thesandlord 2008-08-18 00:56

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Very, Very cool. I like where this is going.

Now, some cool features and necessary updates would be the following:

Multi-input: Allow multiple notes to be played simultaneously. Obviously this can't be done using the screen, but the keyboard can be used. Currently, only one note plays at a time. Because the N810 is a multi-input device, with a keyboard and screen, it would be great if multiple notes could be played. I think this is the most important/ killer feature. Also, there still seems to be lag on the keyboard and screen if one plays to fast because it cuts of notes before they are played, and doing this would most likely fix it.

The different octaves of notes also do not sound smooth. Does the software scale up the pitch, or are different samples used? It sounds really awkward when using it...

Actually, that is basically the only thing left, aside from bug fixes and making it more smooth. Maybe custom keymaps / screen for different instruments?

Looking forward to more from Pyano!!

Laughing Man 2008-08-18 01:12

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Has anyone else tried installing instruments yet? I downloaded the drum and flutes as a name.tar.gz file. Then i install them from pyano. But they don't show up. Am I suppose to uncompress the files first?

Aisu 2008-08-18 01:15

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Quote:

Originally Posted by Laughing Man (Post 214762)
Has anyone else tried installing instruments yet? I downloaded the drum and flutes as a name.tar.gz file. Then i install them from pyano. But they don't show up. Am I suppose to uncompress the files first?

No, you don't have to. But, I forgot to mention that they will only install on your external car. (/media/mmc1) Maybe you don't have one in?

Aisu 2008-08-18 01:18

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Quote:

Originally Posted by Thesandlord (Post 214757)
Very, Very cool. I like where this is going.

Now, some cool features and necessary updates would be the following:

Multi-input: Allow multiple notes to be played simultaneously....

The different octaves of notes also do not sound smooth. Does the software scale up the pitch, or are different samples used? It sounds really awkward when using it...

Actually, that is basically the only thing left, aside from bug fixes and making it more smooth. Maybe custom keymaps / screen for different instruments?

Looking forward to more from Pyano!!

Custom keymaps are coming ;)

The different octaves are awkward. What I what really like is to implement a synthezier instead of wav files, but that isn't happening at the moment. I'm working on it...

Playing multiple notes at once was eliminated for the sake of latency but all you would need to do is erase line 36 in /usr/bin/pyano

Code:

mixer1.stop()
That'll let more than one note play at once, but may lag a bit more than usual. Tell me your results? Oh, you must edit that file as root, too.

Thesandlord 2008-08-18 01:40

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
OK, so I tried what you said. I removed the line, and it seems a LOT more responsive! Th only problem is that the mixer quickly gets overwhelmed and just dies for a few seconds. Maybe you can allow a maximum of three notes to be played at a time, and when a 4th note is played, just cut of the last one. But it is great to see that it already works! Still, how do you have multiple notes on the keyboard?
[Edit: Do you have to remove mixer1.Stop() on ever single key map!!! Wow, thank god for SSH]

This really is leaps and bounds better than that first alpha release oh so long ago! keep up the great work.

Aisu 2008-08-18 01:44

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Quote:

Originally Posted by Thesandlord (Post 214770)
OK, so I tried what you said. I removed the line, and it seems a LOT more responsive! The only problem is that the mixer quickly gets overwhelmed and just dies for a few seconds. Maybe you can allow a maximum of three notes to be played at a time, and when a 4th note is played, just cut of the last one. But it is great to see that it already works!

This really is leaps and bounds better than that first alpha release oh so long ago! keep up the great work.

Maybe I'll leave that as the default if I can figure out a good buffer size... I'm glad you like it better :)

Aye, thanks a lot :)

Laughing Man 2008-08-18 01:46

Re: Calling Everyone With a Microphone! [PyAno 1.3]
 
Quote:

Originally Posted by Aisu (Post 214763)
No, you don't have to. But, I forgot to mention that they will only install on your external car. (/media/mmc1) Maybe you don't have one in?

I downloaded them to a folder called pyano instruments on /media/mmc1. Tries installing, said it did and it created a pyano folder on mmc1. Though they don't show up in change instruments. I even tried putting the two files inside the pyano folder.

Edit: ok it's working now oddly. but it lists piano, drum, flute.tar.gz, flute.
edit2: deleted compressed files. works beautifully now


All times are GMT. The time now is 06:44.

vBulletin® Version 3.8.8