View Single Post
Old 11-10-2012, 04:12 PM   #3
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Okay, got it working on a 3

with "some" visual X output. and "some" flaky audio output.

EDIT: Actually: root@kindle:~# csound -+rtaudio=alsa -d --sched -o dac ./simple.csd

Quote:
GNU nano 2.2.6 File: simple.csd
Spoiler:

<CsoundSynthesizer>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
aosc oscil 30000, 440, 1
out aosc
endin

</CsInstruments>

<CsScore>
f1 0 8192 10 1
i1 0 10
e
</CsScore>

</CsoundSynthesizer>
Quote:
root@kindle:~# csound -+rtaudio=alsa -d --sched -o dac ./simple.csd
Spoiler:
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.17 (double samples) Jun 16 2012
libsndfile-1.0.25
UnifiedCSD: ./simple.csd
STARTING FILE
Creating orchestra
Creating score
rtmidi: PortMIDI module enabled
rtaudio: ALSA module enabled
RAWWAVE_PATH: /usr/share/stk/rawwaves/
Parsing successful!
Elapsed time at end of orchestra compile: real: 0.073s, CPU: 0.070s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.074s, CPU: 0.070s
Csound version 5.17 (double samples) Jun 16 2012
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 256 sample-frame blocks
ALSA output: total buffer size: 1024, period size: 256
writing 256 sample blks of 64-bit floats to dac
SECTION 1:
ftable 1:
new alloc for instr 1:
B 0.000 .. 10.000 T 10.000 TT 10.000 M: 30000.0
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps: 30000.0
overall samples out of range: 0

0 errors in performance
Elapsed time at end of performance: real: 10.690s, CPU: 1.600s
1723 256 sample blks of 64-bit floats written to dac
http://members.home.nl/mag.knevel/cs...#RealTimeLinux
Is solid playback on the 3!! Sweet.


Next up the 5!
Attached Files
File Type: gz RENDER-CSD.tar.gz (607 Bytes, 239 views)
File Type: gz RENDER-WAVS.tar.gz (1.32 MB, 237 views)

Last edited by twobob; 11-13-2012 at 08:22 PM.
twobob is offline   Reply With Quote