4
$\begingroup$

enter image description here When I set parameter "SoundReg" to collect Audio Steaming data - it's working enter image description here

After that I use Button\["Record"\] In my Manipulate[]

Style\["Audio Record", Bold, 18, FontFamily -> Times\],

Button\["Record", Sound\[SystemDialogInput\["RecordSound"\]\]\],

To show you

Button\["Record", AudioRec = Sound\[SystemDialogInput\["RecordSound"\]\]\],

but when I try to declare some parameter to keep Audio data, the parameter does not appear anywhere and I assume the Audio Streaming data may be stored somewhere else.

$\endgroup$
3
  • $\begingroup$ You want to extract the data, but you are Import[]-ing the recording ? Please, clarify. $\endgroup$
    – Sektor
    Sep 7, 2013 at 15:39
  • 2
    $\begingroup$ Try adding Method -> "Queued" to the Button. The evaluation is probably timing out on the preemptive link. $\endgroup$ Sep 7, 2013 at 15:58
  • 1
    $\begingroup$ @SimonWoods or worse, perhaps the SystemDialogInput requires the preemptive link to work but it's busy on the button. So it only starts working after the timeout of the button frees the link. But it will never assign to AudioRec because that evaluation was cancelled. $\endgroup$
    – Rojo
    Sep 7, 2013 at 16:30

1 Answer 1

1
$\begingroup$

I try to fix it and this is my result enter image description here This is my code enter image description here "AudioRec" Parameter can be collected with declare in Dynamic Module Part .Like this situation but I can't Separate each graph to show on dynamic Module. when I try to get comma and {} out. It doesn't work anything enter image description here enter image description here

$\endgroup$
1
  • 11
    $\begingroup$ It would be more helpful to others if you posted the code in a text (copyable) format rather than images. $\endgroup$
    – Mr.Wizard
    Sep 19, 2013 at 7:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.