[racket] Media computation

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Jan 3 19:36:04 EST 2015

For snips that are interactive, there is a separate mechanism, which
isn't so great. You have to actually have a tool that calls
drracket:language:add-snip-value. This is a way to circumvent trust
issues, since the callbacks for the snip are happening in the DrRacket
eventspace, not the user's one.

I have a thought that it should be possible to lift this restriction
(adding a new kind of snip administrator that forwards everything back
and forth to the user's space) and then we could probably do something
like file/convert since we'd be able to kill of rogue snips.

Robby



On Sat, Jan 3, 2015 at 5:47 PM, John Clements <johnbclements at gmail.com> wrote:
> I would also like to have the sound appear in the REPL, as you describe.
> Indeed, it might not even be that hard. The key here is to get ...
>
> ... okay, lemme just ask:
>
> Robby, if I want a value to be displayed as a snip (with interesting
> clickable behavior) in DrRacket, would I be using a gen:custom-write
> property on the struct, or does DrR have a separate mechanism for
> customizing the display of values?
>
>
>
> On Wed, Dec 31, 2014 at 2:52 PM, James Vanderhyde
> <jvanderhyde at benedictine.edu> wrote:
>>
>> Thank you, Jay; rsound answers part of my question: simple audio
>> processing on the REPL. What I would like is for the sound to appear in the
>> REPL as a player with play/pause, etc. The benefit is that users can easily
>> scroll back through the interactions pane and compare/contrast previous
>> output. Is there any system available for this?
>>
>> Also, is there a good mailing list for people teaching with Racket? Thank
>> you.
>>
>> James
>> --
>> Dr. James Vanderhyde
>> Math and Computer Science
>> Benedictine College
>> jvanderhyde at benedictine.edu
>> http://vanderhyde.us/~james/pro/
>>
>>
>>
>> > On Oct 21, 2014, at 11:19 AM, Jay McCarthy <jay.mccarthy at gmail.com>
>> > wrote:
>> >
>> > You are looking for RSound:
>> >
>> > http://pkg-build.racket-lang.org/doc/rsound/index.html
>> >
>> > On Tue, Oct 21, 2014 at 12:15 PM, James Vanderhyde
>> > <jvanderhyde at benedictine.edu> wrote:
>> >> Hello, community. I am going to teach a course on Media Computation
>> >> this
>> >> coming spring. I want to use DrRacket. I like Stephen Bloch’s Picturing
>> >> Programs, and I like how students can manipulate images directly on the
>> >> REPL. I want a similar interface for manipulating audio. I think the
>> >> sound
>> >> should appear in the REPL as a little player control with play/pause,
>> >> rewind, etc. Does anything like this exist? Does anyone have any ideas
>> >> for
>> >> simple audio processing from the REPL? Has anyone taught Media
>> >> Computation
>> >> (including audio) using Racket?
>> >>
>> >> James
>> >> --
>> >> Dr. James Vanderhyde
>> >> Math and Computer Science
>> >> Benedictine College
>> >> jvanderhyde at benedictine.edu
>> >> http://vanderhyde.us/~james/pro/
>> >>
>> >>
>> >>
>> >>
>> >> ____________________
>> >>  Racket Users list:
>> >>  http://lists.racket-lang.org/users
>> >>
>> >
>> >
>> >
>> > --
>> > Jay McCarthy
>> > http://jeapostrophe.github.io
>> >
>> >           "Wherefore, be not weary in well-doing,
>> >      for ye are laying the foundation of a great work.
>> > And out of small things proceedeth that which is great."
>> >                          - D&C 64:33
>>
>>
>> ____________________
>>   Racket Users list:
>>   http://lists.racket-lang.org/users
>
>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>


Posted on the users mailing list.