Csound Csound-dev Csound-tekno Search About

[Csnd] --midioutfile

Date2013-11-23 20:55
From"massimofragala@libero.it"
Subject[Csnd] --midioutfile
Hi all,

I am trying my midi controller and I want to record my performace... Csound 
generates the file test.mid but without any information. I made a test on 
ubuntu 12.04 with csound 5.17 and 6.01

Any suggestions?

Thank you

Massimo



 --midioutfile=test.mid



sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

instr 1

kfreq ctrl7 1, 1, 20, 8000

a1	oscil  0.7, kfreq, 1

printk2 kfreq

outs a1, a1

endin



f1	0	4096	10	1

i1	0	3600




Date2013-11-23 21:59
FromVictor Lazzarini
SubjectRe: [Csnd] --midioutfile
This is because you’re not sending any midi out, only getting midi in. You need to use the
midi output opcodes.

Victor
On 23 Nov 2013, at 20:55, massimofragala@libero.it wrote:

> Hi all,
> 
> I am trying my midi controller and I want to record my performace... Csound 
> generates the file test.mid but without any information. I made a test on 
> ubuntu 12.04 with csound 5.17 and 6.01
> 
> Any suggestions?
> 
> Thank you
> 
> Massimo
> 
> 
> 
> --midioutfile=test.mid
> 
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
> 
> instr 1
> 
> kfreq ctrl7 1, 1, 20, 8000
> 
> a1	oscil  0.7, kfreq, 1
> 
> printk2 kfreq
> 
> outs a1, a1
> 
> endin
> 
> 
> 
> f1	0	4096	10	1
> 
> i1	0	3600
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2013-11-23 22:07
Fromjoachim heintz
SubjectRe: [Csnd] --midioutfile
this may help as well:
http://en.flossmanuals.net/csound/e-midi-output/

	joachim

Am 23.11.2013 22:59, schrieb Victor Lazzarini:
> This is because you’re not sending any midi out, only getting midi in. You need to use the
> midi output opcodes.
>
> Victor
> On 23 Nov 2013, at 20:55, massimofragala@libero.it wrote:
>
>> Hi all,
>>
>> I am trying my midi controller and I want to record my performace... Csound
>> generates the file test.mid but without any information. I made a test on
>> ubuntu 12.04 with csound 5.17 and 6.01
>>
>> Any suggestions?
>>
>> Thank you
>>
>> Massimo
>>
>> 
>> 
>> --midioutfile=test.mid
>> 
>> 
>>
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> 0dbfs = 1
>>
>> instr 1
>>
>> kfreq ctrl7 1, 1, 20, 8000
>>
>> a1	oscil  0.7, kfreq, 1
>>
>> printk2 kfreq
>>
>> outs a1, a1
>>
>> endin
>>
>> 
>> 
>> f1	0	4096	10	1
>>
>> i1	0	3600
>> 
>> 
>>
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>              https://sourceforge.net/p/csound/tickets/
> csound5:
>              https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>