Getting SoundRecorder to work: how?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting SoundRecorder to work: how?

philippeback
sr := SoundRecorder new.
sr startRecording.
sr stopRecording.
sr playback.

doesn't seem to do anything properly and gives me a DNU inside the playback...

Clues?
Phil

Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

Stéphane Ducasse
did you try with the new Sound configuration I just published on SmalltalkHub?

On Mar 12, 2013, at 5:11 PM, [hidden email] wrote:

> sr := SoundRecorder new.
> sr startRecording.
> sr stopRecording.
> sr playback.
>
> doesn't seem to do anything properly and gives me a DNU inside the playback...
>
> Clues?
> Phil
>


Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

philippeback
No, link please?

2013/3/12 Stéphane Ducasse <[hidden email]>:

> did you try with the new Sound configuration I just published on SmalltalkHub?
>
> On Mar 12, 2013, at 5:11 PM, [hidden email] wrote:
>
>> sr := SoundRecorder new.
>> sr startRecording.
>> sr stopRecording.
>> sr playback.
>>
>> doesn't seem to do anything properly and gives me a DNU inside the playback...
>>
>> Clues?
>> Phil
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

stephane ducasse
PharoExtras/Sound

on SmalltalkHub


On Mar 12, 2013, at 8:33 PM, "[hidden email]" <[hidden email]> wrote:

> No, link please?
>
> 2013/3/12 Stéphane Ducasse <[hidden email]>:
>> did you try with the new Sound configuration I just published on SmalltalkHub?
>>
>> On Mar 12, 2013, at 5:11 PM, [hidden email] wrote:
>>
>>> sr := SoundRecorder new.
>>> sr startRecording.
>>> sr stopRecording.
>>> sr playback.
>>>
>>> doesn't seem to do anything properly and gives me a DNU inside the playback...
>>>
>>> Clues?
>>> Phil
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

jannik laval
I can not load it: VM crashes.
With this code:

Gofer it
        url: 'http://smalltalkhub.com/mc/PharoExtras/Sound/main'; 
        package: 'ConfigurationOfPharoSound';
        load.
    (Smalltalk at: #ConfigurationOfPharoSound) project lastVersion load.

Jannik

On Mar 12, 2013, at 9:17 PM, stephane ducasse <[hidden email]> wrote:

> PharoExtras/Sound
>
> on SmalltalkHub
>
>
> On Mar 12, 2013, at 8:33 PM, "[hidden email]" <[hidden email]> wrote:
>
>> No, link please?
>>
>> 2013/3/12 Stéphane Ducasse <[hidden email]>:
>>> did you try with the new Sound configuration I just published on SmalltalkHub?
>>>
>>> On Mar 12, 2013, at 5:11 PM, [hidden email] wrote:
>>>
>>>> sr := SoundRecorder new.
>>>> sr startRecording.
>>>> sr stopRecording.
>>>> sr playback.
>>>>
>>>> doesn't seem to do anything properly and gives me a DNU inside the playback...
>>>>
>>>> Clues?
>>>> Phil
>>>>
>>>
>>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

jannik laval
After four tries, I can load it.
The source provided by phil does not work with PharoSound.

Jannik

On Mar 12, 2013, at 9:23 PM, "jannik.laval" <[hidden email]> wrote:

> I can not load it: VM crashes.
> With this code:
>
> Gofer it
>        url: 'http://smalltalkhub.com/mc/PharoExtras/Sound/main'; 
>        package: 'ConfigurationOfPharoSound';
>        load.
>    (Smalltalk at: #ConfigurationOfPharoSound) project lastVersion load.
>
> Jannik
>
> On Mar 12, 2013, at 9:17 PM, stephane ducasse <[hidden email]> wrote:
>
>> PharoExtras/Sound
>>
>> on SmalltalkHub
>>
>>
>> On Mar 12, 2013, at 8:33 PM, "[hidden email]" <[hidden email]> wrote:
>>
>>> No, link please?
>>>
>>> 2013/3/12 Stéphane Ducasse <[hidden email]>:
>>>> did you try with the new Sound configuration I just published on SmalltalkHub?
>>>>
>>>> On Mar 12, 2013, at 5:11 PM, [hidden email] wrote:
>>>>
>>>>> sr := SoundRecorder new.
>>>>> sr startRecording.
>>>>> sr stopRecording.
>>>>> sr playback.
>>>>>
>>>>> doesn't seem to do anything properly and gives me a DNU inside the playback...
>>>>>
>>>>> Clues?
>>>>> Phil
>>>>>
>>>>
>>>>
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

stephane ducasse
I tried too on 2.0 and

RecordingControlsMorph new openInWorld
(show will not work because it was relying on a soundNamed: 'croak' - do not ask me if this is a good idea or design to define class that
cannot initialize themselves)

Now it looks like the buffers are not filled up.

I should try in 1.4 but now I'm going to sleep.
too tired.

Stef
Reply | Threaded
Open this post in threaded view
|

Re: Getting SoundRecorder to work: how?

stephane ducasse
In fact recordedSound as a sequentialSound…
but I know nothing there.

Stef

On Mar 12, 2013, at 10:27 PM, stephane ducasse <[hidden email]> wrote:

> I tried too on 2.0 and
>
> RecordingControlsMorph new openInWorld
> (show will not work because it was relying on a soundNamed: 'croak' - do not ask me if this is a good idea or design to define class that
> cannot initialize themselves)
>
> Now it looks like the buffers are not filled up.
>
> I should try in 1.4 but now I'm going to sleep.
> too tired.
>
> Stef