SourceForge logo
SourceForge logo
Menu

pythoncard-users — PythonCard Users and Developers

You can subscribe to this list here.

2001 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
(116)
Sep
(146)
Oct
(78)
Nov
(69)
Dec
(70)
2002 Jan
(188)
Feb
(142)
Mar
(143)
Apr
(131)
May
(97)
Jun
(221)
Jul
(127)
Aug
(89)
Sep
(83)
Oct
(66)
Nov
(47)
Dec
(70)
2003 Jan
(77)
Feb
(91)
Mar
(103)
Apr
(98)
May
(134)
Jun
(47)
Jul
(74)
Aug
(71)
Sep
(48)
Oct
(23)
Nov
(37)
Dec
(13)
2004 Jan
(24)
Feb
(15)
Mar
(52)
Apr
(119)
May
(49)
Jun
(41)
Jul
(34)
Aug
(91)
Sep
(169)
Oct
(38)
Nov
(32)
Dec
(47)
2005 Jan
(61)
Feb
(47)
Mar
(101)
Apr
(130)
May
(51)
Jun
(65)
Jul
(71)
Aug
(96)
Sep
(28)
Oct
(20)
Nov
(39)
Dec
(62)
2006 Jan
(13)
Feb
(19)
Mar
(18)
Apr
(34)
May
(39)
Jun
(50)
Jul
(63)
Aug
(18)
Sep
(37)
Oct
(14)
Nov
(56)
Dec
(32)
2007 Jan
(30)
Feb
(13)
Mar
(25)
Apr
(3)
May
(15)
Jun
(42)
Jul
(5)
Aug
(17)
Sep
(6)
Oct
(25)
Nov
(49)
Dec
(10)
2008 Jan
(12)
Feb
Mar
(17)
Apr
(18)
May
(12)
Jun
(2)
Jul
(2)
Aug
(6)
Sep
(4)
Oct
(15)
Nov
(45)
Dec
(9)
2009 Jan
(1)
Feb
(3)
Mar
(18)
Apr
(8)
May
(3)
Jun
Jul
(13)
Aug
(2)
Sep
(1)
Oct
(9)
Nov
(13)
Dec
2010 Jan
(2)
Feb
(3)
Mar
(9)
Apr
(10)
May
Jun
(1)
Jul
Aug
(3)
Sep
Oct
Nov
(1)
Dec
(4)
2011 Jan
Feb
Mar
(10)
Apr
(44)
May
(9)
Jun
(22)
Jul
(2)
Aug
Sep
Oct
(1)
Nov
Dec
2012 Jan
Feb
(1)
Mar
(2)
Apr
(2)
May
Jun
(5)
Jul
Aug
Sep
(1)
Oct
Nov
Dec
2013 Jan
Feb
Mar
(2)
Apr
(1)
May
(1)
Jun
Jul
(3)
Aug
(8)
Sep
(3)
Oct
Nov
Dec
2014 Jan
Feb
(4)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2017 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(2)
17
(1)
18
19
20
21
22
23
24
25
26
27
28






Showing 3 results of 3

From: Alec B. <wry...@gm...> - 2010年02月17日 03:09:03
And if you're using PyInstaller and PythonCard, remember that you need to
explicity import all the components. So for example:
from PythonCard.components import statictext, imagebutton, textfield,
textarea #, [and so on]
from PythonCard import graphic, timer # [and so on]
# and for our fantastic new flashwindow:
from PythonCard.components import flashwindow
From: Alec B. <wry...@gm...> - 2010年02月16日 20:43:46
There's nothing Pythoncard-specific about the audio recording task, you
simply need a GUI with a record button if I understand correctly? And
probably a countdown to let them know how much time they have left unless
they press the stop button? In the Pythoncard Resource Editor you'll simply
be placing a bitmap button on a frame. If you want that record button to
turn into a stop button while they're recording, you'll use SetBitmapLabel
if I remember correctly, to change the graphic of the button. And in the
Resource Editor, you'll add a command that is triggered when that button is
pressed. For example the command might be called RecordButton, and in your
file you'll put this line:
on_RecordButton_command(self, event):
 ...print "record was pressed"
....#(do something here)
As far as the countdown, you can either put it in the statusbar (look around
for some examples, there are lots) or I believe you could update the text on
a statictext widget.
To check the time remaining and update the countdown, you'll use a timer.
Timers are quirky and are applied to a specific widget, look for samples.
For the audio recording, I did something very similar to what you're
describing (a "confessional" at Burning Man) using this code as a starting
point:
http://www.daniweb.com/forums/thread259262.html
On Tue, Feb 16, 2010 at 8:38 AM, Mohammad Abdollahi
<m.a...@gm...>wrote:
> Hi everyone,
>
> I am trying to create a GUI for audio recording to create a database of
> utterances. So in principle I want it to work in a way that it presents like
> 100 sentences one by one to the user and for each sentence the user can
> start recording by pressing say "record" and he himself will be the one to
> press STOP button when he is done saying each sentences and the audio is
> stored somewhere and then moves to the next sentence. Now since I'm quite
> new to this package I wanted to know if anyone can show me an example
> similar to my task or perhaps general guidelines. because previously i had
> done some simple Gui in MATLAB but I dont see PythonCard Gui design
> organized in a same way.
>
> besides as usually in audio recording tasks (e.g. in MATLAB) i have to
> specify the duration of the recording independent of the time that takes the
> user to read a sentence out. So can I have such a user dependent recording
> duration (controlled by two buttons mentioned above) using python card ?
>
> Many thanks in advance
>
> Best.
> Mohammad
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
From: Mohammad A. <m.a...@gm...> - 2010年02月16日 16:38:20
Hi everyone,
I am trying to create a GUI for audio recording to create a database of
utterances. So in principle I want it to work in a way that it presents like
100 sentences one by one to the user and for each sentence the user can
start recording by pressing say "record" and he himself will be the one to
press STOP button when he is done saying each sentences and the audio is
stored somewhere and then moves to the next sentence. Now since I'm quite
new to this package I wanted to know if anyone can show me an example
similar to my task or perhaps general guidelines. because previously i had
done some simple Gui in MATLAB but I dont see PythonCard Gui design
organized in a same way.
besides as usually in audio recording tasks (e.g. in MATLAB) i have to
specify the duration of the recording independent of the time that takes the
user to read a sentence out. So can I have such a user dependent recording
duration (controlled by two buttons mentioned above) using python card ?
Many thanks in advance
Best.
Mohammad

Showing 3 results of 3

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /