Active Topics

 



Notices


Reply
Thread Tools
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#61
Until you get it wrapped with ctypes, you could always call http://wildmidi.sourceforge.net/?manpage=wildmidi from subprocess.Popen()
__________________
aspidites | blog | aspidites@inbox.com
 

The Following User Says Thank You to aspidites For This Useful Post:
Dousan's Avatar
Posts: 1,161 | Thanked: 1,707 times | Joined on Jan 2010 @ Denmark
#62
@mikec 60 bpm is 60 hits in a min. so if it's set to that the bpm should work correctly, havn't tested it myself with a timer yet. It's wierd with the multiple sounds not playing at the same time, hope you can fix it?
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#63
Originally Posted by Dousan View Post
@mikec 60 bpm is 60 hits in a min. so if it's set to that the bpm should work correctly, havn't tested it myself with a timer yet. It's wierd with the multiple sounds not playing at the same time, hope you can fix it?
Cheers, so 60beats per minute is 60 hits right?
I asked my son who is a drummer, and he says thats right.

on the concurrent play I'm sure this used to work
and on my dev box a suse linux machine it works just fine.
I'm playing around with pygame channels as we speak, but no luck.
__________________
N900_Email_Options Wiki Page
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#64
Originally Posted by aspidites View Post
Until you get it wrapped with ctypes, you could always call http://wildmidi.sourceforge.net/?manpage=wildmidi from subprocess.Popen()
@aspidties anychance you could knock up a bit of python code as an example of playing a note
My biggest bug bear with maesynth at the moment is messing with wav files. If I could just pull in a midi instrument and play it.......
__________________
N900_Email_Options Wiki Page

Last edited by mikec; 2010-06-15 at 05:56.
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#65
Originally Posted by generationally View Post
The beat engine seems to have some issue with playing more than 1 sample which has the same timing.

E.g. if you set up the hi-hat and snare to both play on beats 1, 5, 9 ,13 then the hi-hat and snare samples are not played simultaneously. It seems like the snare sample is not played until the hi-hat sample has finished playing.

Is there some issue with playing two or more samples simultaneously in your implementation? Or am I the only one having this issue?
@generationally, It seems that when you flip back to the keyboard, the beat sounds go back to being concurrent. Then when you flip back to the beat screen they go sequentially.

Can you verify that you have the same.

Thanks Mike C
__________________
N900_Email_Options Wiki Page
 
Posts: 133 | Thanked: 138 times | Joined on Nov 2007
#66
Originally Posted by mikec View Post
@generationally, It seems that when you flip back to the keyboard, the beat sounds go back to being concurrent. Then when you flip back to the beat screen they go sequentially.

Can you verify that you have the same.

Thanks Mike C
Yes, it is indeed the same for me.
 

The Following User Says Thank You to generationally For This Useful Post:
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#67
Originally Posted by mikec View Post
@aspidties anychance you could knock up a bit of pythin code as an example of playing a note
My biggest bug bear with maesynth at the moment is messing with wav files. If I could just pull in a midi instrument and play it.......
pyFluidSynth seems like it's pretty straightforward

Code:
import time
import fluidsynth

fs = fluidsynth.Synth()
fs.start()

sfid = fs.sfload("example.sf2")
fs.program_select(0, sfid, 0, 0)

fs.noteon(0, 60, 30)
fs.noteon(0, 67, 30)
fs.noteon(0, 76, 30)

time.sleep(1.0)

fs.noteoff(0, 60)
fs.noteoff(0, 67)
fs.noteoff(0, 76)

time.sleep(1.0)

fs.delete()
Code taken from http://code.google.com/p/pyfluidsynth/ . Explanation of code is there as well.
__________________
aspidites | blog | aspidites@inbox.com
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#68
Originally Posted by aspidites View Post
pyFluidSynth seems like it's pretty straightforward

Code:
import time
import fluidsynth

fs = fluidsynth.Synth()
fs.start()

sfid = fs.sfload("example.sf2")
fs.program_select(0, sfid, 0, 0)

fs.noteon(0, 60, 30)
fs.noteon(0, 67, 30)
fs.noteon(0, 76, 30)

time.sleep(1.0)

fs.noteoff(0, 60)
fs.noteoff(0, 67)
fs.noteoff(0, 76)

time.sleep(1.0)

fs.delete()
Code taken from http://code.google.com/p/pyfluidsynth/ . Explanation of code is there as well.
Fluidsynth would have been perfect, but we dont have the lib on fremantle. I built it in the SDK, but it gave me horrible sounds. I have not investigated further

http://talk.maemo.org/showthread.php?p=654994
__________________
N900_Email_Options Wiki Page
 
Dancairo's Avatar
Posts: 423 | Thanked: 486 times | Joined on Nov 2009 @ London, England
#69
Since updating to pr 1.3 maesynth no longer installs...is it something i'm doing wrong or does it need updating? thanks in advance for you answers...

Dan

Found the solution here...comment No 5
https://bugs.maemo.org/show_bug.cgi?id=11539#c5

Now works perfectly

Last edited by Dancairo; 2010-11-15 at 18:09.
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#70
maesynth did open and crash after loading so i did this
as link said....

As root run:

apt-get install python2.5-sip4=4.10.5-maemo0

now it opaned i can enjoy it but there is another problem , i hear "tap" sound with music when i press any botton in it (yes my keyboard is closed) i tried restarting the phone but stilll the problem music with tap sound.tac tac tac tac tac tac help me!
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:08.