Csound Csound-dev Csound-tekno Search About

[Csnd] web embedding of csound applications

Date2008-12-29 12:05
Frompeiman khosravi
Subject[Csnd] web embedding of csound applications
Hello,

So here is my question. I've recently started working on a website  
and now I am thinking about adding some audio to it. Is it possible  
to embed a compiled CSD (I don't even know how to compile a csd into  
a standalone program at this stage) into a webpage? I'm thinking a  
simple generative programme that keeps running in the background and  
sounds less predictable than audio loops on a website. If not  
possible with csound is it possible with another tool? I should add  
that preferably I want the user not to have to install any extra  
applications or plugins (not even csound).

Thanks for you attention
Best
Peiman 

Date2008-12-29 13:11
FromDarren Nelsen
Subject[Csnd] Re: web embedding of csound applications
The only thing I can think of is that you'd have to stream it, and you  
could stream it to flash. I have not done this myself, but here's an  
example:

Øyvind Brandtsegg's Flounder
http://www.flyndresang.no/en/

Of course, you'd have to have a server somewhere reading/playing the  
csd file. You could do this from your own machine using shoutcast or  
Nicecast (Mac).

--
Darren Nelsen
http://www.curiomusic.com

On Dec 29, 2008, at 7:05 AM, peiman khosravi wrote:

> Hello,
>
> So here is my question. I've recently started working on a website  
> and now I am thinking about adding some audio to it. Is it possible  
> to embed a compiled CSD (I don't even know how to compile a csd into  
> a standalone program at this stage) into a webpage? I'm thinking a  
> simple generative programme that keeps running in the background and  
> sounds less predictable than audio loops on a website. If not  
> possible with csound is it possible with another tool? I should add  
> that preferably I want the user not to have to install any extra  
> applications or plugins (not even csound).
>
> Thanks for you attention
> Best
> Peiman
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Date2008-12-29 13:52
Frompeiman khosravi
Subject[Csnd] Re: Re: web embedding of csound applications
wow! thanks for the link. It's very interesting.

Best
Peiman

On 29 Dec 2008, at 13:11, Darren Nelsen wrote:

> The only thing I can think of is that you'd have to stream it, and  
> you could stream it to flash. I have not done this myself, but  
> here's an example:
>
> Øyvind Brandtsegg's Flounder
> http://www.flyndresang.no/en/
>
> Of course, you'd have to have a server somewhere reading/playing  
> the csd file. You could do this from your own machine using  
> shoutcast or Nicecast (Mac).
>
> --
> Darren Nelsen
> http://www.curiomusic.com
>
> On Dec 29, 2008, at 7:05 AM, peiman khosravi wrote:
>
>> Hello,
>>
>> So here is my question. I've recently started working on a website  
>> and now I am thinking about adding some audio to it. Is it  
>> possible to embed a compiled CSD (I don't even know how to compile  
>> a csd into a standalone program at this stage) into a webpage? I'm  
>> thinking a simple generative programme that keeps running in the  
>> background and sounds less predictable than audio loops on a  
>> website. If not possible with csound is it possible with another  
>> tool? I should add that preferably I want the user not to have to  
>> install any extra applications or plugins (not even csound).
>>
>> Thanks for you attention
>> Best
>> Peiman
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2008-12-29 17:09
From"Steven Yi"
Subject[Csnd] Re: web embedding of csound applications
AttachmentsNone  

Date2008-12-29 17:38
Frompeiman khosravi
Subject[Csnd] Re: Re: web embedding of csound applications
Thanks Steven,

In fact that's would probably suffice for me. I'll try and find some  
flash code for embedding soundfiles with randomised start time.

Best
Peiman

On 29 Dec 2008, at 17:09, Steven Yi wrote:

> I did something like this using Flash a long while ago using audio
> clips and somewhat randomizing the start times (well, I think I had
> them repeating with random wait times from a range).  Using audio
> files or MP3's, this should be easy to do with Flash.  With the latest
> Flash Player's, they have gotten much more efficient than before and
> have opened up a lot of possibilities where people are now doing
> signal-processing and synthesis using ActionScript 3 code.  I stopped
> doing much Flash work a couple years ago and haven't kept up with it,
> but I have seen some online music production software done in Flash
> that was pretty impressive.
>
>
> On Mon, Dec 29, 2008 at 7:05 AM, peiman khosravi
>  wrote:
>> Hello,
>>
>> So here is my question. I've recently started working on a website  
>> and now I
>> am thinking about adding some audio to it. Is it possible to embed a
>> compiled CSD (I don't even know how to compile a csd into a  
>> standalone
>> program at this stage) into a webpage? I'm thinking a simple  
>> generative
>> programme that keeps running in the background and sounds less  
>> predictable
>> than audio loops on a website. If not possible with csound is it  
>> possible
>> with another tool? I should add that preferably I want the user  
>> not to have
>> to install any extra applications or plugins (not even csound).
>>
>> Thanks for you attention
>> Best
>> Peiman
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2008-12-29 18:06
FromPanos Katergiathis
Subject[Csnd] Re: Re: Re: web embedding of csound applications
A similar technique (multiple flash players on the same page) is used  
here:

http://www.peterchilvers.com/generative.php

Chilvers's work is very beautiful (not Csound related, though).
Along with Brian Eno, they created "Bloom" an iPhone application that  
i consider an important milestone on the subject of "distributing  
generative music" - you may also wish to check it out.

Panos





On Dec 29, 2008, at 7:38 PM, peiman khosravi wrote:

> Thanks Steven,
>
> In fact that's would probably suffice for me. I'll try and find some  
> flash code for embedding soundfiles with randomised start time.
>
> Best
> Peiman
>
> On 29 Dec 2008, at 17:09, Steven Yi wrote:
>
>> I did something like this using Flash a long while ago using audio
>> clips and somewhat randomizing the start times (well, I think I had
>> them repeating with random wait times from a range).  Using audio
>> files or MP3's, this should be easy to do with Flash.  With the  
>> latest
>> Flash Player's, they have gotten much more efficient than before and
>> have opened up a lot of possibilities where people are now doing
>> signal-processing and synthesis using ActionScript 3 code.  I stopped
>> doing much Flash work a couple years ago and haven't kept up with it,
>> but I have seen some online music production software done in Flash
>> that was pretty impressive.
>>
>>
>> On Mon, Dec 29, 2008 at 7:05 AM, peiman khosravi
>>  wrote:
>>> Hello,
>>>
>>> So here is my question. I've recently started working on a website  
>>> and now I
>>> am thinking about adding some audio to it. Is it possible to embed a
>>> compiled CSD (I don't even know how to compile a csd into a  
>>> standalone
>>> program at this stage) into a webpage? I'm thinking a simple  
>>> generative
>>> programme that keeps running in the background and sounds less  
>>> predictable
>>> than audio loops on a website. If not possible with csound is it  
>>> possible
>>> with another tool? I should add that preferably I want the user  
>>> not to have
>>> to install any extra applications or plugins (not even csound).
>>>
>>> Thanks for you attention
>>> Best
>>> Peiman
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2008-12-29 19:55
FromBatuhan Bozkurt
Subject[Csnd] Re: Re: Re: Re: web embedding of csound applications
Hello all! I'm not a CSounder myself (a SC'er actually) but like lurking 
around in this list. My first poss I think. :)

Reliable and cross platform low latency realtime audio synthesis in a 
web browser, utilizing client cpu is one of my biggest dreams (for some 
years). There are Java stuff but Java really behaves bad in browsers 
(seizes you browser until the vm starts and the contents get loaded) and 
usually results in glitchy audio (which might be good for some music 
though) in most systems so I've never considered it as an option.

The real impressive stuff came from the flash programmers. Actually 
Flash (until v10) had no support for realtime audio but someone called 
Andre Michelle hacked his way around it (I hope I'm not mistaken) by 
exploiting the dynamic swf compilation support of Flash 9 and his work 
yielded to many interesting results.

One of the first examples of this stuff I saw was this:
http://lab.andre-michelle.com/playing-with-pulse-harmonics

which was interesting. Then I saw this:
http://lab.andre-michelle.com/fl-909

(there are other examples on his site)

And all this work yielded to a grand system like this one:
http://www.hobnox.com/audiotool.1046.de.html

This used to work in flash 9 but now needs flash 10 (which actually has 
native support for realtime audio generation and manipulation).
The system is not really my cup of coffee for making music (as I rarely 
deal with rhythm in a static sense) but the possibilities seem really good.

So I think the only reliable system for this kind of stuff is Flash 10 
for now, I guess. But even then, it has no generators, filters or that 
kind of stuff so all needs to be implemented on top of it. But at least, 
it has support.

Has little to do with CSound but anyway, I wanted to show.

Cheers all,
BB.

--------------
http://www.earslap.com

Panos Katergiathis wrote:
>
> A similar technique (multiple flash players on the same page) is used 
> here:
>
> http://www.peterchilvers.com/generative.php
>
> Chilvers's work is very beautiful (not Csound related, though).
> Along with Brian Eno, they created "Bloom" an iPhone application that 
> i consider an important milestone on the subject of "distributing 
> generative music" - you may also wish to check it out.
>
> Panos
>
>
>
>
>
> On Dec 29, 2008, at 7:38 PM, peiman khosravi wrote:
>
>> Thanks Steven,
>>
>> In fact that's would probably suffice for me. I'll try and find some 
>> flash code for embedding soundfiles with randomised start time.
>>
>> Best
>> Peiman
>>
>> On 29 Dec 2008, at 17:09, Steven Yi wrote:
>>
>>> I did something like this using Flash a long while ago using audio
>>> clips and somewhat randomizing the start times (well, I think I had
>>> them repeating with random wait times from a range).  Using audio
>>> files or MP3's, this should be easy to do with Flash.  With the latest
>>> Flash Player's, they have gotten much more efficient than before and
>>> have opened up a lot of possibilities where people are now doing
>>> signal-processing and synthesis using ActionScript 3 code.  I stopped
>>> doing much Flash work a couple years ago and haven't kept up with it,
>>> but I have seen some online music production software done in Flash
>>> that was pretty impressive.
>>>
>>>
>>> On Mon, Dec 29, 2008 at 7:05 AM, peiman khosravi
>>>  wrote:
>>>> Hello,
>>>>
>>>> So here is my question. I've recently started working on a website 
>>>> and now I
>>>> am thinking about adding some audio to it. Is it possible to embed a
>>>> compiled CSD (I don't even know how to compile a csd into a standalone
>>>> program at this stage) into a webpage? I'm thinking a simple 
>>>> generative
>>>> programme that keeps running in the background and sounds less 
>>>> predictable
>>>> than audio loops on a website. If not possible with csound is it 
>>>> possible
>>>> with another tool? I should add that preferably I want the user not 
>>>> to have
>>>> to install any extra applications or plugins (not even csound).
>>>>
>>>> Thanks for you attention
>>>> Best
>>>> Peiman
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>> "unsubscribe csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>> "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
> "unsubscribe csound"
>


Date2008-12-29 20:00
From"Steven Yi"
Subject[Csnd] Re: Re: Re: Re: Re: web embedding of csound applications
AttachmentsNone  

Date2008-12-29 20:06
FromBatuhan Bozkurt
Subject[Csnd] Re: Re: Re: Re: Re: Re: web embedding of csound applications
Steven Yi wrote:
> Just to note:
>
>   
>> There are Java stuff but Java really behaves bad in browsers (seizes you
>> browser until the vm starts and the contents get loaded) and usually results
>> in glitchy audio (which might be good for some music though) in most systems
>> so I've never considered it as an option.
>>     
>
> I don't know about the glitchy audio, but with recent versions of the
> JVM (6.0u10 and up, they are on 6.0u12 now), there was a major change
> in the Java browser plugin to no longer seize the browser.  Apps will
> actually run in their own process now.  So opening a web page with a
> Java applet will now just behave as one would want while the plugin
> goes and loads away in a separate process. There are still some issues
> with the new applets when you drag them from the browser to run in
> their own window, but if you don't use that feature then you shouldn't
> have any problems I think (at least, that's the biggest issue I've
> come across personally).
>
> steven
>   
Oh this is great news. If it integrates and behaves as seamless and 
light as the flash plugin, then this is nice. People would need to 
update though but this is also the case with flash 10. (heck even I 
don't have it in my machine yet, so couldn't run the hobnox applet I 
posted earlier. It was working very well with flash 9 before though)

Thanks!
BB.

--------------
http://www.earslap.com

Date2008-12-31 15:18
From"Chuckk Hubbard"
Subject[Csnd] Re: Re: web embedding of csound applications
AttachmentsNone  

Date2008-12-31 20:14
FromJeremiah Benham
Subject[Csnd] Re: Re: Re: web embedding of csound applications
Unfortunately the Iphone does not yet have flash support out of the box.
I guess you have to do some browser hack with a bookmarked webapp that
converts the flash into something the quicktime player likes. At least
this is what I've seen from youtube videos on the iphone. My iphone does
not have flash and am considering trying out this hack. Maybe in the
future the iphone will have flash 10 as a plugin. 

Jeremiah


On Wed, 2008-12-31 at 17:18 +0200, Chuckk Hubbard wrote:
> Regarding Flash, there are free open-source ways to create Flash apps
> these days, for the adventurous (and/or unmarried):
> http://www.swftools.org/
> http://www.libming.net/
> 
> I believe both have the capability of creating SWF dynamically from PHP, etc.
> And then there're companies like this:
> http://www.webfaction.com/
> who offer affordable hosting where you can run any app/module you want
> in your home directory.  So one could conceivably upload Csound or
> some subset of it, as well as a PHP/Python/whatever module for Ming,
> and do all kinds of things dynamically.  When my plan with my current
> host is about to expire, I'm definitely going to WebFaction, or maybe
> before then, if I find a few dollars in the street.
> 
> -Chuckk
> 
> On Mon, Dec 29, 2008 at 7:09 PM, Steven Yi  wrote:
> > I did something like this using Flash a long while ago using audio
> > clips and somewhat randomizing the start times (well, I think I had
> > them repeating with random wait times from a range).  Using audio
> > files or MP3's, this should be easy to do with Flash.  With the latest
> > Flash Player's, they have gotten much more efficient than before and
> > have opened up a lot of possibilities where people are now doing
> > signal-processing and synthesis using ActionScript 3 code.  I stopped
> > doing much Flash work a couple years ago and haven't kept up with it,
> > but I have seen some online music production software done in Flash
> > that was pretty impressive.
> >
> >
> > On Mon, Dec 29, 2008 at 7:05 AM, peiman khosravi
> >  wrote:
> >> Hello,
> >>
> >> So here is my question. I've recently started working on a website and now I
> >> am thinking about adding some audio to it. Is it possible to embed a
> >> compiled CSD (I don't even know how to compile a csd into a standalone
> >> program at this stage) into a webpage? I'm thinking a simple generative
> >> programme that keeps running in the background and sounds less predictable
> >> than audio loops on a website. If not possible with csound is it possible
> >> with another tool? I should add that preferably I want the user not to have
> >> to install any extra applications or plugins (not even csound).
> >>
> >> Thanks for you attention
> >> Best
> >> Peiman
> >>
> >> Send bugs reports to this list.
> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >> csound"
> >>
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> >
> 
> 
> 


Date2009-01-01 22:44
FromDarren Nelsen
Subject[Csnd] Re: Re: Re: Re: web embedding of csound applications
When HTML 5 comes out, you'll be able to embed audio and video in  
webpages without Flash or Quicktime, with native support from the  
browser. It'll be a few years though before it's supported. The  
specification is still in the works.

--
Darren Nelsen
http://www.curiomusic.com

On Dec 31, 2008, at 3:14 PM, Jeremiah Benham wrote:

> Unfortunately the Iphone does not yet have flash support out of the  
> box.
> I guess you have to do some browser hack with a bookmarked webapp that
> converts the flash into something the quicktime player likes. At least
> this is what I've seen from youtube videos on the iphone. My iphone  
> does
> not have flash and am considering trying out this hack. Maybe in the
> future the iphone will have flash 10 as a plugin.
>
> Jeremiah
>
>
> On Wed, 2008-12-31 at 17:18 +0200, Chuckk Hubbard wrote:
>> Regarding Flash, there are free open-source ways to create Flash apps
>> these days, for the adventurous (and/or unmarried):
>> http://www.swftools.org/
>> http://www.libming.net/
>>
>> I believe both have the capability of creating SWF dynamically from  
>> PHP, etc.
>> And then there're companies like this:
>> http://www.webfaction.com/
>> who offer affordable hosting where you can run any app/module you  
>> want
>> in your home directory.  So one could conceivably upload Csound or
>> some subset of it, as well as a PHP/Python/whatever module for Ming,
>> and do all kinds of things dynamically.  When my plan with my current
>> host is about to expire, I'm definitely going to WebFaction, or maybe
>> before then, if I find a few dollars in the street.
>>
>> -Chuckk
>>
>> On Mon, Dec 29, 2008 at 7:09 PM, Steven Yi   
>> wrote:
>>> I did something like this using Flash a long while ago using audio
>>> clips and somewhat randomizing the start times (well, I think I had
>>> them repeating with random wait times from a range).  Using audio
>>> files or MP3's, this should be easy to do with Flash.  With the  
>>> latest
>>> Flash Player's, they have gotten much more efficient than before and
>>> have opened up a lot of possibilities where people are now doing
>>> signal-processing and synthesis using ActionScript 3 code.  I  
>>> stopped
>>> doing much Flash work a couple years ago and haven't kept up with  
>>> it,
>>> but I have seen some online music production software done in Flash
>>> that was pretty impressive.
>>>
>>>
>>> On Mon, Dec 29, 2008 at 7:05 AM, peiman khosravi
>>>  wrote:
>>>> Hello,
>>>>
>>>> So here is my question. I've recently started working on a  
>>>> website and now I
>>>> am thinking about adding some audio to it. Is it possible to  
>>>> embed a
>>>> compiled CSD (I don't even know how to compile a csd into a  
>>>> standalone
>>>> program at this stage) into a webpage? I'm thinking a simple  
>>>> generative
>>>> programme that keeps running in the background and sounds less  
>>>> predictable
>>>> than audio loops on a website. If not possible with csound is it  
>>>> possible
>>>> with another tool? I should add that preferably I want the user  
>>>> not to have
>>>> to install any extra applications or plugins (not even csound).
>>>>
>>>> Thanks for you attention
>>>> Best
>>>> Peiman
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe csound"
>>>
>>
>>
>>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Date2009-01-02 12:56
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: Re: Re: web embedding of csound applications
AttachmentsNone  

Date2009-01-02 18:04
From"Rory Walsh"
Subject[Csnd] Re: Re: Re: Re: Re: Re: web embedding of csound applications
AttachmentsNone