Home
last modified time | relevance | path

Searched refs:voice (Results 1 – 25 of 45) sorted by relevance

12

/netbsd/src/sys/dev/ic/
Dopl.c300 opl_set_op_reg(struct opl_softc *sc, int base, int voice, int op, u_char value) in opl_set_op_reg() argument
302 struct opl_voice *v = &sc->voices[voice]; in opl_set_op_reg()
310 opl_set_ch_reg(struct opl_softc *sc, int base, int voice, u_char value) in opl_set_ch_reg() argument
312 struct opl_voice *v = &sc->voices[voice]; in opl_set_ch_reg()
490 uint_fast16_t voice, midipitch_t mp, int16_t level_cB) in oplsyn_attackv() argument
492 oplsyn_setv(ms, voice, mp, level_cB, in oplsyn_attackv()
497 oplsyn_repitchv(midisyn *ms, uint_fast16_t voice, midipitch_t mp) in oplsyn_repitchv() argument
499 oplsyn_setv(ms, voice, mp, 0, OPLACT_PITCH); in oplsyn_repitchv()
503 oplsyn_relevelv(midisyn *ms, uint_fast16_t voice, int16_t level_cB) in oplsyn_relevelv() argument
505 oplsyn_setv(ms, voice, 0, level_cB, OPLACT_LEVEL); in oplsyn_relevelv()
[all …]
/netbsd/src/sys/dev/isa/
Dcms.c222 int voice = CHAN_TO_VOICE(vidx); in cms_on() local
249 chip, voice, octave, count, OCTAVE_OFFSET(voice), in cms_on()
250 OCTAVE_SHIFT(voice))); in cms_on()
253 CMS_WRITE(sc, chip, CMS_IREG_FREQ0 + voice, count); in cms_on()
256 reg = CMS_READ(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice)); in cms_on()
257 reg &= ~(0x0f<<OCTAVE_SHIFT(voice)); in cms_on()
258 reg |= ((octave&0x7)<<OCTAVE_SHIFT(voice)); in cms_on()
259 CMS_WRITE(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice), reg); in cms_on()
264 CMS_WRITE(sc, chip, CMS_IREG_VOL0 + voice, ((vol<<4)|vol)); in cms_on()
268 reg |= (1<<voice); in cms_on()
[all …]
Dcmsreg.h143 #define OCTAVE_OFFSET(voice) ((voice)>>1) argument
144 #define OCTAVE_SHIFT(voice) (((voice)&1)<<2) argument
Dgus.c1685 int ignore, voice, rval; in gus_voice_intr() local
1719 voice = intr & GUSMASK_WIRQ_VOICEMASK; in gus_voice_intr()
1721 if ((1 << voice) & ignore) in gus_voice_intr()
1724 ignore |= 1 << voice; in gus_voice_intr()
1734 if (voice != GUS_VOICE_LEFT) { in gus_voice_intr()
1737 device_xname(sc->sc_dev), voice)); in gus_voice_intr()
1738 gus_stop_voice(sc, voice, 0); in gus_voice_intr()
1741 gus_stop_voice(sc, voice, 1); in gus_voice_intr()
1776 if (gus_continue_playing(sc, voice)) { in gus_voice_intr()
1915 gus_continue_playing(struct gus_softc *sc, int voice) in gus_continue_playing() argument
[all …]
Dmidi_pcppi.c124 uint_fast16_t voice, midipitch_t mp, int16_t level) in midi_pcppi_on() argument
135 midi_pcppi_off(midisyn *ms, uint_fast16_t voice, uint_fast8_t vel) in midi_pcppi_off() argument
157 midi_pcppi_repitchv(midisyn *ms, uint_fast16_t voice, midipitch_t newpitch) in midi_pcppi_repitchv() argument
161 midi_pcppi_on(ms, voice, newpitch, 64); in midi_pcppi_repitchv()
/netbsd/src/sys/arch/x68k/dev/
Dopm.c178 opm_set_voice(int channel, struct opm_voice *voice) in opm_set_voice() argument
180 memcpy(&opm0->sc_vdata[channel], voice, sizeof(struct opm_voice)); in opm_set_voice()
182 opm_set_voice_sub(0x40 + channel, &voice->m1); in opm_set_voice()
183 opm_set_voice_sub(0x48 + channel, &voice->m2); in opm_set_voice()
184 opm_set_voice_sub(0x50 + channel, &voice->c1); in opm_set_voice()
185 opm_set_voice_sub(0x58 + channel, &voice->c2); in opm_set_voice()
186 writeopm(0x20 + channel, 0xc0 | (voice->fb & 0x7) << 3 | in opm_set_voice()
187 (voice->con & 0x7)); in opm_set_voice()
/netbsd/src/sys/dev/
Dmidisyn.c261 ms->voices = kmem_zalloc(ms->nvoice * sizeof(struct voice), in midisyn_init()
280 midisyn_freevoice(midisyn *ms, int voice) in midisyn_freevoice() argument
287 ms->voices[voice].inuse = 0; in midisyn_freevoice()
327 midisyn_attackv_vel(midisyn *ms, uint_fast16_t voice, midipitch_t mp, in midisyn_attackv_vel() argument
333 ms->voices[voice].velcB = midisyn_vol2cB((uint_fast16_t)vel << 7); in midisyn_attackv_vel()
334 ms->mets->attackv(ms, voice, mp, level_cB + ms->voices[voice].velcB); in midisyn_attackv_vel()
348 int voice = 0; /* initialize to keep gcc quiet */ in midisyn_channelmsg() local
367 voice = midisyn_findvoice(ms, chan, buf[1]); in midisyn_channelmsg()
368 if (voice >= 0) { in midisyn_channelmsg()
369 fs->releasev(ms, voice, buf[2]); in midisyn_channelmsg()
[all …]
Dmidisynvar.h147 struct voice { struct
179 struct voice *voices;
Dsequencer.c1090 dev = b->voice.device; in seq_do_chnvoice()
1092 b->voice.channel > 15 || in seq_do_chnvoice()
1093 b->voice.key >= SEQ_NOTE_MAX) in seq_do_chnvoice()
1096 switch(b->voice.op) { in seq_do_chnvoice()
1098 error = midiseq_noteon(md, b->voice.channel, b->voice.key, b); in seq_do_chnvoice()
1101 error = midiseq_noteoff(md, b->voice.channel, b->voice.key, b); in seq_do_chnvoice()
1105 b->voice.channel, b->voice.key, b); in seq_do_chnvoice()
1109 b->voice.op)); in seq_do_chnvoice()
/netbsd/src/sys/arch/x68k/usr.bin/bellctrl/
Dbellctrl.c29 static struct opm_voice voice; variable
199 memcpy(&voice, &bell_voice, sizeof(bell_voice)); in set_voice_param()
202 if (read(fd, &voice, sizeof(voice)) != sizeof(voice)) in set_voice_param()
212 if (ioctl(fd, BELLIOCSVOICE, &voice)) in set_voice_param()
/netbsd/src/external/bsd/file/dist/magic/magdir/
Dmodem60 # Magic data for vgetty voice formats
71 # portable voice format 1
73 0 string PVF1\n portable voice format
77 # portable voice format 2
79 0 string PVF2\n portable voice format
Diff20 >8 string 8SVX \b, 8SVX 8-bit sampled sound voice
22 >8 string 16SV \b, 16SV 16-bit sampled sound voice
Dzyxel11 0 string ZyXEL\002 ZyXEL voice data
Depoc19 >>8 lelong 0x1000007E voice note
Daudio36 …elong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
74 …elong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
98 0 string Creative\ Voice\ File Creative Labs voice data
537 # (ISDN) VBOX voice message file (Wolfram Kleff)
538 0 string VBOX VBOX voice message data
860 # 3 bytes indicating the voice version (200,220)
875 # you can only select voice modules with corresponding language byte ID like 1
878 # number of voice sample in the 1st phrase?
Dacorn52 >9 byte =1 1 voice,
Dmail.news53 # partly verified by `tnef --list -v -f voice.tnef` and `ytnef -v triples.tnef`
/netbsd/src/usr.sbin/btconfig/
Dbtconfig.c151 static uint32_t voice; variable
200 { "voice", P_HEX, &opt_voice, &voice },
574 val = htole16(voice & 0x03ff); in config_unit()
678 voice = (buf[1] << 8) | buf[0]; in print_info()
1049 printf("\tvoice: [0x%4.4x]\n", voice); in print_voice()
1055 switch ((voice & 0x0300) >> 8) { in print_voice()
1057 (voice & 0x0020 ? 16 : 8), in print_voice()
1058 (voice & 0x001c) >> 2); break; in print_voice()
1064 switch ((voice & 0x00c0) >> 6) { in print_voice()
1072 switch (voice & 0x0003) { in print_voice()
/netbsd/src/usr.sbin/altq/altqd/altq.conf.samples/
Dcbq.widecamp87 class cbq sr0 voice soi borrow priority 3 pbandwidth 16 maxburst 8 red
88 filter sr0 voice 0 40034 0 0 17 # soi i-phone
/netbsd/src/sys/dev/pci/
Desavar.h121 struct esa_voice voice[ESA_NUM_VOICES]; member
Desa.c813 vc = &sc->voice[i]; in esa_intr()
1073 sc->voice[i].parent = sc->sc_dev; in esa_attach()
1074 sc->voice[i].index = i; in esa_attach()
1076 audio_attach_mi(&esa_hw_if, &sc->voice[i], sc->sc_dev); in esa_attach()
1340 vc = &sc->voice[i]; in esa_init()
/netbsd/src/games/quiz/datfiles/
Dtrek15 type of voice that the on-board computer has:female|feminine|woman's
/netbsd/src/sys/sys/
Dmidiio.h526 struct { _VOICE_HDR; } voice; member
632 switch ( e.voice.op ) {
/netbsd/src/sys/dev/usb/
Dmbim.h532 uint32_t voice; member
/netbsd/src/games/fortune/datfiles/
Dlimerick52 Has a voice that will shortly be heard.

12