| Decided to test on Linux, and it seems here too I was building without curl.
Now with curl installed, I still get
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Not using CURL for urls - not found
Should the curl installation be picked up automatically or do I need
to set the path ?
2016-02-10 15:22 GMT+01:00 jpff :
> i may have misremembered; all the url stuff seems to read the entire file to
> strings rather than stream. Maybe this should be investigated further.
>
>
>
> On Wed, 10 Feb 2016, Victor Lazzarini wrote:
>
>> yes, that’s likely the case.
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>>> On 10 Feb 2016, at 12:41, Oeyvind Brandtsegg
>>> wrote:
>>>
>>> That sounds very useful for me,
>>> I did try with mp3in
>>> INIT ERROR in instr 1: mp3in: http://193.90.68.207:8000/stream/1/:
>>> failed to open file
>>> and with diskin
>>> INIT ERROR in instr 1: diskin2: http://193.90.68.207:8000/stream/1/:
>>> failed to open file (No error)
>>>
>>> Perhaps not built with curl then(?)
>>> On what platforms are Csound built with curl?
>>> best
>>> Oeyvind
>>>
>>> 2016-02-10 12:34 GMT+01:00 jpff :
>>>>
>>>> The versions of Csound build with curl can read a URL with diski etc
>>>> ==John
>>>>
>>>>
>>>>
>>>> On Tue, 9 Feb 2016, Oeyvind Brandtsegg wrote:
>>>>
>>>>> Is there any way I can read an audio stream from an url directly in
>>>>> Csound?
>>>>> Like this in Python:
>>>>>
>>>>> import urllib2
>>>>> f=file('python.mp3', 'wb')
>>>>> url=urllib2.urlopen("http://193.90.68.207:8000/stream/1/")
>>>>> while True:
>>>>> f.write(url.read(1024))
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Oeyvind Brandtsegg
>>>>> Professor of Music Technology
>>>>> NTNU
>>>>> 7491 Trondheim
>>>>> Norway
>>>>> Cell: +47 92 203 205
>>>>>
>>>>> http://www.partikkelaudio.com/
>>>>> http://soundcloud.com/brandtsegg
>>>>> http://flyndresang.no/
>>>>> http://soundcloud.com/t-emp
>>>>>
>>>>> Csound mailing list
>>>>> Csound@listserv.heanet.ie
>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>>> Send bugs reports to
>>>>> https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>>
>>>>
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>> https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Oeyvind Brandtsegg
>>> Professor of Music Technology
>>> NTNU
>>> 7491 Trondheim
>>> Norway
>>> Cell: +47 92 203 205
>>>
>>> http://www.partikkelaudio.com/
>>> http://soundcloud.com/brandtsegg
>>> http://flyndresang.no/
>>> http://soundcloud.com/t-emp
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>> https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>> https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
--
Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://flyndresang.no/
http://soundcloud.com/t-emp
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |