| Working perfectly now, fixed in GIT. Thanks for the report.
Victor
On 8 Sep 2011, at 14:04, menno wrote:
> Hello Victor,
>
> there is something i notice when i use the TRACKS pv streaming
> opcodes. They
> always ends with:
> *** internal error: mfree() called with invalid pointer (0x17054b0)
> I only get this error using these opcodes. May be on my system only,
> but
> then again, it may not...
>
> Here is an example that gives this error.
> Also i have to say: it sounds good!
>
>
>
> ; Select audio/midi flags here according to platform
> ;-odac ;;;realtime audio out
> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> -o trcross.wav -W ;;; for file output any platform
>
>
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> instr 1
>
> ain1 diskin2 "beats.wav", 1, 0, 1
> ain2 diskin2 "fox.wav", 1
>
> imode = p4
> fs1,fsi2 pvsifd ain1, 2048, 512, 1 ; ifd analysis
> fst partials fs1, fsi2, .01, 1, 3, 500 ; partial tracking
> fs11,fsi12 pvsifd ain2, 2048, 512, 1 ; ifd analysis (second input)
> fst1 partials fs11, fsi12, .01, 1, 3, 500 ; partial tracking \
> (second input
> fcr trcross fst,fst1, 1.05, 1, imode ; cross-synthesis (mode 0 and
> mode 1)
> aout tradsyn fcr, 1, 1, 500, 1 ; resynthesis of tracks
> outs aout*3, aout*3
>
> endin
>
>
> f1 0 8192 10 1
>
> i 1 0 3 0
> i 1 5 3 1
>
> e
>
>
>
> This is the output of csound:
>
> time resolution is 1000.000 ns
> PortAudio real-time audio module for Csound
> virtual_keyboard real time MIDI plugin for Csound
> PortMIDI real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 5.13 beta (double samples) Aug 27 2011
> libsndfile-1.0.21
> UnifiedCSD: /media/ManualUSB/improved examples/niks/trcross.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname: /tmp/csound-cl31se.orc
> scorename: /tmp/csound-Td8Dqv.sco
> graph init
> rtmidi: PortMIDI module enabled
> RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
> rtaudio: PortAudio module enabled ... using blocking interface
> ********************
> * USING NEW PARSER *
> ********************
> END OF INPUT
> Leaving buffer 0x1606a20
> Parsing successful!
> SETTING 0DBFS: 1.000000
> Elapsed time at end of orchestra compile: real: 0.004s, CPU: 0.000s
> sorting score ...
> ... done
> Elapsed time at end of score sort: real: 0.004s, CPU: 0.000s
> Csound version 5.13 beta (double samples) Aug 27 2011
> 0dBFS level = 1.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> writing 1024-byte blks of shorts to /home/menno/csound/Output/
> trcross.wav
> (WAV)
> SECTION 1:
> ftable 1:
> new alloc for instr 1:
> diskin2: opened '/home/menno/csound/Samples/beats.wav':
> 44100 Hz, 1 channel(s), 88200 sample frames
> diskin2: opened '/home/menno/csound/Samples/fox.wav':
> 44100 Hz, 1 channel(s), 121569 sample frames
> B 0.000 .. 5.000 T 5.000 TT 5.000 M: 0.93675 0.93675
> diskin2: opened '/home/menno/csound/Samples/beats.wav':
> 44100 Hz, 1 channel(s), 88200 sample frames
> diskin2: opened '/home/menno/csound/Samples/fox.wav':
> 44100 Hz, 1 channel(s), 121569 sample frames
> B 5.000 .. 8.000 T 8.000 TT 8.000 M: 0.88110 0.88110
> Score finished in csoundPerform().
> *** internal error: mfree() called with invalid pointer (0x17054b0)
> menno@muziek:/usr/bin$
>
> greetings
> Menno
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/TRACKS-pv-streaming-issue-tp4782331p4782331.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market
> businesses
> from deploying virtual desktops? How do next-generation virtual
> desktops
> provide companies an easier-to-deploy, easier-to-manage and more
> affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |