[Cs-dev] oggplay opcode
Date | 2007-07-27 10:45 |
From | Simon Schamijer |
Subject | [Cs-dev] oggplay opcode |
Hi, i have written an opcode to playback ogg files using libogg. Nothing too fancy at the moment - it will not resample when the sr of the orc is different then the one of the ogg file nor does it take possible bitstream changes in the ogg stream into account. But it does play ogg files fine on my machines. My question is - is it fine if I put it in Opcodes and add an entry similar to the udp opcodes in SConstruct (note that it adds libogg to be linked against )? Best, Simon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-07-27 11:18 |
From | jpff |
Subject | Re: [Cs-dev] oggplay opcode |
I am not very happy about adding a special opcode to play OGG. This shoudl be done through libsndfile, and adding an extra opcode seems confusing and unnatural. Why not use -i "ogg123 - foo.ogg" ? ==John ff On Fri, 27 Jul 2007, Simon Schamijer wrote: > Hi, > > i have written an opcode to playback ogg files using libogg. Nothing too > fancy at the moment - it will not resample when the sr of the orc is > different then the one of the ogg file nor does it take possible > bitstream changes in the ogg stream into account. But it does play ogg > files fine on my machines. > > My question is - is it fine if I put it in Opcodes and add an entry > similar to the udp opcodes in SConstruct (note that it adds libogg to be > linked against )? > > Best, > Simon > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-07-27 11:43 |
From | Simon Schamijer |
Subject | Re: [Cs-dev] oggplay opcode |
jpff wrote: > I am not very happy about adding a special opcode to play OGG. This > shoudl be done through libsndfile, and adding an extra opcode seems > confusing and unnatural. Has this been done? From the last discussion about ogg vorbis in csound I thought that this is still an open issue? Why not use -i "ogg123 - foo.ogg" ? Is this the correct syntax? And then read in an orchestra with ins opcodes and company? Why I thought of an opcode was that I want to be able to play back several ogg files at the same time using the api/python bindings. I am not happy what I can do with gstreamer and sdl_mixer both are able to play back ogg files from within python but are quite cpu intensive. Best, Simon > ==John ff > > On Fri, 27 Jul 2007, Simon Schamijer wrote: > >> Hi, >> >> i have written an opcode to playback ogg files using libogg. Nothing too >> fancy at the moment - it will not resample when the sr of the orc is >> different then the one of the ogg file nor does it take possible >> bitstream changes in the ogg stream into account. But it does play ogg >> files fine on my machines. >> >> My question is - is it fine if I put it in Opcodes and add an entry >> similar to the udp opcodes in SConstruct (note that it adds libogg to be >> linked against )? >> >> Best, >> Simon >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-07-29 11:19 |
From | jpff |
Subject | Re: [Cs-dev] oggplay opcode |
Sorry -- typo -- syntax is -i "|ogg123 - foo.ogg" We are waiting for a coding expert to implement OGG in libsoundfile, which is said to have some problems ==John ffitch ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |